kaizoku0506 Posted January 25, 2013 Share Posted January 25, 2013 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 STRING http://cdn.memegenerator.net/instances/400x/24725891.jpg? 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 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.