From 9b315746d16a98aae2620a79080618e14e85e9b9 Mon Sep 17 00:00:00 2001 From: vieira Date: Thu, 9 Nov 2017 00:12:50 +0000 Subject: [PATCH] Using exec in the assembler is okay --- sshuttle/assembler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshuttle/assembler.py b/sshuttle/assembler.py index a9a4098..ad77d8d 100644 --- a/sshuttle/assembler.py +++ b/sshuttle/assembler.py @@ -21,7 +21,7 @@ while 1: setattr(sys.modules[parent], parent_name, module) code = compile(content, name, "exec") - exec(code, module.__dict__) + exec(code, module.__dict__) # nosec sys.modules[name] = module else: break