swisskyrepo / GraphQLmap

GraphQLmap is a scripting engine to interact with a graphql endpoint for pentesting purposes. - Do not use for illegal testing ;)
MIT License
1.33k stars 187 forks source link

Update attacks.py #37

Closed MantisSTS closed 2 years ago

MantisSTS commented 2 years ago

Fixes the following issue: Traceback (most recent call last):
File "/opt/Tools/GraphQLmap/./graphqlmap.py", line 78, in
GraphQLmap(args)
File "/opt/Tools/GraphQLmap/./graphqlmap.py", line 65, in init blind_mysql(self.url, self.method, self.headers, self.use_json) File "/opt/Tools/GraphQLmap/attacks.py", line 146, in blind_mysql
print("\033[92m[+] Started at: {}\033[0m".format(time.asctime(time.localtime(time.time()))))
NameError: name 'time' is not defined