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