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