Skip to content

Instantly share code, notes, and snippets.

@singe
Last active April 30, 2017 08:36
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save singe/a3ff6d1fff31b8de4c901a77f8f13ca8 to your computer and use it in GitHub Desktop.
Save singe/a3ff6d1fff31b8de4c901a77f8f13ca8 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
@singe
Copy link
Author

singe commented Mar 12, 2017

Unfortunately Rogan, that is not correct. You need to do all of those steps. The SDK has the boot boot_v1.5.bin, esp-vnc has the flash_esp & esptool has esptool. Not to mention, you'll probably want vncdotool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment