Shad0wChick46 Posted November 24, 2017 Share Posted November 24, 2017 So ive been trying to run ducky script in a bash bunny payload but as soon as it hits the ducky script it stops. LED SETUP GET SWITCH_POSITION ATTACKMODE HID LED ATTACK RUN WIN notepad.exe QUACK DELAY 300 QUACK STRING (\___/) QUACK ENTER QUACK DELAY 300 QUACK STRING (='.'=) QUACK ENTER QUACK DELAY 300 QUACK STRING (")_(") QUACK DELAY 300 I cant figure out the problem Link to comment Share on other sites More sharing options...
D31M0Z Posted November 24, 2017 Share Posted November 24, 2017 #make a payload.txt containing this LED SETUP ATTACKMODE HID STORAGE GET SWITCH_POSITION LED ATTACK if [ -f "/root/udisk/payloads/${SWITCH_POSITION}/ducky_script.txt" ]; then QUACK ${SWITCH_POSITION}/ducky_script.txt LED FINISH else LED FAIL echo "Unable to load ducky_script.txt" >> /root/debuglog.txt exit 1 fi #then make a ducky_script.txt containing this DELAY 2000 GUI r DELAY 1000 STRING notepad.exe DELAY 300 STRING (\___/) ENTER DELAY 300 STRING (='.'=) ENTER DELAY 300 STRING (")_(") DELAY 300 #put them both in the same switch folder and try it out ;) #it's the long way to do it but I like it cause if it fails I get a debug log :) Link to comment Share on other sites More sharing options...
Shad0wChick46 Posted November 24, 2017 Author Share Posted November 24, 2017 It didnt work either. It didnt get to the dbug part either :( Link to comment Share on other sites More sharing options...
D31M0Z Posted November 24, 2017 Share Posted November 24, 2017 I don't see how user error can be at fault here so don't worry on that front. The payload/duck script run flawless on mine. Try factory resetting your bunny and retrying. Link to comment Share on other sites More sharing options...
C1PH3R Posted December 19, 2017 Share Posted December 19, 2017 Try this: QUACK switch2/duck.txt where your duck script is now then put your other duck script in a file called duck.txt If that works and executes your duckyscript, just factory reset your bashbunny, had the same problem with mine not recognizing some duckyscripts. C1PH3R "Don't look at the branch of the problem look at the root (C1PH3R)" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.