From 1efb3f733f8113a00a6d82b292dcf19febca6cf3 Mon Sep 17 00:00:00 2001 From: Carmix Date: Fri, 15 Sep 2023 11:36:15 +0200 Subject: [PATCH] solves #18371 --- lib/msf/base/sessions/command_shell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/base/sessions/command_shell.rb b/lib/msf/base/sessions/command_shell.rb index a5d094af3d73..bfc76745c225 100644 --- a/lib/msf/base/sessions/command_shell.rb +++ b/lib/msf/base/sessions/command_shell.rb @@ -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