Dimon Posted September 29, 2023 Share Posted September 29, 2023 So I just got my rubber ducky today and tried to use it with a testing script i wrote myself. The script: DELAY 3000 INJECT_MOD WINDOWS r DELAY 1000 STRING cmd DELAY 1000 INJECT_MOD ENTER DELAY 1000 STRING ipconfig I used enough delays but everything that happens is that it opens the Windows+r window and types cmd. Then for some reason office 365 opens and thats it. Where is the mistake? Quote Link to comment Share on other sites More sharing options...
Solution dark_pyrro Posted September 29, 2023 Solution Share Posted September 29, 2023 Not sure why you are using INJECT_MOD Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted September 29, 2023 Share Posted September 29, 2023 You also say you received your Ducky today, but you're posting in the forum section for the classic Ducky (1st generation), so a bit confusing about what Ducky variant you actually have. Quote Link to comment Share on other sites More sharing options...
Dimon Posted September 30, 2023 Author Share Posted September 30, 2023 I have the new generation but I saw someone that had the same problem as me. Another person commented under his post linking this specific forum and I didn’t think too much about it. Also I used Inject_mod because I’ve read somewhere that would achieve the rubber ducky simulating Enter. Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted September 30, 2023 Share Posted September 30, 2023 I would suggest reading the official documentation instead so that you get the correct information about how things work https://docs.hak5.org/hak5-usb-rubber-ducky/ducky-script-basics/keystroke-injection#standalone-modifier-keys https://docs.hak5.org/hak5-usb-rubber-ducky/duckyscript-tm-quick-reference#holding-keys https://docs.hak5.org/hak5-usb-rubber-ducky/advanced-features/holding-keys#holding-modifier-keys Try this DELAY 3000 REM or use EXTENSION DETECT_READY GUI r DELAY 1000 STRINGLN cmd DELAY 3000 STRINGLN ipconfig Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.