Module Name: Hosts to Domains Data Migrator
Module path: recon/hosts-domains/migrate_hosts


SOURCE:


Name: Hosts to Domains Data Migrator
Path: modules/recon/hosts-domains/migrate_hosts.py
Author: Tim Tomes (@LaNMaSteR53)

Description:
Adds a new domain for all the hostnames stored in the 'hosts' table.

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

Source Options:
default SELECT DISTINCT host FROM hosts WHERE host IS NOT NULL
<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.