Incredibly fast crawler designed for OSINT.
Handlng non-ascii chars, Fixes #7
Somdev Sangwan992cf4381fd0
diff --git a/photon.py b/photon.pyindex f2fc8f1..deeba40 100644--- a/photon.py+++ b/photon.py@@ -1,4 +1,5 @@#!/usr/bin/env python3+# -*- coding: utf-8 -*-# Let's import what we needimport os@@ -349,17 +350,17 @@ os.mkdir(name) # create a new directorywith open('%s/links.txt' % name, 'w+') as f:for x in storage:- f.write(x + '\n')+ f.write(x + '\n')f.close()with open('%s/robots.txt' % name, 'w+') as f:for x in storage:- f.write(x + '\n')+ f.write(x + '\n')f.close()with open('%s/scripts.txt' % name, 'w+') as f:for x in scripts:- f.write(x + '\n')+ f.write(x + '\n')f.close()with open('%s/fuzzable.txt' % name, 'w+') as f: