wiki-rubber-ducky-usb/Payload-:-Log-Off-Prank-(Wi...

44 lines
596 B
Markdown
Raw Permalink Normal View History

`REM Script by Darren Rainey http://github.com/DarrenRainey`
`DELAY 500`
`GUI`
`DELAY 150`
`TAB`
`DELAY 150`
`TAB`
`DELAY 150`
2017-03-22 10:06:01 +01:00
`ENTER`
 
 
 
...Or you could just do
```
REM Leave a little reminder to lock your PC (just delete or comment this out if you don't want that)
GUI r
DELAY 300
STRING notepad
DELAY 300
ENTER
DELAY 300
STRING You forgot to lock your PC.
DELAY 3000
REM Lock the PC
GUI l
```
2017-09-01 15:48:02 +02:00
I've only tested this on Windows 10, but I believe it works on Windows 7 and higher (*maybe* even Vista).
2017-09-01 15:50:43 +02:00
\- Sam van der Kris ([GitLab](https://gitlab.com/warkitteh))