use a static filename
parent
cb975ce0a2
commit
199fbaf33d
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue