VS010 路由器 旁路纪实

开启SSH

1
http://192.168.2.1/api/set/telnet

2025071403223139687.png

2025071403224062439.png

修改WIFI名称和密码

WIFI名称不能有空格,密码不能有特殊符号 解决方案

2025071403243617132.png

2025071403333222456.png

先把名字和密码设置成正常值,断点到图中标记的点,然后控制台执行命令

搜索关键字:2.4G WiFi名称输入有误

1
2
3
4
5
6
getObj("wifi_1_ssid").value='WIFI'
getObj("wifi_2_ssid").value='WIFI'
getObj("wifi_1_key").value='password'
getObj("wifi_2_key").value='password'
console.log(getObj("wifi_1_ssid").value)
console.log(getObj("wifi_1_key").value)

修改密码

密码不能通过改数据实现特俗符号,或者实现难度高

定时重启

需要开启SSH,连接SSH

1
2
3
4
touch /etc/crontabs/root
crontab -e
00 5 * * * sleep 5 && touch /etc/banner && reboot
/etc/init.d/cron enable

2025071403390882068.png

修改 SSH 信息

1
2
3
4
5
6
7
vim /etc/dropbear/authorized_keys
vim /etc/config/dropbear
config dropbear 'dropbear'
option PasswordAuth 'false'
option RootPasswordAuth 'false'
option Port '22'
option enable '1'

信息

万能的 codex 能帮你安装各种插件

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
cat /etc/openwrt_release
DISTRIB_ID='OpenWrt'
DISTRIB_PRODUCT='VS010'
DISTRIB_RELEASE='1.0.1'
DISTRIB_REVISION='unknown'
DISTRIB_CODENAME='chaos_calmer'
DISTRIB_TARGET='ipq/ipq50xx'
DISTRIB_DESCRIPTION='OpenWrt Chaos Calmer 1.0.1'
DISTRIB_TAINTS='no-all busybox override'

cat /etc/openwrt_version
1.0.1

uname -a
Linux VS010 4.4.60 #215 SMP PREEMPT Thu Jun 15 16:06:25 CST 2023 armv7l GNU/Linux

XRSec has the right to modify and interpret this article. If you want to reprint or disseminate this article, you must ensure the integrity of this article, including all contents such as copyright notice. Without the permission of the author, the content of this article shall not be modified or increased or decreased arbitrarily, and it shall not be used for commercial purposes in any way