Two more java payloads that wanted to write RHOST

There are three total, and they're all copy-pasted from the original
module from 2009. I suspect this idiom isn't used at all any more -- I
can't detect a difference in the payload if I just declare a host being
cli.peerhost, rather than rewriting RHOST to be cli.peerhost.

[SeeRM #8498]
This commit is contained in:
Tod Beardsley 2014-04-14 22:22:30 -05:00
parent 775b0de3c0
commit 0b2737da7c
No known key found for this signature in database
GPG Key ID: 1EFFB682ADB9F193
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ class Metasploit3 < Msf::Exploit::Remote
print_status("Payload will be a Java reverse shell")
else
port = datastore['LPORT']
datastore['RHOST'] = cli.peerhost
host = cli.peerhost
print_status("Payload will be a Java bind shell")
end
if jar

View File

@ -122,7 +122,7 @@ class Metasploit3 < Msf::Exploit::Remote
vprint_status("Sending java reverse shell")
else
port = datastore['LPORT']
datastore['RHOST'] = cli.peerhost
host = cli.peerhost
vprint_status( "Java bind shell" )
end
if jar