Files changed (1)
Interacting with the database is easy in Recon-ng. There are core database interaction methods which allow the addition of hosts, contacts, and credentials to the database. There is also a generic query method for all other queries. In each case, the work of setting up the connection, extracting the results, and closing the connection is done for you.
-* Add a host to the database and return the affected row count. //host// is the FQDN of the host as a string. //address// is the optional IP address of the host as a string.