.\" Generated by kramdown-man 1.0.1 .\" https://github.com/postmodern/kramdown-man#readme .TH ronin-db-open-ports 1 "2023-02-01" Ronin DB "User Manuals" .SH NAME .PP ronin\-db\-open\-ports \- Queries open ports in the database .SH SYNOPSIS .PP \fBronin\-db open\-ports\fR \[lB]\fIoptions\fP\[rB] .SH DESCRIPTION .PP Queries OpenPorts\. .SH OPTIONS .TP \fB\-\-db\fR \fINAME\fP The database to connect to\. Defaults to \fBdefault\fR if not given\. .TP \fB\-\-db\-uri\fR \fIURI\fP The explicit database URI to connect to\. .RS .RS .IP \(bu 2 \fBsqlite3\fP: \fBsqlite3:relative\[sl]path\.db\fR or \fBsqlite3:\[sl]\[sl]\[sl]absolute\[sl]path\.db\fR .IP \(bu 2 \fBmysql\fP: \fBmysql:\[sl]\[sl]user:password\[at]host\[sl]database\fR .IP \(bu 2 \fBpostgres\fP: \fBpostgres:\[sl]\[sl]user:password\[at]host\[sl]database\fR .RE .RE .TP \fB\-\-db\-file\fR \fIPATH\fP The sqlite3 database file to use\. .TP \fB\-v\fR, \fB\-\-verbose\fR Enable verbose output\. .TP \fB\-p\fR, \fB\-\-with\-port\fR \fIPORT\fP Searches for all OpenPorts that are associated with the port number\. .TP \fB\-P\fR, \fB\-\-with\-protocol\fR \[lB]\fBtcp\fR\[or]\fBudp\fR\[rB] Searches for all OpenPorts that are associated with the protocol\. .TP \fB\-S\fR, \fB\-\-with\-service\fR \fISERVICE\fP Searches for all OpenPorts that are associated with the service\. .TP \fB\-I\fR, \fB\-\-with\-ip\fR \fIIP\fP Searches for all OpenPorts associated with the IP address\. .TP \fB\-h\fR, \fB\-\-help\fR Print help information\. .SH ENVIRONMENT .TP \fIHOME\fP Alternate location for the user\[cq]s home directory\. .TP \fIXDG\[ru]CONFIG\[ru]HOME\fP Alternate location for the \fB\[ti]\[sl]\.config\fR directory\. .TP \fIXDG\[ru]DATA\[ru]HOME\fP Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\. .SH FILES .TP \fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR The default sqlite3 database file\. .TP \fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR Optional database configuration\. .SH AUTHOR .PP Postmodern .MT postmodern\.mod3\[at]gmail\.com .ME