amass
amass copied to clipboard
output of enum -d is diffrent
└─# amass --version
v4.1.0
┌──(root㉿kali)-[~/]
└─# amass enum -d att.com
att.com (FQDN) --> mx_record --> mx0b-00191d01.pphosted.com (FQDN)
att.com (FQDN) --> mx_record --> mx0a-00191d01.pphosted.com (FQDN)
att.com (FQDN) --> ns_record --> a2-64.akam.net (FQDN)
att.com (FQDN) --> ns_record --> a4-64.akam.net (FQDN)
att.com (FQDN) --> ns_record --> a5-66.akam.net (FQDN)
att.com (FQDN) --> ns_record --> a1-187.akam.net (FQDN)
att.com (FQDN) --> ns_record --> a11-65.akam.net (FQDN)
att.com (FQDN) --> ns_record --> a22-67.akam.net (FQDN)
it is print this all but i only want to print domain nothing more or do i have to fitler it myslef
Yeah they seemed to remove the -json
flag as well for unknown reasons :/
what should I do if I want to have only a domain in my output?
Just parse it yourself? Use the -oA
flag to at least get output in text file format: amass enum -d att.com -oA att_results
Can then just do cat att_results.txt | cut -d " " -f 1 | grep -i "att.com" | sort -u
The same rationale and SQLite-based workaround as in https://github.com/owasp-amass/amass/issues/941#issuecomment-1653979385 seems to apply.