Land #8690, Fix #8636, [] for NilClass in session.fs.file.download_file

bug/bundler_fix
bwatters-r7 2017-07-12 13:43:12 -05:00
commit 99bb091488
No known key found for this signature in database
GPG Key ID: ECC0F0A52E65F268
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ class File < Rex::Post::Meterpreter::Extensions::Stdapi::Fs::IO
end
# Keep transferring until EOF is reached...
block_size = opts['block_size'] || 1024 * 1024
block_size = (opts && opts['block_size']) || 1024 * 1024
begin
if tries
# resume when timeouts encountered