I don't really need to override fail_with
parent
0213da3810
commit
8f2a716306
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue