Correct type and name for store_loot

unstable
sinn3r 2012-02-19 20:20:44 -06:00
parent f92ddb2475
commit 6037a2fc7a
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class Metasploit3 < Msf::Auxiliary
if res.to_s =~ datastore['PATTERN']
# We assume the string followed by the last '/' is our file name
fname = f.split("/")[-1].chop
loot = store_loot(fname,"text/plain",rhost, res.body,"LFIDOWNLOADER")
loot = store_loot("lfi.data","text/plain",rhost, res.body,fname)
print_good("File #{fname} downloaded to: #{loot}")
counter += 1
end