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 8d4d40b commit df97c66Copy full SHA for df97c66
modules/exploits/multi/http/wikka_spam_exec.rb
@@ -90,7 +90,7 @@ def get_cookie
90
91
# Get the cookie in this format:
92
# 96522b217a86eca82f6d72ef88c4c7f4=pr5sfcofh5848vnc2sm912ean2; path=/wikka
93
- if res and res.get_cookies
+ if res and !res.get_cookies.empty?
94
cookie = res.get_cookies
95
else
96
fail_with(Failure::Unknown, "#{peer} - No cookie found, will not continue")
0 commit comments