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

Exclude ASN and Netblocks from output #1023

Open
dpalavra opened this issue May 31, 2024 · 5 comments
Open

Exclude ASN and Netblocks from output #1023

dpalavra opened this issue May 31, 2024 · 5 comments

Comments

@dpalavra
Copy link

Is it possible to exclude this?

@capastacka
Copy link

also hoping there's a solution...i get way more information than just a list of subdomains, like FQDN...is there a way to just get the subs in the output?

@dpalavra
Copy link
Author

dpalavra commented Jun 1, 2024

Exactly what Im looking for. Discovering subdomains, nothing else.

@capastacka
Copy link

ok so with the new version, first you have run this:
amass enum -dir ./ -d domain.com

this will save multiple output files in the directory you're in. the one you need for the next step is 'amass.sqlite

then run this:
sqlite3 amass.sqlite "select content->>'name' from assets where type = 'FQDN'"

you should get the list of subs now.

where i got this solution: https://www.youtube.com/watch?v=iGoULB1p1wM
starting around 18:36

@dpalavra
Copy link
Author

dpalavra commented Jun 2, 2024

Thanks man! Will try now and report on it!

@dpalavra
Copy link
Author

dpalavra commented Jun 2, 2024

Works great, exactly what I was looking for! Much appreciated man!!!

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

2 participants