switch AutoRunScript for InitialAutoRunScript, oops

git-svn-id: file:///home/svn/framework3/trunk@11513 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Joshua Drake 2011-01-08 00:25:44 +00:00
parent b2ed512f44
commit 19e8a6a5b1
5 changed files with 5 additions and 5 deletions

View File

@ -57,7 +57,7 @@ class Metasploit3 < Msf::Exploit::Remote
'DefaultOptions' =>
{
'EXITFUNC' => 'thread',
'AutoRunScript' => 'migrate -f',
'InitialAutoRunScript' => 'migrate -f',
},
'Payload' =>
{

View File

@ -51,7 +51,7 @@ class Metasploit3 < Msf::Exploit::Remote
'DefaultOptions' =>
{
'EXITFUNC' => 'process',
'AutoRunScript' => 'migrate -f',
'InitialAutoRunScript' => 'migrate -f',
},
'Payload' =>
{

View File

@ -65,7 +65,7 @@ class Metasploit3 < Msf::Exploit::Remote
'DefaultOptions' =>
{
'EXITFUNC' => 'thread',
'AutoRunScript' => 'migrate -f',
'InitialAutoRunScript' => 'migrate -f',
},
'Payload' =>
{

View File

@ -49,7 +49,7 @@ class Metasploit3 < Msf::Exploit::Remote
'DefaultOptions' =>
{
'EXITFUNC' => 'seh',
'AutoRunScript' => 'migrate -f'
'InitialAutoRunScript' => 'migrate -f'
},
'Payload' =>
{

View File

@ -212,7 +212,7 @@ class Metasploit3 < Msf::Exploit::Remote
client.fs.file.rm(@exe_cmd_copy)
# Migrate so that we can delete the payload exe
client.console.run_single("run migrate -f notepad.exe")
client.console.run_single("run migrate -f")
# Delete the payload exe
return if not @exe_payload