Correct a typo
parent
881ec8d920
commit
efcb206cdf
|
@ -192,7 +192,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
p = file.sub(path+'/','')
|
p = file.sub(path+'/','')
|
||||||
|
|
||||||
if File.directory?(file)
|
if File.directory?(file)
|
||||||
print_status("Packging directory: #{file}")
|
print_status("Packaging directory: #{file}")
|
||||||
zip.add_file(p)
|
zip.add_file(p)
|
||||||
else
|
else
|
||||||
on_file_read(p, file) do |fname, buf|
|
on_file_read(p, file) do |fname, buf|
|
||||||
|
|
Loading…
Reference in New Issue