Skip to content

Commit df97c66

Browse files
committed
Fixed check
1 parent 8d4d40b commit df97c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/http/wikka_spam_exec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def get_cookie
9090

9191
# Get the cookie in this format:
9292
# 96522b217a86eca82f6d72ef88c4c7f4=pr5sfcofh5848vnc2sm912ean2; path=/wikka
93-
if res and res.get_cookies
93+
if res and !res.get_cookies.empty?
9494
cookie = res.get_cookies
9595
else
9696
fail_with(Failure::Unknown, "#{peer} - No cookie found, will not continue")

0 commit comments

Comments
 (0)