-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtest.py
More file actions
29 lines (22 loc) · 651 Bytes
/
Copy pathtest.py
File metadata and controls
29 lines (22 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import os
import ast
#uncomment/comment to see the difference in scan results
#do not enter it will change line number and wont be marked as duplicate
#AccessKey: "AKIAR1YF3M8L9IBVOUED"
eval("__import__('os').system('clear')", {'__builtins__':{}})
print(1)
SQL_USER=testing
SQL_PASSWORD=testing
SUPER_ADMIN_EMAIL=support@test.com
SUPER_ADMIN_PASSWORD=testing
AWS_ACCESS_KEY_ID=testing
AWS_SECRET_ACCESS_KEY=testing
if __name__ == '__main__':
cmd_api_client()
# A user-defined method named "eval" should not get flagged.
class Test(object):
# def eval(self):
# print("hi")
def foo(self):
self.eval()
# Test().eval()