ronin-db 0.1.3-java → 0.2.0.rc1-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -0
- data/.gitignore +1 -0
- data/ChangeLog.md +28 -0
- data/Gemfile +6 -4
- data/README.md +17 -5
- data/Rakefile +13 -35
- data/data/completions/ronin-db +271 -0
- data/gemspec.yml +17 -2
- data/lib/ronin/db/cli/command.rb +1 -1
- data/lib/ronin/db/cli/commands/add.rb +1 -1
- data/lib/ronin/db/cli/commands/asn.rb +12 -2
- data/lib/ronin/db/cli/commands/certs.rb +322 -0
- data/lib/ronin/db/cli/commands/completion.rb +63 -0
- data/lib/ronin/db/cli/commands/creds.rb +2 -1
- data/lib/ronin/db/cli/commands/edit.rb +1 -1
- data/lib/ronin/db/cli/commands/emails.rb +22 -1
- data/lib/ronin/db/cli/commands/hosts.rb +2 -1
- data/lib/ronin/db/cli/commands/ips.rb +2 -1
- data/lib/ronin/db/cli/commands/irb.rb +8 -4
- data/lib/ronin/db/cli/commands/list.rb +1 -1
- data/lib/ronin/db/cli/commands/migrate.rb +12 -8
- data/lib/ronin/db/cli/commands/open_ports.rb +102 -0
- data/lib/ronin/db/cli/commands/oses.rb +95 -0
- data/lib/ronin/db/cli/commands/passwords.rb +83 -0
- data/lib/ronin/db/cli/commands/people.rb +185 -0
- data/lib/ronin/db/cli/commands/phone_numbers.rb +136 -0
- data/lib/ronin/db/cli/commands/ports.rb +103 -0
- data/lib/ronin/db/cli/commands/remove.rb +1 -1
- data/lib/ronin/db/cli/commands/services.rb +102 -0
- data/lib/ronin/db/cli/commands/software.rb +95 -0
- data/lib/ronin/db/cli/commands/street_addresses.rb +129 -0
- data/lib/ronin/db/cli/commands/urls.rb +2 -1
- data/lib/ronin/db/cli/commands/web_vulns.rb +235 -0
- data/lib/ronin/db/cli/database_options.rb +87 -0
- data/lib/ronin/db/cli/deletable.rb +85 -0
- data/lib/ronin/db/cli/importable.rb +108 -0
- data/lib/ronin/db/cli/model_command.rb +8 -6
- data/lib/ronin/db/cli/modifiable.rb +12 -104
- data/lib/ronin/db/cli/printing.rb +58 -0
- data/lib/ronin/db/cli/ruby_shell.rb +1 -1
- data/lib/ronin/db/cli/uri_methods.rb +1 -1
- data/lib/ronin/db/cli.rb +3 -1
- data/lib/ronin/db/config_file.rb +1 -1
- data/lib/ronin/db/exceptions.rb +1 -1
- data/lib/ronin/db/home.rb +1 -1
- data/lib/ronin/db/root.rb +1 -1
- data/lib/ronin/db/tasks.rb +87 -0
- data/lib/ronin/db/version.rb +2 -2
- data/lib/ronin/db.rb +15 -7
- data/man/ronin-db-add.1 +47 -69
- data/man/ronin-db-add.1.md +26 -22
- data/man/ronin-db-asn.1 +36 -54
- data/man/ronin-db-asn.1.md +29 -19
- data/man/ronin-db-certs.1 +108 -0
- data/man/ronin-db-certs.1.md +106 -0
- data/man/ronin-db-completion.1 +76 -0
- data/man/ronin-db-completion.1.md +78 -0
- data/man/ronin-db-creds.1 +28 -46
- data/man/ronin-db-creds.1.md +23 -16
- data/man/ronin-db-edit.1 +15 -26
- data/man/ronin-db-edit.1.md +11 -7
- data/man/ronin-db-emails.1 +36 -49
- data/man/ronin-db-emails.1.md +30 -17
- data/man/ronin-db-hosts.1 +31 -51
- data/man/ronin-db-hosts.1.md +25 -18
- data/man/ronin-db-ips.1 +31 -52
- data/man/ronin-db-ips.1.md +26 -19
- data/man/ronin-db-irb.1 +22 -35
- data/man/ronin-db-irb.1.md +17 -10
- data/man/ronin-db-list.1 +16 -30
- data/man/ronin-db-list.1.md +13 -9
- data/man/ronin-db-migrate.1 +22 -35
- data/man/ronin-db-migrate.1.md +17 -10
- data/man/ronin-db-open-ports.1 +72 -0
- data/man/ronin-db-open-ports.1.md +70 -0
- data/man/ronin-db-oses.1 +72 -0
- data/man/ronin-db-oses.1.md +70 -0
- data/man/ronin-db-passwords.1 +75 -0
- data/man/ronin-db-passwords.1.md +73 -0
- data/man/ronin-db-people.1 +96 -0
- data/man/ronin-db-people.1.md +94 -0
- data/man/ronin-db-phone-numbers.1 +93 -0
- data/man/ronin-db-phone-numbers.1.md +91 -0
- data/man/ronin-db-ports.1 +87 -0
- data/man/ronin-db-ports.1.md +85 -0
- data/man/ronin-db-remove.1 +15 -28
- data/man/ronin-db-remove.1.md +12 -8
- data/man/ronin-db-services.1 +84 -0
- data/man/ronin-db-services.1.md +82 -0
- data/man/ronin-db-software.1 +72 -0
- data/man/ronin-db-software.1.md +70 -0
- data/man/ronin-db-street-addresses.1 +81 -0
- data/man/ronin-db-street-addresses.1.md +79 -0
- data/man/ronin-db-urls.1 +37 -60
- data/man/ronin-db-urls.1.md +28 -21
- data/man/ronin-db-web-vulns.1 +87 -0
- data/man/ronin-db-web-vulns.1.md +85 -0
- data/man/ronin-db.1 +118 -0
- data/man/ronin-db.1.md +99 -0
- data/scripts/setup +58 -0
- metadata +70 -13
- data/lib/ronin/db/cli/database_command.rb +0 -71
- data/lib/ronin/db/cli/resources_command.rb +0 -118
data/man/ronin-db-list.1
CHANGED
@@ -1,65 +1,51 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
3
|
.TH ronin-db-list 1 "2023-02-01" Ronin DB "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-db\-list \- List the configured database(s)
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.LP
|
7
8
|
.PP
|
8
|
-
\fBronin
|
9
|
-
.LP
|
9
|
+
\fBronin\-db list\fR \[lB]\fIoptions\fP\[rB] \[lB]\fINAME\fP\[rB]
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
|
-
Lists entries in the \fB
|
14
|
-
.LP
|
12
|
+
Lists entries in the \fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR configuration file\.
|
15
13
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
15
|
\fINAME\fP
|
19
16
|
The optional database name to print configuration information for\.
|
20
|
-
.LP
|
21
17
|
.SH OPTIONS
|
22
|
-
.LP
|
23
18
|
.TP
|
24
|
-
\fB
|
19
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
25
20
|
Enables verbose output\.
|
26
|
-
.LP
|
27
21
|
.TP
|
28
|
-
\fB
|
22
|
+
\fB\-h\fR, \fB\-\-help\fR
|
29
23
|
Print help information\.
|
30
|
-
.LP
|
31
24
|
.SH ENVIRONMENT
|
32
|
-
.LP
|
33
25
|
.TP
|
34
26
|
\fIHOME\fP
|
35
27
|
Alternate location for the user\[cq]s home directory\.
|
36
|
-
.LP
|
37
28
|
.TP
|
38
29
|
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
39
|
-
Alternate location for the \fB
|
40
|
-
.LP
|
30
|
+
Alternate location for the \fB\[ti]\[sl]\.config\fR directory\.
|
41
31
|
.TP
|
42
32
|
\fIXDG\[ru]DATA\[ru]HOME\fP
|
43
|
-
Alternate location for the \fB
|
44
|
-
.LP
|
33
|
+
Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\.
|
45
34
|
.SH FILES
|
46
|
-
.LP
|
47
35
|
.TP
|
48
|
-
\fB
|
36
|
+
\fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR
|
49
37
|
The default sqlite3 database file\.
|
50
|
-
.LP
|
51
38
|
.TP
|
52
|
-
\fB
|
39
|
+
\fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR
|
53
40
|
Optional database configuration\.
|
54
|
-
.LP
|
55
41
|
.SH AUTHOR
|
56
|
-
.LP
|
57
42
|
.PP
|
58
43
|
Postmodern
|
59
44
|
.MT postmodern\.mod3\[at]gmail\.com
|
60
45
|
.ME
|
61
|
-
.LP
|
62
46
|
.SH SEE ALSO
|
63
|
-
.LP
|
64
47
|
.PP
|
65
|
-
|
48
|
+
.BR ronin\-db (1)
|
49
|
+
.BR ronin\-db\-add (1)
|
50
|
+
.BR ronin\-db\-edit (1)
|
51
|
+
.BR ronin\-db\-remove (1)
|
data/man/ronin-db-list.1.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-db-list 1 "2023-02-01" Ronin DB "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-db-list - List the configured database(s)
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin-db list` [*options*] [*NAME*]
|
@@ -11,34 +15,34 @@ Lists entries in the `~/.config/ronin-db/database.yml` configuration file.
|
|
11
15
|
## ARGUMENTS
|
12
16
|
|
13
17
|
*NAME*
|
14
|
-
|
18
|
+
: The optional database name to print configuration information for.
|
15
19
|
|
16
20
|
## OPTIONS
|
17
21
|
|
18
22
|
`-v`, `--verbose`
|
19
|
-
|
23
|
+
: Enables verbose output.
|
20
24
|
|
21
25
|
`-h`, `--help`
|
22
|
-
|
26
|
+
: Print help information.
|
23
27
|
|
24
28
|
## ENVIRONMENT
|
25
29
|
|
26
30
|
*HOME*
|
27
|
-
|
31
|
+
: Alternate location for the user's home directory.
|
28
32
|
|
29
33
|
*XDG_CONFIG_HOME*
|
30
|
-
|
34
|
+
: Alternate location for the `~/.config` directory.
|
31
35
|
|
32
36
|
*XDG_DATA_HOME*
|
33
|
-
|
37
|
+
: Alternate location for the `~/.local/share` directory.
|
34
38
|
|
35
39
|
## FILES
|
36
40
|
|
37
41
|
`~/.local/share/ronin-db/database.sqlite3`
|
38
|
-
|
42
|
+
: The default sqlite3 database file.
|
39
43
|
|
40
44
|
`~/.config/ronin-db/database.yml`
|
41
|
-
|
45
|
+
: Optional database configuration.
|
42
46
|
|
43
47
|
## AUTHOR
|
44
48
|
|
@@ -46,4 +50,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
46
50
|
|
47
51
|
## SEE ALSO
|
48
52
|
|
49
|
-
ronin-db(1) ronin-db-add(1) ronin-db-edit(1) ronin-db-remove(1)
|
53
|
+
[ronin-db](ronin-db.1.md) [ronin-db-add](ronin-db-add.1.md) [ronin-db-edit](ronin-db-edit.1.md) [ronin-db-remove](ronin-db-remove.1.md)
|
data/man/ronin-db-migrate.1
CHANGED
@@ -1,77 +1,64 @@
|
|
1
|
-
.\" Generated by kramdown-man 0.1
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
3
|
.TH ronin-db-migrate 1 "2023-02-01" Ronin DB "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-db\-migrate \- Runs database migrations
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.LP
|
7
8
|
.PP
|
8
|
-
\fBronin
|
9
|
-
.LP
|
9
|
+
\fBronin\-db migrate\fR \[lB]\fIoptions\fP\[rB]
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
12
|
Runs database migrations\.
|
14
|
-
.LP
|
15
13
|
.SH OPTIONS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
|
-
\fB
|
15
|
+
\fB\-\-db\fR \fINAME\fP
|
19
16
|
The database to connect to\. Will connect to the \fBdefault\fR database if not
|
20
17
|
specified\.
|
21
|
-
.LP
|
22
18
|
.TP
|
23
|
-
\fB
|
19
|
+
\fB\-\-db\-uri\fR \fIURI\fP
|
24
20
|
The database URI to connect to\.
|
25
|
-
.
|
21
|
+
.RS
|
26
22
|
.RS
|
27
23
|
.IP \(bu 2
|
28
|
-
\fBsqlite3\fP: \fBsqlite3:relative
|
24
|
+
\fBsqlite3\fP: \fBsqlite3:relative\[sl]path\.db\fR or \fBsqlite3:\[sl]\[sl]\[sl]absolute\[sl]path\.db\fR
|
29
25
|
.IP \(bu 2
|
30
|
-
\fBmysql\fP: \fBmysql
|
26
|
+
\fBmysql\fP: \fBmysql:\[sl]\[sl]user:password\[at]host\[sl]database\fR
|
31
27
|
.IP \(bu 2
|
32
|
-
\fBpostgres\fP: \fBpostgres
|
28
|
+
\fBpostgres\fP: \fBpostgres:\[sl]\[sl]user:password\[at]host\[sl]database\fR
|
33
29
|
.RE
|
34
|
-
.
|
30
|
+
.RE
|
31
|
+
.TP
|
32
|
+
\fB\-\-db\-file\fR \fIPATH\fP
|
33
|
+
The sqlite3 database file to use\.
|
35
34
|
.TP
|
36
|
-
\fB
|
35
|
+
\fB\-\-no\-connect\fR
|
37
36
|
Causes the Ruby shell to not connect to a database on startup\.
|
38
|
-
.LP
|
39
37
|
.TP
|
40
|
-
\fB
|
38
|
+
\fB\-h\fR, \fB\-\-help\fR
|
41
39
|
Print help information\.
|
42
|
-
.LP
|
43
40
|
.SH ENVIRONMENT
|
44
|
-
.LP
|
45
41
|
.TP
|
46
42
|
\fIHOME\fP
|
47
43
|
Alternate location for the user\[cq]s home directory\.
|
48
|
-
.LP
|
49
44
|
.TP
|
50
45
|
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
51
|
-
Alternate location for the \fB
|
52
|
-
.LP
|
46
|
+
Alternate location for the \fB\[ti]\[sl]\.config\fR directory\.
|
53
47
|
.TP
|
54
48
|
\fIXDG\[ru]DATA\[ru]HOME\fP
|
55
|
-
Alternate location for the \fB
|
56
|
-
.LP
|
49
|
+
Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\.
|
57
50
|
.SH FILES
|
58
|
-
.LP
|
59
51
|
.TP
|
60
|
-
\fB
|
52
|
+
\fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR
|
61
53
|
The default sqlite3 database file\.
|
62
|
-
.LP
|
63
54
|
.TP
|
64
|
-
\fB
|
55
|
+
\fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR
|
65
56
|
Optional database configuration\.
|
66
|
-
.LP
|
67
57
|
.SH AUTHOR
|
68
|
-
.LP
|
69
58
|
.PP
|
70
59
|
Postmodern
|
71
60
|
.MT postmodern\.mod3\[at]gmail\.com
|
72
61
|
.ME
|
73
|
-
.LP
|
74
62
|
.SH SEE ALSO
|
75
|
-
.LP
|
76
63
|
.PP
|
77
|
-
ronin\-db\-add(1)
|
64
|
+
.BR ronin\-db\-add (1)
|
data/man/ronin-db-migrate.1.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-db-migrate 1 "2023-02-01" Ronin DB "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-db-migrate - Runs database migrations
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin-db migrate` [*options*]
|
@@ -11,40 +15,43 @@ Runs database migrations.
|
|
11
15
|
## OPTIONS
|
12
16
|
|
13
17
|
`--db` *NAME*
|
14
|
-
|
18
|
+
: The database to connect to. Will connect to the `default` database if not
|
15
19
|
specified.
|
16
20
|
|
17
21
|
`--db-uri` *URI*
|
18
|
-
|
22
|
+
: The database URI to connect to.
|
19
23
|
|
20
24
|
* **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
|
21
25
|
* **mysql**: `mysql://user:password@host/database`
|
22
26
|
* **postgres**: `postgres://user:password@host/database`
|
23
27
|
|
28
|
+
`--db-file` *PATH*
|
29
|
+
: The sqlite3 database file to use.
|
30
|
+
|
24
31
|
`--no-connect`
|
25
|
-
|
32
|
+
: Causes the Ruby shell to not connect to a database on startup.
|
26
33
|
|
27
34
|
`-h`, `--help`
|
28
|
-
|
35
|
+
: Print help information.
|
29
36
|
|
30
37
|
## ENVIRONMENT
|
31
38
|
|
32
39
|
*HOME*
|
33
|
-
|
40
|
+
: Alternate location for the user's home directory.
|
34
41
|
|
35
42
|
*XDG_CONFIG_HOME*
|
36
|
-
|
43
|
+
: Alternate location for the `~/.config` directory.
|
37
44
|
|
38
45
|
*XDG_DATA_HOME*
|
39
|
-
|
46
|
+
: Alternate location for the `~/.local/share` directory.
|
40
47
|
|
41
48
|
## FILES
|
42
49
|
|
43
50
|
`~/.local/share/ronin-db/database.sqlite3`
|
44
|
-
|
51
|
+
: The default sqlite3 database file.
|
45
52
|
|
46
53
|
`~/.config/ronin-db/database.yml`
|
47
|
-
|
54
|
+
: Optional database configuration.
|
48
55
|
|
49
56
|
## AUTHOR
|
50
57
|
|
@@ -52,4 +59,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
52
59
|
|
53
60
|
## SEE ALSO
|
54
61
|
|
55
|
-
ronin-db-add(1)
|
62
|
+
[ronin-db-add](ronin-db-add.1.md)
|
@@ -0,0 +1,72 @@
|
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
|
+
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
+
.TH ronin-db-open-ports 1 "2023-02-01" Ronin DB "User Manuals"
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-db\-open\-ports \- Queries open ports in the database
|
7
|
+
.SH SYNOPSIS
|
8
|
+
.PP
|
9
|
+
\fBronin\-db open\-ports\fR \[lB]\fIoptions\fP\[rB]
|
10
|
+
.SH DESCRIPTION
|
11
|
+
.PP
|
12
|
+
Queries OpenPorts\.
|
13
|
+
.SH OPTIONS
|
14
|
+
.TP
|
15
|
+
\fB\-\-db\fR \fINAME\fP
|
16
|
+
The database to connect to\. Defaults to \fBdefault\fR if not given\.
|
17
|
+
.TP
|
18
|
+
\fB\-\-db\-uri\fR \fIURI\fP
|
19
|
+
The explicit database URI to connect to\.
|
20
|
+
.RS
|
21
|
+
.RS
|
22
|
+
.IP \(bu 2
|
23
|
+
\fBsqlite3\fP: \fBsqlite3:relative\[sl]path\.db\fR or \fBsqlite3:\[sl]\[sl]\[sl]absolute\[sl]path\.db\fR
|
24
|
+
.IP \(bu 2
|
25
|
+
\fBmysql\fP: \fBmysql:\[sl]\[sl]user:password\[at]host\[sl]database\fR
|
26
|
+
.IP \(bu 2
|
27
|
+
\fBpostgres\fP: \fBpostgres:\[sl]\[sl]user:password\[at]host\[sl]database\fR
|
28
|
+
.RE
|
29
|
+
.RE
|
30
|
+
.TP
|
31
|
+
\fB\-\-db\-file\fR \fIPATH\fP
|
32
|
+
The sqlite3 database file to use\.
|
33
|
+
.TP
|
34
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
35
|
+
Enable verbose output\.
|
36
|
+
.TP
|
37
|
+
\fB\-p\fR, \fB\-\-with\-port\fR \fIPORT\fP
|
38
|
+
Searches for all OpenPorts that are associated with the port number\.
|
39
|
+
.TP
|
40
|
+
\fB\-P\fR, \fB\-\-with\-protocol\fR \[lB]\fBtcp\fR\[or]\fBudp\fR\[rB]
|
41
|
+
Searches for all OpenPorts that are associated with the protocol\.
|
42
|
+
.TP
|
43
|
+
\fB\-S\fR, \fB\-\-with\-service\fR \fISERVICE\fP
|
44
|
+
Searches for all OpenPorts that are associated with the service\.
|
45
|
+
.TP
|
46
|
+
\fB\-I\fR, \fB\-\-with\-ip\fR \fIIP\fP
|
47
|
+
Searches for all OpenPorts associated with the IP address\.
|
48
|
+
.TP
|
49
|
+
\fB\-h\fR, \fB\-\-help\fR
|
50
|
+
Print help information\.
|
51
|
+
.SH ENVIRONMENT
|
52
|
+
.TP
|
53
|
+
\fIHOME\fP
|
54
|
+
Alternate location for the user\[cq]s home directory\.
|
55
|
+
.TP
|
56
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
57
|
+
Alternate location for the \fB\[ti]\[sl]\.config\fR directory\.
|
58
|
+
.TP
|
59
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
60
|
+
Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\.
|
61
|
+
.SH FILES
|
62
|
+
.TP
|
63
|
+
\fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR
|
64
|
+
The default sqlite3 database file\.
|
65
|
+
.TP
|
66
|
+
\fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR
|
67
|
+
Optional database configuration\.
|
68
|
+
.SH AUTHOR
|
69
|
+
.PP
|
70
|
+
Postmodern
|
71
|
+
.MT postmodern\.mod3\[at]gmail\.com
|
72
|
+
.ME
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# ronin-db-open-ports 1 "2023-02-01" Ronin DB "User Manuals"
|
2
|
+
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-db-open-ports - Queries open ports in the database
|
6
|
+
|
7
|
+
## SYNOPSIS
|
8
|
+
|
9
|
+
`ronin-db open-ports` [*options*]
|
10
|
+
|
11
|
+
## DESCRIPTION
|
12
|
+
|
13
|
+
Queries OpenPorts.
|
14
|
+
|
15
|
+
## OPTIONS
|
16
|
+
|
17
|
+
`--db` *NAME*
|
18
|
+
: The database to connect to. Defaults to `default` if not given.
|
19
|
+
|
20
|
+
`--db-uri` *URI*
|
21
|
+
: The explicit database URI to connect to.
|
22
|
+
|
23
|
+
* **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
|
24
|
+
* **mysql**: `mysql://user:password@host/database`
|
25
|
+
* **postgres**: `postgres://user:password@host/database`
|
26
|
+
|
27
|
+
`--db-file` *PATH*
|
28
|
+
: The sqlite3 database file to use.
|
29
|
+
|
30
|
+
`-v`, `--verbose`
|
31
|
+
: Enable verbose output.
|
32
|
+
|
33
|
+
`-p`, `--with-port` *PORT*
|
34
|
+
: Searches for all OpenPorts that are associated with the port number.
|
35
|
+
|
36
|
+
`-P`, `--with-protocol` [`tcp`\|`udp`]
|
37
|
+
: Searches for all OpenPorts that are associated with the protocol.
|
38
|
+
|
39
|
+
`-S`, `--with-service` *SERVICE*
|
40
|
+
: Searches for all OpenPorts that are associated with the service.
|
41
|
+
|
42
|
+
`-I`, `--with-ip` *IP*
|
43
|
+
: Searches for all OpenPorts associated with the IP address.
|
44
|
+
|
45
|
+
`-h`, `--help`
|
46
|
+
: Print help information.
|
47
|
+
|
48
|
+
## ENVIRONMENT
|
49
|
+
|
50
|
+
*HOME*
|
51
|
+
: Alternate location for the user's home directory.
|
52
|
+
|
53
|
+
*XDG_CONFIG_HOME*
|
54
|
+
: Alternate location for the `~/.config` directory.
|
55
|
+
|
56
|
+
*XDG_DATA_HOME*
|
57
|
+
: Alternate location for the `~/.local/share` directory.
|
58
|
+
|
59
|
+
## FILES
|
60
|
+
|
61
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
62
|
+
: The default sqlite3 database file.
|
63
|
+
|
64
|
+
`~/.config/ronin-db/database.yml`
|
65
|
+
: Optional database configuration.
|
66
|
+
|
67
|
+
## AUTHOR
|
68
|
+
|
69
|
+
Postmodern <postmodern.mod3@gmail.com>
|
70
|
+
|
data/man/ronin-db-oses.1
ADDED
@@ -0,0 +1,72 @@
|
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
|
+
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
+
.TH ronin-db-oses 1 "2023-02-01" Ronin DB "User Manuals"
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-db\-oses \- Queries OSes in the database
|
7
|
+
.SH SYNOPSIS
|
8
|
+
.PP
|
9
|
+
\fBronin\-db oses\fR \[lB]\fIoptions\fP\[rB]
|
10
|
+
.SH DESCRIPTION
|
11
|
+
.PP
|
12
|
+
Queries OSes in the database\.
|
13
|
+
.SH OPTIONS
|
14
|
+
.TP
|
15
|
+
\fB\-\-db\fR \fINAME\fP
|
16
|
+
The database name to connect to\. Defaults to \fBdefault\fR if not given\.
|
17
|
+
.TP
|
18
|
+
\fB\-\-db\-uri\fR \fIURI\fP
|
19
|
+
The explicit database URI to connect to\.
|
20
|
+
.RS
|
21
|
+
.RS
|
22
|
+
.IP \(bu 2
|
23
|
+
\fBsqlite3\fP: \fBsqlite3:relative\[sl]path\.db\fR or \fBsqlite3:\[sl]\[sl]\[sl]absolute\[sl]path\.db\fR
|
24
|
+
.IP \(bu 2
|
25
|
+
\fBmysql\fP: \fBmysql:\[sl]\[sl]user:password\[at]host\[sl]database\fR
|
26
|
+
.IP \(bu 2
|
27
|
+
\fBpostgres\fP: \fBpostgres:\[sl]\[sl]user:password\[at]host\[sl]database\fR
|
28
|
+
.RE
|
29
|
+
.RE
|
30
|
+
.TP
|
31
|
+
\fB\-\-db\-file\fR \fIPATH\fP
|
32
|
+
The sqlite3 database file to use\.
|
33
|
+
.TP
|
34
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
35
|
+
Enables verbose output
|
36
|
+
.TP
|
37
|
+
\fB\-N\fR, \fB\-\-name\fR \fINAME\fP
|
38
|
+
Searches for all OSes with the matching name\.
|
39
|
+
.TP
|
40
|
+
\fB\-\-named\fR \fINAME\fP
|
41
|
+
Searches for all OSes containing the name\.
|
42
|
+
.TP
|
43
|
+
\fB\-F\fR, \fB\-\-flavor\fR \fBlinux\fR\[or]\fBbsd\fR
|
44
|
+
Searches for all OSes with the matching flavor\.
|
45
|
+
.TP
|
46
|
+
\fB\-V\fR, \fB\-\-version\fR \fIVERSION\fP
|
47
|
+
Searches for all OSes with the matching version\.
|
48
|
+
.TP
|
49
|
+
\fB\-h\fR, \fB\-\-help\fR
|
50
|
+
Print help information\.
|
51
|
+
.SH ENVIRONMENT
|
52
|
+
.TP
|
53
|
+
\fIHOME\fP
|
54
|
+
Alternate location for the user\[cq]s home directory\.
|
55
|
+
.TP
|
56
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
57
|
+
Alternate location for the \fB\[ti]\[sl]\.config\fR directory\.
|
58
|
+
.TP
|
59
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
60
|
+
Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\.
|
61
|
+
.SH FILES
|
62
|
+
.TP
|
63
|
+
\fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR
|
64
|
+
The default sqlite3 database file\.
|
65
|
+
.TP
|
66
|
+
\fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR
|
67
|
+
Optional database configuration\.
|
68
|
+
.SH AUTHOR
|
69
|
+
.PP
|
70
|
+
Postmodern
|
71
|
+
.MT postmodern\.mod3\[at]gmail\.com
|
72
|
+
.ME
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# ronin-db-oses 1 "2023-02-01" Ronin DB "User Manuals"
|
2
|
+
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-db-oses - Queries OSes in the database
|
6
|
+
|
7
|
+
## SYNOPSIS
|
8
|
+
|
9
|
+
`ronin-db oses` [*options*]
|
10
|
+
|
11
|
+
## DESCRIPTION
|
12
|
+
|
13
|
+
Queries OSes in the database.
|
14
|
+
|
15
|
+
## OPTIONS
|
16
|
+
|
17
|
+
`--db` *NAME*
|
18
|
+
: The database name to connect to. Defaults to `default` if not given.
|
19
|
+
|
20
|
+
`--db-uri` *URI*
|
21
|
+
: The explicit database URI to connect to.
|
22
|
+
|
23
|
+
* **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
|
24
|
+
* **mysql**: `mysql://user:password@host/database`
|
25
|
+
* **postgres**: `postgres://user:password@host/database`
|
26
|
+
|
27
|
+
`--db-file` *PATH*
|
28
|
+
: The sqlite3 database file to use.
|
29
|
+
|
30
|
+
`-v`, `--verbose`
|
31
|
+
: Enables verbose output
|
32
|
+
|
33
|
+
`-N`, `--name` *NAME*
|
34
|
+
: Searches for all OSes with the matching name.
|
35
|
+
|
36
|
+
`--named` *NAME*
|
37
|
+
: Searches for all OSes containing the name.
|
38
|
+
|
39
|
+
`-F`, `--flavor` `linux`\|`bsd`
|
40
|
+
: Searches for all OSes with the matching flavor.
|
41
|
+
|
42
|
+
`-V`, `--version` *VERSION*
|
43
|
+
: Searches for all OSes with the matching version.
|
44
|
+
|
45
|
+
`-h`, `--help`
|
46
|
+
: Print help information.
|
47
|
+
|
48
|
+
## ENVIRONMENT
|
49
|
+
|
50
|
+
*HOME*
|
51
|
+
: Alternate location for the user's home directory.
|
52
|
+
|
53
|
+
*XDG_CONFIG_HOME*
|
54
|
+
: Alternate location for the `~/.config` directory.
|
55
|
+
|
56
|
+
*XDG_DATA_HOME*
|
57
|
+
: Alternate location for the `~/.local/share` directory.
|
58
|
+
|
59
|
+
## FILES
|
60
|
+
|
61
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
62
|
+
: The default sqlite3 database file.
|
63
|
+
|
64
|
+
`~/.config/ronin-db/database.yml`
|
65
|
+
: Optional database configuration.
|
66
|
+
|
67
|
+
## AUTHOR
|
68
|
+
|
69
|
+
Postmodern <postmodern.mod3@gmail.com>
|
70
|
+
|
@@ -0,0 +1,75 @@
|
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
|
+
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
+
.TH ronin-db-passwords 1 "2023-01-02" Ronin DB "User Manuals"
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-db\-passwords \- Manages all passwords in the database
|
7
|
+
.SH SYNOPSIS
|
8
|
+
.PP
|
9
|
+
\fBronin\-db passwords\fR \[lB]\fIoptions\fP\[rB]
|
10
|
+
.SH DESCRIPTION
|
11
|
+
.PP
|
12
|
+
Manages passwords\.
|
13
|
+
.SH OPTIONS
|
14
|
+
.TP
|
15
|
+
\fB\-\-db\fR \fINAME\fP
|
16
|
+
The database to connect to\. Defaults to \fBdefault\fR if not given\.
|
17
|
+
.TP
|
18
|
+
\fB\-\-db\-uri\fR \fIURI\fP
|
19
|
+
The explicit database URI to connect to\.
|
20
|
+
.RS
|
21
|
+
.RS
|
22
|
+
.IP \(bu 2
|
23
|
+
\fBsqlite3\fP: \fBsqlite3:relative\[sl]path\.db\fR or \fBsqlite3:\[sl]\[sl]\[sl]absolute\[sl]path\.db\fR
|
24
|
+
.IP \(bu 2
|
25
|
+
\fBmysql\fP: \fBmysql:\[sl]\[sl]user:password\[at]host\[sl]database\fR
|
26
|
+
.IP \(bu 2
|
27
|
+
\fBpostgres\fP: \fBpostgres:\[sl]\[sl]user:password\[at]host\[sl]database\fR
|
28
|
+
.RE
|
29
|
+
.RE
|
30
|
+
.TP
|
31
|
+
\fB\-\-db\-file\fR \fIPATH\fP
|
32
|
+
The sqlite3 database file to use\.
|
33
|
+
.TP
|
34
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
35
|
+
Enable verbose output\.
|
36
|
+
.TP
|
37
|
+
\fB\-\-add\fR \fIPASSWORD\fP
|
38
|
+
Adds the \fIPASSWORD\fP to the database\.
|
39
|
+
.TP
|
40
|
+
\fB\-\-import\fR \fIFILE\fP
|
41
|
+
Imports the Passwords from the given \fIFILE\fP\.
|
42
|
+
.TP
|
43
|
+
\fB\-\-delete\fR \fIVALUE\fP
|
44
|
+
Deletes a Password value from the database\.
|
45
|
+
.TP
|
46
|
+
\fB\-\-delete\-all\fR
|
47
|
+
Deletes every Password from the database\.
|
48
|
+
.TP
|
49
|
+
\fB\-u\fR, \fB\-\-for\-user\fR \fIUSER\fP
|
50
|
+
Searches for Passwords associated with the user name\.
|
51
|
+
.TP
|
52
|
+
\fB\-e\fR, \fB\-\-with\-email\fR \fIEMAIL\fP
|
53
|
+
Searches for Passwords that are associated with the email address\.
|
54
|
+
.SH ENVIRONMENT
|
55
|
+
.TP
|
56
|
+
\fIHOME\fP
|
57
|
+
Alternate location for the user\[cq]s home directory\.
|
58
|
+
.TP
|
59
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
60
|
+
Alternate location for the \fB\[ti]\[sl]\.config\fR directory\.
|
61
|
+
.TP
|
62
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
63
|
+
Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\.
|
64
|
+
.SH FILES
|
65
|
+
.TP
|
66
|
+
\fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR
|
67
|
+
The default sqlite3 database file\.
|
68
|
+
.TP
|
69
|
+
\fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR
|
70
|
+
Optional database configuration\.
|
71
|
+
.SH AUTHOR
|
72
|
+
.PP
|
73
|
+
Postmodern
|
74
|
+
.MT postmodern\.mod3\[at]gmail\.com
|
75
|
+
.ME
|