[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
d64c2a10d4
commit
60e0f5056e
1 changed files with 3 additions and 1 deletions
|
|
@ -1335,7 +1335,9 @@ class TestFollowup_DynamicImportShellEscape:
|
|||
+ SUDO
|
||||
+ " whoami')",
|
||||
"m = __import__('os'); m.system('" + SUDO + " whoami')",
|
||||
"m = __import__('subprocess'); m.run(['" + SUDO + "', 'whoami'], shell=True)",
|
||||
"m = __import__('subprocess'); m.run(['"
|
||||
+ SUDO
|
||||
+ "', 'whoami'], shell=True)",
|
||||
"import importlib; mod = importlib.import_module('os'); "
|
||||
"mod.popen('cat ~/.aws/credentials')",
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue