Jump to content

What am I doing wrong?


Dimon

Recommended Posts

Posted

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?

Posted

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.

Posted

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

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...