Skip to content

Instantly share code, notes, and snippets.

@whid-injector
Forked from singe/USaBUSe-install.sh
Created April 30, 2017 08:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whid-injector/19d532f08252f042f15811eaa64b051a to your computer and use it in GitHub Desktop.
Save whid-injector/19d532f08252f042f15811eaa64b051a to your computer and use it in GitHub Desktop.
Setting up a new binary-only USaBUSe install on a new macOS
brew install avrdude wget
pip install pyserial
git clone --recursive https://github.com/sensepost/USaBUSe
cd USaBUSe
wget --content-disposition "http://bbs.espressif.com/download/file.php?id=1046"
unzip ESP8266_NONOS_SDK_V1.5.1_16_01_08.zip
mkdir esp-vnc/firmware
wget https://github.com/sensepost/USaBUSe/releases/download/v1.0/user1.bin
mv user1.bin esp-vnc/firmware/
wget https://github.com/sensepost/USaBUSe/releases/download/v1.0/KeyboardMouseGeneric.hex
mv KeyboardMouseGeneric.hex avr/KeyboardMouseGeneric/
wget https://github.com/sensepost/USaBUSe/releases/download/v1.0/ProgramESP.hex
mv ProgramESP.hex avr/ProgramESP/
esp-vnc/flash_esp esp-vnc/firmware/user1.bin avr/KeyboardMouseGeneric/KeyboardMouseGeneric.hex
#macOS' built in VNC viewer doesn't work, this does
brew install Caskroom/cask/vnc-viewer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment