Skip to content

Commit 465f3fd

Browse files
committed
Land rapid7#9475, Fix import for Fix proxy authentication in reverse_http
2 parents 8be2b1f + 9ea64db commit 465f3fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/payload/windows/reverse_http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def asm_reverse_http(opts={})
330330
; LPVOID lpBuffer (password from previous call)
331331
push 44 ; DWORD dwOption (INTERNET_OPTION_PROXY_PASSWORD)
332332
push esi ; hConnection
333-
push #{Rex::Text.block_api_hash('wininet.dll', 'HttpAddRequestHeaders')}
333+
push #{Rex::Text.block_api_hash('wininet.dll', 'InternetSetOptionA')}
334334
call ebp
335335
^
336336
end

0 commit comments

Comments
 (0)