Skip to content

Commit

Permalink
added some vprint_error calls in the check
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenseeley committed May 13, 2019
1 parent e8fec2a commit 1df703b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,12 @@ def exec_code
def check
cookie = do_login
if cookie.nil?
vprint_error "Authentication was unsuccessful"
return Exploit::CheckCode::Safe
end
csrf_token = leak_csrf(cookie)
if csrf_token.nil?
vprint_error "Unable to leak the CSRF token"
return Exploit::CheckCode::Safe
end
res = send_request_cgi(
Expand Down

0 comments on commit 1df703b

Please sign in to comment.