Skip to content

Incredibly fast crawler designed for OSINT.

Handling targets ending with /

Somdev Sangwan189d49e77c73
diff --git a/photon.py b/photon.py
index 5bdaa62..cccd290 100644
--- a/photon.py
+++ b/photon.py
@@ -45,6 +45,8 @@ args = parser.parse_args()
if args.root:
main_inp = args.root
+ if main_inp.endswith('/'):
+ main_inp = main_inp[:-1]
else:
print ('\n' + parser.format_help().lower())
quit()