Skip to content

Suggestion: exclude value of -d argument from search results #5

@nikitastupin

Description

@nikitastupin

Hi @gwen001 ,

First of all thanks for this project, it looks like it's finding sub-domains that Amass isn't finding which is great! I have a suggestion to improve this project.

I've run github-subdomains with -d paypal.com argument and noticed that it uses "paypal.com" GitHub search query and scrapes first 1000 results (10 pages by 100 results each). Then I've used this query in https://github.com and noticed that most of these results are www.paypal.com or paypal.com:

Screen Shot 2020-12-12 at 13 49 28

We can exclude these uninteresting results using NOT keyword get more subdomains:

Screen Shot 2020-12-12 at 13 56 51

So I suggest to use "example.com" NOT "https://example.com" NOT "http://example.com" NOT "www.example.com" query instead of "example.com".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions