mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
comment
git-svn-id: file:///home/svn/incoming/trunk@2893 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
d6d3e774d7
commit
6f33b93f37
@ -218,6 +218,10 @@ protected
|
||||
"/" + Rex::Text.rand_text_alphanumeric(rand(118) + 10)
|
||||
end
|
||||
|
||||
#
|
||||
# Re-generates the payload, substituting the current RHOST and RPORT with
|
||||
# the supplied client host and port.
|
||||
#
|
||||
def regenerate_payload(cli)
|
||||
# Update the datastore with the supplied client peerhost/peerport
|
||||
datastore['RHOST'] = cli.peerhost
|
||||
|
Loading…
Reference in New Issue
Block a user