Changeset 5504

Show
Ignore:
Timestamp:
05/16/08 16:20:43 (3 months ago)
Author:
hdm
Message:

egypt found a bug, regenerate payload was overwriting datastore entries and not setting them back

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework3/trunk/lib/msf/core/exploit/tcp.rb

    r5452 r5504  
    427427                 
    428428                ensure 
    429                         ohost = datastore['RHOST'] 
    430                         oport = datastore['RPORT']             
     429                        datastore['RHOST'] = ohost 
     430                        datastore['RPORT'] = oport             
    431431                end 
    432432