Skip to content

Latest commit

 

History

History
 
 

USB

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

USB

关于项目:

  1. 首先你需要有安装wireshark(因为需要用到tshark提取流量内容)。
  2. 当你参数传入的是流量包时候,尽量保证流量包名称没有空格和特殊符号等,避免出现找不到流量包的情况。

Usage

键盘流量:

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

image-20230821214951059


鼠标流量:

1.正常模式

每个轨迹都绘制(共6张)

image-20230821215523497

2.show参数

单独展示某一个轨迹

image-20230821215329132

$ python .\mouse.py -f .\demo\流量\2017陕西网络空间安全技术大赛Misc轨迹.pcap -show 1

image-20230821215305248

3.优点

自动跳过没有轨迹的模式!

image-20230821215639284