Skip to content

Commit 655cfdd

Browse files
committed
Land rapid7#4321, @wchen-r7's fixes rapid7#4246 ms01_026_dbldecode undef method
2 parents c1b0385 + e3f7398 commit 655cfdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/exploits/windows/iis/ms01_026_dbldecode.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,12 @@ def exploit
196196

197197
# Save these file names for later deletion
198198
@exe_cmd_copy = exe_fname
199-
@exe_payload = payload_exe
199+
@exe_payload = stager_instance.payload_exe
200200

201201
# Just for good measure, we'll make a quick, direct request for the payload
202202
# Using the "start" method doesn't seem to make iis very happy :(
203203
print_status("Triggering the payload via a direct request...")
204-
mini_http_request({ 'uri' => '/scripts/' + payload_exe, 'method' => 'GET' }, 1)
204+
mini_http_request({ 'uri' => '/scripts/' + stager_instance.payload_exe, 'method' => 'GET' }, 1)
205205

206206
handler
207207

0 commit comments

Comments
 (0)