Open sasholy opened 8 months ago
Hi, I have also Traceback issue.
[INFO] Fetching URLs for https://kali.org
[INFO] Found 9351 URLs for https://kali.org
[INFO] Cleaning URLs for https://kali.org
[INFO] Found 3232 URLs after cleaning
[INFO] Extracting URLs with parameters
Traceback (most recent call last):
File "/usr/local/bin/paramspider", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/moh/.local/lib/python3.11/site-packages/paramspider/main.py", line 161, in main
fetch_and_clean_urls(domain, extensions, args.stream, args.proxy, args.placeholder)
File "/home/moh/.local/lib/python3.11/site-packages/paramspider/main.py", line 111, in fetch_and_clean_urls
with open(result_file, "w") as f:
^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'results/https://kali.org.txt'
@sasholy Your error is due to using python2.7, you are getting invalid syntax on logging.info(f"{Fore.YELLOW}[INFO]{Style.RESET_ALL} Fetching URLs for {Fore.CYAN + domain + Style.RESET_ALL}")
because format strings (f"{}") were added in python3.6+. Use a version of python equal to or higher than 3.6
Install it with pip3 install .
don't use python2.7 pip version use pip3 python3.6+ version , that is your problem
hi.
┌──(kali㉿kali)-[~] └─$ paramspider -d testphp.vulnweb.com Traceback (most recent call last): File "/home/kali/.local/bin/paramspider", line 5, in <module> from paramspider.main import main File "/home/kali/.local/lib/python2.7/site-packages/paramspider/main.py", line 93 logging.info(f"{Fore.YELLOW}[INFO]{Style.RESET_ALL} Fetching URLs for {Fore.CYAN + domain + Style.RESET_ALL}") ^ SyntaxError: invalid syntax
help me