owasp-amass / amass

In-depth attack surface mapping and asset discovery
https://owasp.org/www-project-amass/
Other
11.63k stars 1.85k forks source link

Stdout returns with source information #938

Closed obreinx closed 1 year ago

obreinx commented 1 year ago

running a command like amass enum -passive -d domain would return FQDN information that wont be useful for command piping like it used to be. how to retrive subdomain with dealing with cleaning the output thanks

caffix commented 1 year ago

For now, the names can be acquired using the following amass command: amass db -names -d domain

You can also extract the names from the database using the following SQLite command: sqlite3 amass.sqlite "select content->>'name' from assets where type = 'FQDN' and content->>'name' like '%domain'"

In the future, new tooling will be created to extract and analyze the data being collected by amass