update
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
连接 `192.168.3.1` 查看 设备的ip地址信息
|
连接 `192.168.3.1` 查看 设备的ip地址信息
|
||||||
|
|
||||||
|
### 家庭内网网卡 192.168.3.3
|
||||||
```sh
|
```sh
|
||||||
# 开放 5555 端口
|
# 开放 5555 端口
|
||||||
|
|
||||||
@@ -17,4 +18,49 @@ adb disconnect 192.168.3.3:5555
|
|||||||
|
|
||||||
# 查看链接状态
|
# 查看链接状态
|
||||||
adb devices
|
adb devices
|
||||||
```
|
|
||||||
|
# 进入shell
|
||||||
|
adb shell
|
||||||
|
|
||||||
|
# 上传文件
|
||||||
|
adb push local_path remote_path
|
||||||
|
|
||||||
|
# 下载文件
|
||||||
|
adb pull remote_path local_path
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 抓包和调试
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# 抓包
|
||||||
|
adb shell tcpdump -i any -s 0 -w /sdcard/dnake.pcap
|
||||||
|
# 下载抓包文件
|
||||||
|
adb pull /sdcard/dnake.pcap .
|
||||||
|
# 使用 Wireshark 打开 dnake.pcap 进行分析
|
||||||
|
```
|
||||||
|
|
||||||
|
## dnake 楼道内网网卡 192.168.9.57
|
||||||
|
|
||||||
|
## danke 楼道内网网关 192.168.9.1
|
||||||
|
|
||||||
|
## dnake 楼道电梯管理地址 192.168.9.4
|
||||||
|
|
||||||
|
dnake程序的端口 5060
|
||||||
|
|
||||||
|
密码一般是 123456
|
||||||
|
|
||||||
|
### 终端跳转到楼道管理
|
||||||
|
```sh
|
||||||
|
# 连接家庭内网网卡
|
||||||
|
adb connect 192.168.3.3:5555
|
||||||
|
|
||||||
|
adb shell
|
||||||
|
|
||||||
|
# 从家庭内网跳转到楼道内网
|
||||||
|
adb connect 192.168.9.57:5555
|
||||||
|
adb shell
|
||||||
|
```
|
||||||
|
|
||||||
|
### 管理的admin界面 8080
|
||||||
|
|
||||||
|
网页访问 http://192.168.9.57:8080
|
||||||
Reference in New Issue
Block a user