Skip to content

Instantly share code, notes, and snippets.

@mgeeky
Created January 17, 2020 01:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgeeky/83de65f62186b7363b7bba7171c9818e to your computer and use it in GitHub Desktop.
Save mgeeky/83de65f62186b7363b7bba7171c9818e to your computer and use it in GitHub Desktop.
Dancing browser window with never giving up Rick Astley on a Bash Bunny payload
#!/bin/bash
ATTACKMODE HID VID_0X05AC PID_0X021E
LED R 200
delay=10
Q GUI r
Q DELAY 100
Q STRING cmd /c start https://www.youtube.com/watch?v=dQw4w9WgXcQ
Q DELAY $delay
Q ENTER
Q DELAY $delay
Q GUI UP
Q DELAY $delay
Q GUI RIGHT
Q DELAY $delay
Q GUI RIGHT
Q DELAY $delay
for (( i=1; i<=100; i++ ))
do
Q GUI UP
Q DELAY $delay
Q GUI LEFT
Q DELAY $delay
Q GUI DOWN
Q DELAY $delay
Q GUI DOWN
Q DELAY $delay
Q GUI RIGHT
Q DELAY $delay
Q GUI UP
Q DELAY $delay
Q f
Q DELAY 500
Q f
Q DELAY $delay
done
Q CONTROL W
LED G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment