This commit is contained in:
Mark Qvist
2026-07-26 14:29:47 +02:00
parent e3f1a5e7cd
commit 64fee86ebc
5 changed files with 30 additions and 44 deletions
+2 -1
View File
@@ -309,7 +309,8 @@ class ListenerSession:
self.terminate("Invalid state")
return
self.cmdline = self.default_command
self.cmdline = []
self.cmdline.extend(self.default_command)
if not self.allow_remote_command and cmdline and len(cmdline) > 0:
self.terminate("Remote command line not allowed by listener")
return