HurricaneLabs / machinae

Machinae Security Intelligence Collector
MIT License
502 stars 99 forks source link

Reading file of multiple domains #30

Closed xsallowed closed 8 years ago

xsallowed commented 8 years ago

is there a way i can read multiple Domains in a single file and scan them thru your list of reputation checking websites

mcm commented 8 years ago

Yes! You can put the domains in a file (one per line) and then run machinae with the -i option to specify that file. For example:

~ ❯❯❯ cat domains.txt
google.com
github.com
~ ❯❯❯ machinae -s malc0de -i domains.txt -O fqdn
[.] Requesting https://malc0de.com/database/index.php?search=google.com (GET)
[.] Requesting https://malc0de.com/database/index.php?search=github.com (GET)
********************************************************************************
* Information for google.com
* Observable type: fqdn (Auto-detected: False)
********************************************************************************

[-] No Malc0de results
********************************************************************************
* Information for github.com
* Observable type: fqdn (Auto-detected: False)
********************************************************************************

[-] No Malc0de results
~ ❯❯❯