INNER CODE UNIT · Python
rating
gsmith257-cyber/GraphCrawler · graphCrawler.py:406
rating = (senseCount * 0.1) + (goodCount / len(easy_queries)) * 0.1
else:
rating = (senseCount * 0.1)
if mutationEnabled:
rating += 0.5
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":