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

missing 1 required positional argument: 'cursor' #23

Open
BEN-Djemel opened this issue Nov 14, 2024 · 0 comments
Open

missing 1 required positional argument: 'cursor' #23

BEN-Djemel opened this issue Nov 14, 2024 · 0 comments

Comments

@BEN-Djemel
Copy link

Hi ! I cloned the repository to my virtual machine, i enabled the execution permission and when i try to run the python script :

python censys-subdomain-finder.py example.com -o output.txt

i got this error :

[*] Applying free plan limits (1000 results at most)
[*] Searching Censys for subdomains of example.com
Traceback (most recent call last):
  File "censys-subdomain-finder/censys-subdomain-finder.py", line 151, in <module>
    main(args.domain, args.output_file, censys_api_id, censys_api_secret, limit_results)
  File "censys-subdomain-finder/censys-subdomain-finder.py", line 113, in main
    subdomains = find_subdomains(
                 ^^^^^^^^^^^^^^^^
  File "censys-subdomain-finder/censys-subdomain-finder.py", line 33, in find_subdomains
    certificates_search_results = censys_certificates.search(
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: CensysCerts.search() missing 1 required positional argument: 'cursor'

Anyone else has this issue ? Any idea to fix this ? Thanks !

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

1 participant