Formatted graphqlmap

pull/11/head
fuomag9 2020-02-05 13:05:56 +01:00
parent fdb86fc609
commit 7348c93588
1 changed files with 9 additions and 7 deletions

View File

@ -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")