.\" Generated by kramdown-man 0.1.8 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-db-ips 1 "2023-02-01" Ronin "User Manuals" .LP .SH SYNOPSIS .LP .HP \fBronin-db ips\fR \[lB]\fIoptions\fP\[rB] .LP .SH DESCRIPTION .LP .PP Manages IP addresses\. .LP .SH OPTIONS .LP .TP \fB--db\fR \fINAME\fP The database to connect to\. Defaults to \fBdefault\fR if not given\. .LP .TP \fB--db-uri\fR \fIURI\fP The explicit database URI to connect to\. .LP .RS .IP \(bu 2 \fBsqlite3\fP: \fBsqlite3:relative/path.db\fR or \fBsqlite3:///absolute/path.db\fR .IP \(bu 2 \fBmysql\fP: \fBmysql://user:password@host/database\fR .IP \(bu 2 \fBpostgres\fP: \fBpostgres://user:password@host/database\fR .RE .LP .TP \fB-v\fR, \fB--verbose\fR Enable verbose output\. .LP .TP \fB--add\fR \fIVALUE\fP Adds the IP address to the database\. .LP .TP \fB--import\fR \fIFILE\fP Imports the IP addresses from the given \fIFILE\fP\. .LP .TP \fB--delete\fR \fIVALUE\fP Deletes a IP address from the database\. .LP .TP \fB--delete-all\fR Deletes every IP address from the database\. .LP .TP \fB-4\fR, \fB--v4\fR Searches for IPv4 addresses\. .LP .TP \fB-6\fR, \fB--v6\fR Searches for IPv6 addresses\. .LP .TP \fB-p\fR, \fB--with-port\fR \fIPORT\fP Searches for IP addresses associated with the user \fIPORT\fP\. .LP .TP \fB-I\fR, \fB--with-mac-addr\fR \fIMAC\fP Searches for IP addresses associated with the MAC address\. .LP .TP \fB-I\fR, \fB--with-host\fR \fIHOST\fP Searches for IP addresses associated with the \fIHOST\fP\. .LP .TP \fB-h\fR, \fB--help\fR Print help information\. .LP .SH ENVIRONMENT .LP .TP \fIHOME\fP Alternate location for the user\[cq]s home directory\. .LP .TP \fIXDG\[ru]CONFIG\[ru]HOME\fP Alternate location for the \fB~/.config\fR directory\. .LP .TP \fIXDG\[ru]DATA\[ru]HOME\fP Alternate location for the \fB~/.local/share\fR directory\. .LP .SH FILES .LP .TP \fB~/.local/share/ronin-db/database.sqlite3\fR The default sqlite3 database file\. .LP .TP \fB~/.config/ronin-db/database.yml\fR Optional database configuration\. .LP .SH AUTHOR .LP .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME .LP