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 6fe7698 commit 15a3d73Copy full SHA for 15a3d73
modules/exploits/linux/http/tiki_calendar_exec.rb
@@ -85,7 +85,7 @@ def authenticate
85
# double check auth worked and we got a Log out on the page.
86
# at times I got it to auth, but then it would give permission errors
87
# so we want to try to double check everything is good
88
- unless res.body =~ /Log out/
+ if res && !res.body =~ /Log out/
89
fail_with(Failure::UnexpectedReply, "#{peer} Login Failed with #{datastore['USERNAME']}:#{datastore['PASSWORD']}")
90
end
91
vprint_good("Login Successful!")
0 commit comments