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

Change: methods of searching subdomains in SearchNetlas #1900

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

thurrsense
Copy link
Contributor

The current implementation of theHarvester uses an outdated data acquisition method Netlas.io. This leads to inaccurate data being received.
In this PR, I:

  • Changed the do_search() function by adding a POST request to "app.netlas.io/api/domains/download ", this allows you to get all the existing ones in the database Netlas.io subdomains for a specific domain.
  • Added the do_count() function, which pre-calculates the number of existing subdomains using a GET request.
  • The ability to limit the number of domains received via the "--limit" parameter has also been added.
    The fix was tested under the following conditions: locally with test data.

@L1ghtn1ng
Copy link
Collaborator

Thanks for this

@L1ghtn1ng L1ghtn1ng merged commit 081ab27 into laramies:master Dec 13, 2024
10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants