Skip to content

Commit

Permalink
Give flag correct name
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-r7 committed Jan 22, 2020
1 parent 1088448 commit 6632867
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/msf/core/payload/windows/reverse_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def asm_reverse_http(opts={})
0x04000000 | # INTERNET_NO_CACHE_WRITE
0x00400000 | # INTERNET_FLAG_KEEP_CONNECTION
0x00200000 | # INTERNET_FLAG_NO_AUTO_REDIRECT
0x00080000 | # INTERNET_FLAG_NO_COOKIE
0x00080000 | # INTERNET_FLAG_NO_COOKIES
0x00000200 | # INTERNET_FLAG_NO_UI
0x00800000 | # INTERNET_FLAG_SECURE
0x00002000 | # INTERNET_FLAG_IGNORE_CERT_DATE_INVALID
Expand All @@ -236,7 +236,7 @@ def asm_reverse_http(opts={})
0x04000000 | # INTERNET_NO_CACHE_WRITE
0x00400000 | # INTERNET_FLAG_KEEP_CONNECTION
0x00200000 | # INTERNET_FLAG_NO_AUTO_REDIRECT
0x00080000 | # INTERNET_FLAG_NO_COOKIE
0x00080000 | # INTERNET_FLAG_NO_COOKIES
0x00000200 ) # INTERNET_FLAG_NO_UI
end

Expand Down
4 changes: 2 additions & 2 deletions lib/msf/core/payload/windows/x64/reverse_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def asm_reverse_http(opts={})
0x04000000 | # INTERNET_NO_CACHE_WRITE
0x00800000 | # INTERNET_FLAG_SECURE
0x00200000 | # INTERNET_FLAG_NO_AUTO_REDIRECT
0x00080000 | # INTERNET_FLAG_NO_COOKIE
0x00080000 | # INTERNET_FLAG_NO_COOKIES
0x00001000 | # INTERNET_FLAG_IGNORE_CERT_CN_INVALID
0x00002000 | # INTERNET_FLAG_IGNORE_CERT_DATE_INVALID
0x00000200 ) # INTERNET_FLAG_NO_UI
Expand All @@ -234,7 +234,7 @@ def asm_reverse_http(opts={})
0x80000000 | # INTERNET_FLAG_RELOAD
0x04000000 | # INTERNET_NO_CACHE_WRITE
0x00200000 | # INTERNET_FLAG_NO_AUTO_REDIRECT
0x00080000 | # INTERNET_FLAG_NO_COOKIE
0x00080000 | # INTERNET_FLAG_NO_COOKIES
0x00000200 ) # INTERNET_FLAG_NO_UI
end

Expand Down

0 comments on commit 6632867

Please sign in to comment.