INNER CODE UNIT · Python
clairvoyance
gsmith257-cyber/GraphCrawler · graphCrawler.py:61
def clairvoyance(filename):
print("[+] Trying to grab the schema using Clairvoyance (this could take a while)...")
try:
a = os.system("python3 -m clairvoyance -o ./" + filename + " -w ./wordlist/google-10000-english-no-swears.txt " + args.url + " > /dev/null 2>&1")
except subprocess.TimeoutExpired:
print(f'Timeout for clairvoyance expired')
#find endpoints from urls
def graphinder(url):
#get the domain of the url
print("[+] Setting up Graphinder from escape.tech")
try:
a = os.system("docker pull escapetech/graphinder > /dev/null 2>&1")
except:
print("[-] Error pulling Graphinder, ensure you have Docker installed")
exit()
print("[+] Running Graphinder")
#run graphinder