Merge branch 'master' of github.com:rapid7/metasploit-framework into jvazquez-r7-winamp_maki_bof
commit
b0ce2c0003
|
@ -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}"
|
||||||
|
|
Loading…
Reference in New Issue