I don't really need to override fail_with

bug/bundler_fix
wchen-r7 2015-11-06 18:11:08 -06:00
parent 0213da3810
commit 8f2a716306
1 changed files with 1 additions and 4 deletions

View File

@ -74,10 +74,6 @@ class Metasploit4 < Msf::Exploit::Remote
super("#{rhost}:#{rport} - #{msg}") super("#{rhost}:#{rport} - #{msg}")
end end
def fail_with(status, msg)
super(status, "#{rhost}:#{rport} - #{msg}")
end
# Application Check # Application Check
def check def check
res = send_request_cgi( res = send_request_cgi(
@ -193,6 +189,7 @@ class Metasploit4 < Msf::Exploit::Remote
end end
def exploit def exploit
fail_with(Failure::Unknown, 'oh no')
vprint_status('Trying to login...') vprint_status('Trying to login...')
# Application Login # Application Login
res_auth = send_request_cgi( res_auth = send_request_cgi(