mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-19 06:54:19 +01:00
don't split commandline on +
This commit is contained in:
@@ -62,7 +62,7 @@ class shlex:
|
|||||||
# _pushback_chars is a push back queue used by lookahead logic
|
# _pushback_chars is a push back queue used by lookahead logic
|
||||||
self._pushback_chars = deque()
|
self._pushback_chars = deque()
|
||||||
# these chars added because allowed in file names, args, wildcards
|
# these chars added because allowed in file names, args, wildcards
|
||||||
self.wordchars += '{}~-./*?=$:'
|
self.wordchars += '{}~-./*?=$:+'
|
||||||
#remove any punctuation chars from wordchars
|
#remove any punctuation chars from wordchars
|
||||||
self.wordchars = ''.join(c for c in self.wordchars if c not in
|
self.wordchars = ''.join(c for c in self.wordchars if c not in
|
||||||
self.punctuation_chars)
|
self.punctuation_chars)
|
||||||
|
|||||||
Reference in New Issue
Block a user