Add method peer for jenkins_java_deserialize.rb
parent
b78f7b4d55
commit
ab3fe64b6e
|
@ -54,6 +54,10 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
], self.class)
|
||||
end
|
||||
|
||||
def peer
|
||||
"#{rhost}:#{rport}"
|
||||
end
|
||||
|
||||
def exploit
|
||||
unless vulnerable?
|
||||
fail_with(Failure::Unknown, "#{peer} - Jenkins is not vulnerable, aborting...")
|
||||
|
|
Loading…
Reference in New Issue