Incredibly fast crawler designed for OSINT.
fixed a bug in update function
Somdev Sangwanff82b536417f
diff --git a/photon.py b/photon.pyindex e534f44..119145f 100644--- a/photon.py+++ b/photon.py@@ -91,7 +91,7 @@ def update():if choice != 'n':print ('%s Updating Photon' % run)os.system('git clone --quiet https://github.com/s0md3v/Photon %s' % (folder))- os.system('cp -r %s/%s/* %s && rm -r %s/%s/ 2>/dev/null' % (path, folder, path, folder))+ os.system('cp -r %s/%s/* %s && rm -r %s/%s/ 2>/dev/null' % (path, folder, path, path, folder))print ('%s Update successful!' % good)if args.update: # if the user has supplied --update argument