Skip to content

Commit

Permalink
Merge pull request #328 from GermanNoob/SEWAIT
Browse files Browse the repository at this point in the history
[EXTENSION] SEWAIT - social engineering wait - a small extension to DarrenKitchen's wait
  • Loading branch information
hak5peaks authored Sep 3, 2024
2 parents 0e51172 + 18e36a8 commit e6c3876
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions payloads/extensions/sewait.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

# Social engineering wait by GermanNoob
#
# This extension can be used if no hidden access to the victim computer is possible and you have to social engineer your way to the target
# This script will mount as a standard drive and wait until the attacker starts the real payload by changing the switch position
#
# This is just a small extension to DarrenKitchen's WAIT

function SEWAIT() {
LED SPECIAL
ATTACKMODE STORAGE
GET SWITCH_POSITION
TEST=$SWITCH_POSITION
LED SPECIAL2
while true
do GET SWITCH_POSITION
if [ $SWITCH_POSITION != $TEST ]; then break; fi
sleep 1
done
}

export -f SEWAIT

0 comments on commit e6c3876

Please sign in to comment.