关于项目:
- 首先你需要有安装wireshark(因为需要用到tshark提取流量内容)。
- 当你参数传入的是流量包时候,尽量保证流量包名称没有空格和特殊符号等,避免出现找不到流量包的情况。
usage: keyboard.py [-h] -f F
optional arguments:
-h, --help show this help message and exit
-f F 输入同级目录下的名称
usage: mouse.py [-h] -f F [-show SHOW]
optional arguments:
-h, --help show this help message and exit
-f F 输入同级目录下的名称
-show SHOW 单独显示某个(1.LEFT/MOVE_LEFT, 2.RIGHT/MOVE_RIGHT, 3.ALL/MOVE_ALL)
$ python .\keyboard.py -f .\demo\流量\uuusb.pcapng
每个轨迹都绘制(共6张)
单独展示某一个轨迹
$ python .\mouse.py -f .\demo\流量\2017陕西网络空间安全技术大赛Misc轨迹.pcap -show 1
自动跳过没有轨迹的模式!