parent
d60dcf72f9
commit
1d6b782cc8
|
@ -63,7 +63,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
end
|
||||
|
||||
def exploit
|
||||
unless cli_port || vulnerable?
|
||||
if cli_port == 0 && !vulnerable?
|
||||
fail_with(Failure::Unknown, "#{peer} - Jenkins is not vulnerable, aborting...")
|
||||
end
|
||||
invoke_remote_method(set_payload)
|
||||
|
|
Loading…
Reference in New Issue