Jump to content

[Payload] Teach Coworkers to Lock their Screens


kaizoku0506

Recommended Posts

Hey guys, I just got my Rubber Ducky in the mail the other day and decided to put it to use around my office teaching my coworkers to lock their screens. I wasn't having any luck with some of the other wallpaper replacement payloads (it looks like setting a background from Paint doesn't work very well in Windows 7 for some reason), so I took a slightly different approach. At least half of this was borrowed from You Got Quacked by Caleb Hutchinson. Thanks for the solid foundation!

Have fun everyone!

DELAY 2000

REM I was having trouble with some payloads, so I wrote a new one based on You Got Quacked by Caleb Hutchinson.
REM This one uses Shift F10 to set an image as the wallpaper.
REM You can replace the image with anything you want.
REM This one is intended for coworkers who don't lock their desktops!
REM Just a note, if the image isn't roughly 16 x 9, you'll lose any test at the top and bottom.
REM Opens up window and navigates to an image on memegenerator
GUI d
WINDOWS r
DELAY 200
ENTER
DELAY 300
REM saving the picture : pic name LockYourScreen...
CTRL S
DELAY 300
STRING %userprofile%\LockYourScreen
ENTER
REM Navigates to the User Profile base directory
DELAY 300
GUI d
WINDOWS r
DELAY 200
STRING %userprofile%\
ENTER
REM Selects the LockYourScreen jpg file and sets it as the wallpaper
DELAY 300
STRING LockYourScreen
MENU
DELAY 300
DOWNARROW
DOWNARROW
ENTER
GUI d
REM Locks Screen
WINDOWS L
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...