文件名称:手机抓包步骤(1)
介绍说明--下载内容均来自于网络,请自行研究使用
在windows的模拟命令行中执行:
Cd d:\soft\tools //进入windows系统某个目录
adb shell //调用安卓的adb接口进入手机系统
su //切换root用户
在手机上按“同意”之后再执行:
Cd /data/local //进入Tcpdump目录
./tcpdump –p –vv –s 0 –w /sdcard/test.pcap //开始抓包命令,test只是抓包后的文件名,可自己更改
在手机上访问需测试的网址,访问之后,用Ctrl+C停止抓包,然后在手机上将USB管理设为读取模式,在手机上将刚才抓到的包拷贝到PC上,用wireshark软件打开该包文件,即可观察其URL情况(Execute on the windows simulation command line:
Cd d:\soft\tools / / Windows system into a directory
ADB shell / / ADB interface to call the entry of Android mobile phone system
Su / root user switch
Press "agree" on mobile phone before executing:
Cd /data/local / / Tcpdump directory entry
./tcpdump - P - VV - S 0 - w /sdcard/test.pcap / / test begin to capture command, just after capture the file name can be changed
Visit the test site, in the mobile phone access, using Ctrl+C to capture, and then in the USB management for mobile phone, read mode, copy to the PC in the mobile phone, just caught the package, using Wireshark software to open the Bao Wenjian, can observe the situation of URL)
Cd d:\soft\tools //进入windows系统某个目录
adb shell //调用安卓的adb接口进入手机系统
su //切换root用户
在手机上按“同意”之后再执行:
Cd /data/local //进入Tcpdump目录
./tcpdump –p –vv –s 0 –w /sdcard/test.pcap //开始抓包命令,test只是抓包后的文件名,可自己更改
在手机上访问需测试的网址,访问之后,用Ctrl+C停止抓包,然后在手机上将USB管理设为读取模式,在手机上将刚才抓到的包拷贝到PC上,用wireshark软件打开该包文件,即可观察其URL情况(Execute on the windows simulation command line:
Cd d:\soft\tools / / Windows system into a directory
ADB shell / / ADB interface to call the entry of Android mobile phone system
Su / root user switch
Press "agree" on mobile phone before executing:
Cd /data/local / / Tcpdump directory entry
./tcpdump - P - VV - S 0 - w /sdcard/test.pcap / / test begin to capture command, just after capture the file name can be changed
Visit the test site, in the mobile phone access, using Ctrl+C to capture, and then in the USB management for mobile phone, read mode, copy to the PC in the mobile phone, just caught the package, using Wireshark software to open the Bao Wenjian, can observe the situation of URL)
相关搜索: 手机抓包
(系统自动生成,下载前可以参看下载内容)
下载文件列表
手机抓包步骤(1).doc