From 53b962a4e00f1f605bb9db8bb7f4b9286679ffc9 Mon Sep 17 00:00:00 2001 From: abearxiong Date: Sun, 19 Oct 2025 16:02:59 +0800 Subject: [PATCH] update --- docs/src/pages/mz.mdx | 48 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/docs/src/pages/mz.mdx b/docs/src/pages/mz.mdx index d180197..399ad39 100644 --- a/docs/src/pages/mz.mdx +++ b/docs/src/pages/mz.mdx @@ -4,6 +4,7 @@ 连接 `192.168.3.1` 查看 设备的ip地址信息 +### 家庭内网网卡 192.168.3.3 ```sh # 开放 5555 端口 @@ -17,4 +18,49 @@ adb disconnect 192.168.3.3:5555 # 查看链接状态 adb devices -``` \ No newline at end of file + +# 进入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 \ No newline at end of file