Findomain / Findomain

The fastest and complete solution for domain recognition. Supports screenshoting, port scan, HTTP check, data import from other tools, subdomain monitoring, alerts via Discord, Slack and Telegram, multiple API Keys for sources and much more.
https://findomain.app
GNU General Public License v3.0
3.26k stars 361 forks source link

Save only resolved subdomains #20

Closed ch0wn closed 4 years ago

ch0wn commented 4 years ago

Hi,

Would be great to have the option to save a list of subdomains which are live (resolved). That would be useful in automation, as the output can be fed into other tools without cutting/grepping first.

Thanks!

Edu4rdSHL commented 4 years ago

Hi, the output now doesn't need to be grepped because I have removed the unneeded characters like >>, please see https://github.com/Edu4rdSHL/findomain/commit/bf4d8c11c599fe1421bafe71d91416b9541e4fac. If you consider that it need more optimizations let me know.

ch0wn commented 4 years ago

What I mean is, after the enumeration is done, there is the output looking like this:

dead-sub.example.com,No IP address found live-sub.example.com,1.2.3.4

Now I have to remove the lines with "no IP address" and then cut out the column with the IPs, leaving subdomains which are resolved only. Does it make sense?

Edu4rdSHL commented 4 years ago

Fixed via https://github.com/Edu4rdSHL/findomain/commit/8765694d50fea5226d85eb69330b586011938b81