In this tutorial for Cr0w’s Place we examine the BadUSB vulnerability, and we exploit a vulnerable flash drive to work as a HID device, and perform keystroke attacks.
BadUSB is a vulnerability in the microcontroller chip of every USB device, that let us reprogram the original firmware with a patched one, that makes a device type to be presented in the victim as an other type.
Note: If you buy a confirmed device, you might not end up with one with the PS2251-03, as manufacturers seem that many times use different controllers even with same device models.
Original code link
Rubber Ducky payloads
Rubber Ducky skripting language