use a static filename

unstable
jvazquez-r7 2012-09-10 23:08:21 +02:00
parent cb975ce0a2
commit 199fbaf33d
1 changed files with 4 additions and 6 deletions

View File

@ -67,12 +67,10 @@ class Metasploit3 < Msf::Exploit::Remote
'Privileged' => false, 'Privileged' => false,
'DisclosureDate' => 'May 20 2009', 'DisclosureDate' => 'May 20 2009',
'DefaultTarget' => 0)) 'DefaultTarget' => 0))
end
register_options( def file_format_filename
[ 'mcvcore.maki'
OptString.new('FILENAME', [ false, 'The file name (do not change!)', 'mcvcore.maki']),
], self.class)
end end
def exploit def exploit
@ -100,7 +98,7 @@ class Metasploit3 < Msf::Exploit::Remote
maki << types maki << types
maki << functions maki << functions
print_status("Creating '#{datastore['FILENAME']}' file ...") print_status("Creating '#{file_format_filename}' file ...")
file_create(maki) file_create(maki)