From 1b8549fb30a5e6bdb603fa71088a6ad9949eb37b Mon Sep 17 00:00:00 2001 From: r3dp0int Date: Sat, 10 Feb 2024 17:40:26 +1100 Subject: [PATCH] remove ":" from arg_name regex check in command.py --- arsenal/modules/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arsenal/modules/command.py b/arsenal/modules/command.py index 51f949b..b60aad7 100644 --- a/arsenal/modules/command.py +++ b/arsenal/modules/command.py @@ -46,7 +46,7 @@ def get_args(self, cheat, gvars): self.args = [] # Use a list of tuples here instead of dict in case # the cmd has multiple args with the same name.. - for arg_name in re.findall(r'<([^ <>:]+)>', cheat.command): + for arg_name in re.findall(r'<([^ <>]+)>', cheat.command): if "|" in arg_name: # Format name, var = arg_name.split("|")[:2] self.args.append([name, var])