Module Name: Contacts to Domains Data Migrator
Module path: recon/contacts-domains/migrate_contacts


SOURCE:


Name: Contacts to Domains Data Migrator
Path: modules/recon/contacts-domains/migrate_contacts.py
Author: Tim Tomes (@LaNMaSteR53)

Description:
Adds a new domain for all the hostnames associated with email addresses stored in the 'contacts' table.

Options:
Name Current Value Required Description
SOURCE default yes source of input (see 'show info' for details)

Source Options:
default SELECT DISTINCT email FROM contacts WHERE email IS NOT NULL ORDER BY email
<string> string representing a single input
<path> path to a file containing a list of inputs
query <sql> database query returning one column of inputs

Comments:
* This modules considers that everything after the first element could contain other hosts besides the current. Therefore, hosts > 2 domains deep will create domains > 2 elements in length.