Changeset 5436

Show
Ignore:
Timestamp:
03/10/08 11:14:11 (7 months ago)
Author:
egypt
Message:

Reload extensions after migrate

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework3/trunk/lib/rex/post/meterpreter/client_core.rb

    r4127 r5436  
    345345                wrote = client.sock.write(buf) 
    346346 
    347                 # Re-load the STDAPI extension server-side 
    348                 client.core.use('stdapi') 
     347                # Load all the extensions that were loaded in the previous instance 
     348                client.ext.aliases.keys.each { |e|  
     349                        client.core.use(e)  
     350                } 
    349351 
    350352###           ###