INNER CODE UNIT · Python
rating
gsmith257-cyber/GraphCrawler · graphCrawler.py:411
rating = round((rating*10), 2)
print("[+] Criticalilty rating : " + str(rating))
print("Do you want to get the possible paths to access the sensative node?")
print("example: username from the user field")
resp = input("(y/n): ")
if resp == "y":
x = True
while x:
type = input("Type of the sensative node: ")
print("[+] Getting possible paths to " + type)
os.system("./support/graphql-path-enum -i " + filename + " -t " + type)
resp = input("Do you want to get more paths? (y/n): ")
if resp == "n":
x = False
print("Do you want me to list the queries that are available from the schema?")
resp = input("(y/n): ")