> For the complete documentation index, see [llms.txt](https://documentation.hak5.org/bash-bunny/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.hak5.org/bash-bunny/troubleshooting/password-reset.md).

# Password Reset

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`
