UsbKeyboardDataHacker
2022-11-28 18:49:0 Author: github.com(查看原文) 阅读量:25 收藏

Usage

Usage : 
        python UsbKeyboardHacker.py data.pcap
Tips : 
        To use this python script , you must install the tshark first.
        You can use `sudo apt-get install tshark` to install it
Author : 
        WangYihang <[email protected]>
        If you have any questions , please contact me by email.
        Thank you for using.

Example

Step1: Get data

[email protected]:~/UsbKeyboardDataHacker$ tshark -r ./example.pcap -T fields -e usb.capdata
00:00:09:00:00:00:00:00
00:00:00:00:00:00:00:00
00:00:0f:00:00:00:00:00
00:00:00:00:00:00:00:00
00:00:04:00:00:00:00:00
00:00:00:00:00:00:00:00
00:00:0a:00:00:00:00:00
00:00:00:00:00:00:00:00
20:00:00:00:00:00:00:00
20:00:2f:00:00:00:00:00
...

Step2: decode

[email protected]:~/UsbKeyboardDataHacker$ python UsbKeyboardDataHacker.py ./example.pcap 
[-] Unknow Key : 01
[-] Unknow Key : 01
[+] Found : flag{pr355_0nwards_a2fee6e0}

Additional Video

Acknowledgment


文章来源: https://github.com/y35uishere/UsbKeyboardDataHacker
如有侵权请联系:admin#unsafe.sh