From 7563c0a8f4dc309f2c3ac5aa332b325feb956c0b Mon Sep 17 00:00:00 2001 From: Roman Karwacik <108284286+rtpt-romankarwacik@users.noreply.github.com> Date: Tue, 26 Nov 2024 12:48:39 +0100 Subject: [PATCH] Fix lbat and lcat (#116) --- smbclientng/core/InteractiveShell.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smbclientng/core/InteractiveShell.py b/smbclientng/core/InteractiveShell.py index 828d7ec..bda5712 100644 --- a/smbclientng/core/InteractiveShell.py +++ b/smbclientng/core/InteractiveShell.py @@ -495,7 +495,7 @@ def command_lbat(self, arguments, command): # SMB share needed : No # Parse wildcards - files_and_directories = resolve_remote_files(self.sessionsManager.current_session, arguments) + files_and_directories = resolve_local_files(arguments) for path_to_file in files_and_directories: # Read the file @@ -533,7 +533,7 @@ def command_lcat(self, arguments, command): # SMB share needed : No # Parse wildcards - files_and_directories = resolve_remote_files(self.sessionsManager.current_session, arguments) + files_and_directories = resolve_local_files(arguments) for path_to_file in files_and_directories: # Read the file