Skip to content

Commit 6131e4b

Browse files
committed
Fix download lambda function to take correct param count
This is an emergency fix as a result of something being broken in master. This is also being pushed straight to master because github is down and the PR process isn't possible. This commit was reviewed by @wvu-r7 prior to being pushed.
1 parent 834e0eb commit 6131e4b

File tree

1 file changed

+1
-1
lines changed
  • lib/rex/post/meterpreter/extensions/stdapi/fs

1 file changed

+1
-1
lines changed

lib/rex/post/meterpreter/extensions/stdapi/fs/file.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def File.download_file(dest_file, src_file, opts = nil, &stat)
328328
continue=false
329329
tries=false
330330
tries_no=0
331-
stat ||= lambda { }
331+
stat ||= lambda { |a,b,c| }
332332

333333
if opts
334334
continue = true if opts["continue"]

0 commit comments

Comments
 (0)