Formatted graphqlmap
parent
fdb86fc609
commit
7348c93588
|
@ -9,6 +9,7 @@ import time
|
|||
from utils import *
|
||||
from attacks import *
|
||||
|
||||
|
||||
class GraphQLmap(object):
|
||||
author = "@pentest_swissky"
|
||||
version = "1.0"
|
||||
|
@ -27,7 +28,7 @@ class GraphQLmap(object):
|
|||
print(" \_____|_| \__,_| .__/|_| |_|\___\_\______|_| |_| |_|\__,_| .__/ ")
|
||||
print(" | | | | ")
|
||||
print(" |_| |_| ")
|
||||
print(" "*30, end='')
|
||||
print(" " * 30, end='')
|
||||
print(f"\033[1mAuthor\033[0m: {self.author} \033[1mVersion\033[0m: {self.version} ")
|
||||
self.args = args
|
||||
self.url = args.url
|
||||
|
@ -67,6 +68,7 @@ class GraphQLmap(object):
|
|||
else:
|
||||
exec_advanced(args.url, self.method, query, self.headers)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
readline.set_completer(auto_completer)
|
||||
readline.parse_and_bind("tab: complete")
|
||||
|
|
Loading…
Reference in New Issue