If you’ve lost your password and have access to the BashBunny storage in arming mode, set the password to hak5bunny with this payload:

  #!/bin/bash
LED SETUP
ATTACKMODE SERIAL
echo -e "hak5bunny\nhak5bunny" | passwd
LED FINISH
  
  1. Save the above as payload.txt in the /payloads/switch1/ directory.
  2. Safely eject the BashBunny drive.
  3. Flip the switch to position 1
  4. Plug in the Bash Bunny and wait for the green blinking FINISH pattern.
  5. Login via Serial with the root password hak5bunny