Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traceback #116

Open
sasholy opened this issue Mar 9, 2024 · 3 comments
Open

Traceback #116

sasholy opened this issue Mar 9, 2024 · 3 comments

Comments

@sasholy
Copy link

sasholy commented Mar 9, 2024

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

@akhavanmohsen
Copy link

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'

@NotoriousRebel
Copy link

NotoriousRebel commented Mar 27, 2024

@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

@123yash8
Copy link

Install it with pip3 install .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants