DevKitty-io / USB-Nugget

Run DuckyScript payloads on a USB Nugget!
https://usbnugget.com
MIT License
163 stars 19 forks source link

MacOS Default Payload Not Valid #33

Closed skickar closed 2 years ago

skickar commented 2 years ago

The MacOS default payload does not work as intended. The GUI and command key are switched and the timing is big wrong.

The correct script is:

DELAY 1000 GUI SPACE DELAY 1000 STRING terminal DELAY 1000 ENTER DELAY 1000 STRING open 'https://www.youtube.com/watch?v=dQw4w9WgXcQ' ENTER DELAY 1000 GUI TAB DELAY 1000 STRING osascript -e 'set volume 7' && killall Terminal ENTER DELAY 1500 STRING f

AlexLynd commented 2 years ago

Updated the default Mac OS payload in the latest v1.1 release. #53