Update Your USB Nugget with ESPtool
Flash your RubberNugget via the command line
Update First: The USB Nugget is updated frequently. Get the latest version to ensure you have access to new features & bug fixes!
If you're more comfortable in the command line (or just hate using Chrome), you can also update your nugget using ESPtool.

This puts the nugget into flashing mode.
If you have issues with step 5, try holding down the "0" button, tapping the "RST" button, and then releasing the "0" button to enter flashing mode instead.
Run the command below to erase the flash of your Nugget, making sure to replace "SERIAL_PORT" with the port the serial port your Nugget is connected to.
- Windows
Found via Device Manager
- MacOS
ls /dev/cu*
- Linux
ls /dev/tty*
Make sure to replace SERIAL_PORT, with the serial port of your Nugget.
- Windows
esptool --chip esp32s2 -p SERIAL_PORT erase_flash
- Mac
esptool.py --chip esp32s2 -p SERIAL_PORT erase_flash
- Linux
esptool.py --chip esp32s2 -p SERIAL_PORT erase_flash
After erasing is complete, run the following command, making sure to replace SERIAL_PORT with the port your Nugget is on, and UPDATE.BIN with the update file.
- Windows
esptool --chip esp32s2 -p SERIAL_PORT write_flash -z 0x1000 UPDATE.BIN
- Mac
esptool.py --chip esp32s2 -p SERIAL_PORT write_flash -z 0x1000 UPDATE.BIN
- Linux
esptool.py --chip esp32s2 -p SERIAL_PORT write_flash -z 0x1000 UPDATE.BIN
Once flashing is finished, unplug your Nugget to complete the update.
Plug in your USB Nugget and watch it mount as a flash drive. You can open the drive to explore preinstalled payloads and begin to add your own.
You can also connect via the web interface and run payloads from any device! The network name is
RubberNugget
and the password is nugget123
to connect. Once connected, navigate to 192.168.4.1 in a browser.