diff --git a/modules/exploits/windows/fileformat/winamp_maki_bof.rb b/modules/exploits/windows/fileformat/winamp_maki_bof.rb index 930716677e..e62e764c9d 100644 --- a/modules/exploits/windows/fileformat/winamp_maki_bof.rb +++ b/modules/exploits/windows/fileformat/winamp_maki_bof.rb @@ -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)