Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rapid7/metasploit-framework into …
Browse files Browse the repository at this point in the history
…jvazquez-r7-winamp_maki_bof
  • Loading branch information
sinn3r committed Sep 10, 2012
2 parents 83f4b38 + 221eb88 commit b0ce2c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/msf/core/exploit/fileformat.rb
Expand Up @@ -26,8 +26,12 @@ def initialize(info = {})
)
end

def file_format_filename
datastore['FILENAME']
end

def file_create(data)
fname = datastore['FILENAME']
fname = file_format_filename
ltype = "exploit.fileformat.#{self.shortname}"
full_path = store_local(ltype, nil, data, fname)
print_good "#{fname} stored at #{full_path}"
Expand Down

0 comments on commit b0ce2c0

Please sign in to comment.