Skip to content

Commit

Permalink
Land #18372, Fix error downloading a file from generic shell
Browse files Browse the repository at this point in the history
  • Loading branch information
sjanusz-r7 authored Oct 5, 2023
2 parents dff907b + 1efb3f7 commit faa3dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/msf/base/sessions/command_shell.rb
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ def vprint_status(s)
end

def _file_transfer
raise NotImplementedError.new('Session does not support file transfers.') if @session_type.ends_with?(':winpty')
raise NotImplementedError.new('Session does not support file transfers.') if session_type.ends_with?(':winpty')

FileTransfer.new(self)
end
Expand Down

0 comments on commit faa3dd6

Please sign in to comment.