# UsbKeyboardDataHacker **Repository Path**: bdtl/UsbKeyboardDataHacker ## Basic Information - **Project Name**: UsbKeyboardDataHacker - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-29 - **Last Updated**: 2024-11-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Introduction A forensic script that can help you to extract USB keyboard pcap files. ## Installation ```bash python -m pip install poetry git clone https://github.com/WangYihang/UsbKeyboardDataHacker.git cd UsbKeyboardDataHacker poetry install ``` ## Example ```bash $ poetry run python UsbKeyboardDataHacker.py --input tests/example.pcap 2024-10-15 21:47:39 ubuntu __main__[63413] INFO time=2017-03-23 09:07:16.777061, key='f' 2024-10-15 21:47:39 ubuntu __main__[63413] INFO time=2017-03-23 09:07:16.914192, key='' 2024-10-15 21:47:39 ubuntu __main__[63413] INFO time=2017-03-23 09:07:17.076812, key='l' 2024-10-15 21:47:39 ubuntu __main__[63413] INFO time=2017-03-23 09:07:17.176842, key='' ... 2024-10-15 21:47:39 ubuntu __main__[63413] INFO time=2017-03-23 09:07:36.514108, key='' 2024-10-15 21:47:39 ubuntu __main__[63413] INFO time=2017-03-23 09:07:40.230170, key='', modifiers=left_ctrl 2024-10-15 21:47:39 ubuntu __main__[63413] INFO time=2017-03-23 09:07:40.330012, key='c', modifiers=left_ctrl flag{pr355_0nwards_a2fee6e0}c ``` ### Additional Video * https://www.youtube.com/watch?v=unBwmcpXbhE ### References + https://www.usb.org/sites/default/files/documents/hid1_11.pdf + https://www.usb.org/sites/default/files/documents/hut1_12v2.pdf ## Acknowledgment * [@ChristopherKai](https://github.com/ChristopherKai) * [@seadog007](https://github.com/seadog007) * [@hurricane618](https://github.com/hurricane618) * [@BlueSky01st](https://github.com/BlueSky01st)