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