Last active
April 30, 2017 08:36
-
-
Save singe/a3ff6d1fff31b8de4c901a77f8f13ca8 to your computer and use it in GitHub Desktop.
Setting up a new binary-only USaBUSe install on a new macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
In fact, no need to clone recursively either. Other than to get vncdotool, but the latest version available via pip has the necessary changes. Ah, except you need flash_esp in the espvnc repo, I think.
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
No need to download the sdk from Espressif if you are not compiling the firmwares.