fixup some leftover debug and whitespace issues
parent
efdf7c4c00
commit
6686e91ffe
|
@ -377,7 +377,6 @@ private
|
||||||
|
|
||||||
if stat.directory?
|
if stat.directory?
|
||||||
client.fs.dir.download( dest, source, {"recursive" => true}, true ) { |step, src, dst|
|
client.fs.dir.download( dest, source, {"recursive" => true}, true ) { |step, src, dst|
|
||||||
# client.fs.dir.download( dest, source, true, true ) { |step, src, dst|
|
|
||||||
print_line( "#{step.ljust(11)} : #{src} -> #{dst}" )
|
print_line( "#{step.ljust(11)} : #{src} -> #{dst}" )
|
||||||
client.framework.events.on_session_download( client, src, dest ) if msf_loaded?
|
client.framework.events.on_session_download( client, src, dest ) if msf_loaded?
|
||||||
}
|
}
|
||||||
|
|
|
@ -408,7 +408,6 @@ class Console::CommandDispatcher::Stdapi::Fs
|
||||||
dest_path = src_path.tr(src_separator, ::File::SEPARATOR)
|
dest_path = src_path.tr(src_separator, ::File::SEPARATOR)
|
||||||
|
|
||||||
client.fs.file.download(dest_path, src_path, opts) do |step, src, dst|
|
client.fs.file.download(dest_path, src_path, opts) do |step, src, dst|
|
||||||
puts step
|
|
||||||
print_status("#{step.ljust(11)}: #{src} -> #{dst}")
|
print_status("#{step.ljust(11)}: #{src} -> #{dst}")
|
||||||
client.framework.events.on_session_download(client, src, dest) if msf_loaded?
|
client.framework.events.on_session_download(client, src, dest) if msf_loaded?
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue