From 9d0fcd92be7bbe7cf09e1303d3a4113a8e607d86 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Tue, 14 Jun 2016 14:47:51 +0000 Subject: [PATCH] add ^ to wordchars --- cowrie/core/shlex.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cowrie/core/shlex.py b/cowrie/core/shlex.py index 67b295e..56d8dc6 100644 --- a/cowrie/core/shlex.py +++ b/cowrie/core/shlex.py @@ -62,7 +62,7 @@ class shlex: # _pushback_chars is a push back queue used by lookahead logic self._pushback_chars = deque() # these chars added because allowed in file names, args, wildcards - self.wordchars += '{}~-./*?=$:+' + self.wordchars += '{}~-./*?=$:+^' #remove any punctuation chars from wordchars self.wordchars = ''.join(c for c in self.wordchars if c not in self.punctuation_chars)