INNER CODE UNIT · Python
graphinder
gsmith257-cyber/GraphCrawler · graphCrawler.py:69
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
try:
a = os.system("docker run -it --rm escapetech/graphinder -d " + url + " > results 2>&1")
a = None
except:
print("[-] Error running Graphinder")
#check if there is an output file
output = []
if os.path.isfile("results"):