Merge branch 'master' of github.com:rapid7/metasploit-framework into jvazquez-r7-winamp_maki_bof

unstable
sinn3r 2012-09-10 16:24:27 -05:00
commit b0ce2c0003
1 changed files with 5 additions and 1 deletions

View File

@ -26,8 +26,12 @@ module Exploit::FILEFORMAT
) )
end end
def file_format_filename
datastore['FILENAME']
end
def file_create(data) def file_create(data)
fname = datastore['FILENAME'] fname = file_format_filename
ltype = "exploit.fileformat.#{self.shortname}" ltype = "exploit.fileformat.#{self.shortname}"
full_path = store_local(ltype, nil, data, fname) full_path = store_local(ltype, nil, data, fname)
print_good "#{fname} stored at #{full_path}" print_good "#{fname} stored at #{full_path}"