owasp-amass / amass

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

amass enum -nf flag causes amass to abort -- suggest log error & continue #996

Open prisoner881 opened 10 months ago

prisoner881 commented 10 months ago

Using the -nf flag, you can feed a list of FQDN's to amass that you discovered via other means. However, if the flag points to a non-existent or empty file, amass aborts the enumeration.

I suggest a slightly different approach. Instead of aborting, amass should log the missing/empty file as an error in AMASS.LOG and continue the enumeration. There's no reason to abort the enumeration since this file is optional.