Photon
Photon copied to clipboard
Photon gets stuck on some websites when using --keys
I have an issue, where Photon gets stuck, when using the --keys option.
Example:
python3 photon.py -u "redacted" -v --keys
____ __ __
/ __ \/ /_ ____ / /_____ ____
/ /_/ / __ \/ __ \/ __/ __ \/ __ \
/ ____/ / / / /_/ / /_/ /_/ / / / /
/_/ /_/ /_/\____/\__/\____/_/ /_/ v1.3.2
[+] URLs retrieved from robots.txt: 2
[+] URLs retrieved from sitemap.xml: 5
[~] Level 1: 8 URLs
[!] Progress: 6/8
And then it just stays there forever..
However, not using --keys works great:
python3 photon.py -u "redacted" -v --only-urls --wayback
____ __ __
/ __ \/ /_ ____ / /_____ ____
/ /_/ / __ \/ __ \/ __/ __ \/ __ \
/ ____/ / / / /_/ / /_/ /_/ / / / /
/_/ /_/ /_/\____/\__/\____/_/ /_/ v1.3.2
[~] Fetching URLs from archive.org
[+] Retrieved -1 URLs from archive.org
[+] URLs retrieved from robots.txt: 2
[+] URLs retrieved from sitemap.xml: 5
[~] Level 1: 8 URLs
[!] Progress: 8/8
[~] Level 2: 31 URLs
[!] Progress: 31/31
--------------------------------------------------
[+] Files: 1
[+] Robots: 2
[+] Internal: 86
[+] External: 49
--------------------------------------------------
[!] Total requests made: 40
[!] Total time taken: 0 minutes 21 seconds
[!] Requests per second: 1
[+] Results saved in redacted directory
Note, that this does not happen on every domain, but only on some.
Also: does --wayback work? I always get -1 URLs from archive.org
Thanks for reporting.
I am currently re-writing Photon and hopefully this bug will be fixed in Photon 2.0