We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32f7754 commit d625ab5Copy full SHA for d625ab5
modules/exploits/multi/http/wingftp_null_byte_rce.rb
@@ -89,7 +89,7 @@ def check
89
)
90
return CheckCode::Unknown('No response') unless res
91
92
- uid = res.get_cookies.to_s[/UID=[^;]+/]
+ uid = res.get_cookies_parsed.fetch('UID', nil)
93
return CheckCode::Appears("UID cookie received: #{uid}") if uid
94
95
CheckCode::Safe('UID cookie not found; not vulnerable')
0 commit comments