Changeset 5557
- Timestamp:
- 07/18/08 23:52:12 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework3/trunk/modules/payloads/stages/windows/meterpreter.rb
r5427 r5557 59 59 "Automatically load the Stdapi extension", 60 60 true 61 ]) 61 ]), 62 OptString.new('AutoRunScript', [false, "Script to autorun on meterpreter session creation", '']) 62 63 ], Meterpreter) 63 64 … … 86 87 end 87 88 end 89 if (datastore['AutoRunScript'].empty? == false) 90 session.execute_script(datastore['AutoRunScript'], binding) 91 end 88 92 end 89 93
