Incredibly fast crawler designed for OSINT.
make calls to native os functions instead of system
Filippo Claudib28c0d7487a6
diff --git a/photon.py b/photon.pyindex cccd290..1459599 100644--- a/photon.py+++ b/photon.py@@ -324,8 +324,8 @@ flash(jscanner, scripts)# Step 4. Save the resultsif os.path.exists(name):- os.system('rm -r %s' % name)-os.system('mkdir %s' % name)+ os.rmdir(name)+os.mkdir(name)with open('%s/links.txt' % name, 'w+') as f:for x in storage: