diff --git a/lib/msf/core/exploit/http.rb b/lib/msf/core/exploit/http.rb index dd18deb58f..6c90765f0c 100644 --- a/lib/msf/core/exploit/http.rb +++ b/lib/msf/core/exploit/http.rb @@ -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