-
Notifications
You must be signed in to change notification settings - Fork 244
Home
It stands for WiFi HID Injector. It is a WiFi remotely-controlled {Keyboard, Mouse} Emulator. Practically is an USB Rubberducky or BadUSB device on Steroids!
-
Arduino IDE
-
esptool from https://github.com/whid-injector/esptool Checkout https://learn.adafruit.com/building-and-running-micropython-on-the-esp8266/flash-firmware on how to install it!
First of all you need to install the ESP8266 Libraries.
- Go on File > Preferences > Additional Board Manager URLs
- Paste there http://arduino.esp8266.com/stable/package_esp8266com_index.json and press OK
- Go Tools > Board: > Board Manager
- Type ESP8266 and Install the 2.3.0 version.
[VIDEO] https://youtu.be/MRGUSPW-Cr0
[VIDEO] https://youtu.be/3FOLTxtehf0
git clone https://github.com/whid-injector/esptool
cd esptool/
sudo pip install pyserial
sudo python ./setup.py install
python esptool.py --port=/dev/cu.usbmodem1411 -b 115200 write_flash 0x00000 ../WHID/sketches/cactus_micro_rev2/ESP_Sketch/compiled.bin
https://github.com/sensepost/USaBUSe
coming soon...
https://github.com/spacehuhn/wifi_ducky
[IMPORTANT]: If you wanna move From WHID software to WifiDucky (and viceversa), you HAVE to erase the ESP's Flash: python esptool.py -p WHID-PORT erase_flash
For the Wifi Ducky you also need to install the following Libraries
- ESPAsyncWebServer - https://github.com/me-no-dev/ESPAsyncTCP/archive/master.zip
- ESPAsyncTCP - https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip
How to install Libraries in Arduino: https://www.baldengineer.com/installing-arduino-library-from-github.html
[VIDEO] How to configure Wifi Ducky (WINDOWS) https://youtu.be/PGa_ByyQw8Q
coming soon...
Incorporating all of the USB tasks on a single chip is an awesome feature that makes the WHID and boards like it truly unique. But it also places more stress on a single chip, and if anything goes wrong with that chip, the board becomes nearly unusable. It’s not uncommon for WHID’s to become “bricked” and unprogrammable. But, in most cases, the bricking is reversible!
The most common source of WHID “bricking” is uploading code to it with an incorrectly set board.
To revive the WHID, you’ll need to find a way to upload a sketch to it with the board option correctly set. We can do this with a little help from the bootloader.
First, you’ll need to set the serial port to the bootloader. But that port is only visible when the board is in bootloader mode, so pull the reset line low twice quickly to invoke the bootloader reset feature discussed above. You can quickly press the reset button** twice. While the Cactus Micro is in the bootloader change the ‘Tools > Serial Port’ menu to the bootloader COM port. Quick! You’ve only got eight seconds. On Windows, the bootloader’s COM port number is usually one number higher than the Cactus Micro’s regular port number.
**The PCB has two pins for reset. Check the board and you will see. Those are the reset button.