ronin-db 0.1.0.beta3-java → 0.1.2-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/.document +0 -1
- data/.github/workflows/ruby.yml +14 -0
- data/.rubocop.yml +16 -0
- data/ChangeLog.md +14 -1
- data/Gemfile +7 -3
- data/README.md +1 -2
- data/Rakefile +2 -3
- data/bin/ronin-db +6 -7
- data/gemspec.yml +4 -4
- data/lib/ronin/db/cli/command.rb +3 -0
- data/lib/ronin/db/cli/commands/asn.rb +1 -1
- data/lib/ronin/db/cli/commands/creds.rb +18 -18
- data/lib/ronin/db/cli/commands/migrate.rb +1 -1
- data/lib/ronin/db/cli/commands/urls.rb +6 -6
- data/lib/ronin/db/cli/resources_command.rb +0 -2
- data/lib/ronin/db/cli/uri_methods.rb +8 -3
- data/lib/ronin/db/cli.rb +5 -0
- data/lib/ronin/db/config_file.rb +2 -1
- data/lib/ronin/db/version.rb +1 -1
- data/lib/ronin/db.rb +6 -1
- data/man/ronin-db-add.1 +43 -12
- data/man/ronin-db-add.1.md +30 -10
- data/man/ronin-db-asn.1 +35 -3
- data/man/ronin-db-asn.1.md +25 -3
- data/man/ronin-db-creds.1 +34 -16
- data/man/ronin-db-creds.1.md +27 -16
- data/man/ronin-db-edit.1 +19 -12
- data/man/ronin-db-edit.1.md +15 -10
- data/man/ronin-db-emails.1 +35 -17
- data/man/ronin-db-emails.1.md +28 -17
- data/man/ronin-db-hosts.1 +32 -14
- data/man/ronin-db-hosts.1.md +25 -14
- data/man/ronin-db-ips.1 +35 -17
- data/man/ronin-db-ips.1.md +28 -17
- data/man/ronin-db-irb.1 +28 -12
- data/man/ronin-db-irb.1.md +19 -10
- data/man/ronin-db-list.1 +19 -12
- data/man/ronin-db-list.1.md +15 -10
- data/man/ronin-db-migrate.1 +34 -1
- data/man/ronin-db-migrate.1.md +24 -1
- data/man/ronin-db-remove.1 +19 -12
- data/man/ronin-db-remove.1.md +15 -10
- data/man/ronin-db-urls.1 +35 -17
- data/man/ronin-db-urls.1.md +28 -17
- data/ronin-db.gemspec +4 -3
- metadata +12 -11
data/man/ronin-db-creds.1
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Generated by kramdown-man 0.1.8
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-db-creds 1 "
|
3
|
+
.TH ronin-db-creds 1 "2023-01-02" Ronin "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
@@ -20,8 +20,16 @@ The database to connect to\. Defaults to \fBdefault\fR if not given\.
|
|
20
20
|
.LP
|
21
21
|
.TP
|
22
22
|
\fB--db-uri\fR \fIURI\fP
|
23
|
-
The explicit database URI to connect to
|
24
|
-
|
23
|
+
The explicit database URI to connect to\.
|
24
|
+
.LP
|
25
|
+
.RS
|
26
|
+
.IP \(bu 2
|
27
|
+
\fBsqlite3\fP: \fBsqlite3:relative/path.db\fR or \fBsqlite3:///absolute/path.db\fR
|
28
|
+
.IP \(bu 2
|
29
|
+
\fBmysql\fP: \fBmysql://user:password@host/database\fR
|
30
|
+
.IP \(bu 2
|
31
|
+
\fBpostgres\fP: \fBpostgres://user:password@host/database\fR
|
32
|
+
.RE
|
25
33
|
.LP
|
26
34
|
.TP
|
27
35
|
\fB-v\fR, \fB--verbose\fR
|
@@ -37,37 +45,47 @@ Imports the credentials from the given \fIFILE\fP\.
|
|
37
45
|
.LP
|
38
46
|
.TP
|
39
47
|
\fB--delete\fR \fIVALUE\fP
|
40
|
-
Deletes a value from the database\.
|
48
|
+
Deletes a credential value from the database\.
|
41
49
|
.LP
|
42
50
|
.TP
|
43
51
|
\fB--delete-all\fR
|
44
|
-
Deletes every
|
52
|
+
Deletes every credential from the database\.
|
45
53
|
.LP
|
46
54
|
.TP
|
47
55
|
\fB-u\fR, \fB--for-user\fR \fIUSER\fP
|
48
|
-
Searches for
|
56
|
+
Searches for credentials associated with the \fIUSER\fP\.
|
49
57
|
.LP
|
50
58
|
.TP
|
51
59
|
\fB-p\fR, \fB--with-password\fR \fIPASSWORD\fP
|
52
|
-
Searches for
|
60
|
+
Searches for credentials that have the \fIPASSWORD\fP\.
|
53
61
|
.LP
|
54
|
-
.
|
62
|
+
.TP
|
63
|
+
\fB-h\fR, \fB--help\fR
|
64
|
+
Print help information\.
|
65
|
+
.LP
|
66
|
+
.SH ENVIRONMENT
|
55
67
|
.LP
|
56
68
|
.TP
|
57
|
-
\
|
58
|
-
|
69
|
+
\fIHOME\fP
|
70
|
+
Alternate location for the user\[cq]s home directory\.
|
59
71
|
.LP
|
60
72
|
.TP
|
61
|
-
\
|
62
|
-
|
73
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
74
|
+
Alternate location for the \fB~/.config\fR directory\.
|
75
|
+
.LP
|
76
|
+
.TP
|
77
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
78
|
+
Alternate location for the \fB~/.local/share\fR directory\.
|
79
|
+
.LP
|
80
|
+
.SH FILES
|
63
81
|
.LP
|
64
82
|
.TP
|
65
|
-
\
|
66
|
-
The default sqlite3
|
83
|
+
\fB~/.local/share/ronin-db/database.sqlite3\fR
|
84
|
+
The default sqlite3 database file\.
|
67
85
|
.LP
|
68
86
|
.TP
|
69
|
-
\
|
70
|
-
Optional
|
87
|
+
\fB~/.config/ronin-db/database.yml\fR
|
88
|
+
Optional database configuration\.
|
71
89
|
.LP
|
72
90
|
.SH AUTHOR
|
73
91
|
.LP
|
data/man/ronin-db-creds.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-db-creds 1 "
|
1
|
+
# ronin-db-creds 1 "2023-01-02" Ronin "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -14,8 +14,11 @@ Manages credentials.
|
|
14
14
|
The database to connect to. Defaults to `default` if not given.
|
15
15
|
|
16
16
|
`--db-uri` *URI*
|
17
|
-
The explicit database URI to connect to
|
18
|
-
|
17
|
+
The explicit database URI to connect to.
|
18
|
+
|
19
|
+
* **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
|
20
|
+
* **mysql**: `mysql://user:password@host/database`
|
21
|
+
* **postgres**: `postgres://user:password@host/database`
|
19
22
|
|
20
23
|
`-v`, `--verbose`
|
21
24
|
Enable verbose output.
|
@@ -27,30 +30,38 @@ Manages credentials.
|
|
27
30
|
Imports the credentials from the given *FILE*.
|
28
31
|
|
29
32
|
`--delete` *VALUE*
|
30
|
-
Deletes a value from the database.
|
33
|
+
Deletes a credential value from the database.
|
31
34
|
|
32
35
|
`--delete-all`
|
33
|
-
Deletes every
|
36
|
+
Deletes every credential from the database.
|
34
37
|
|
35
38
|
`-u`, `--for-user` *USER*
|
36
|
-
Searches for
|
39
|
+
Searches for credentials associated with the *USER*.
|
37
40
|
|
38
41
|
`-p`, `--with-password` *PASSWORD*
|
39
|
-
Searches for
|
42
|
+
Searches for credentials that have the *PASSWORD*.
|
40
43
|
|
41
|
-
|
44
|
+
`-h`, `--help`
|
45
|
+
Print help information.
|
46
|
+
|
47
|
+
## ENVIRONMENT
|
42
48
|
|
43
|
-
|
44
|
-
|
49
|
+
*HOME*
|
50
|
+
Alternate location for the user's home directory.
|
45
51
|
|
46
|
-
|
47
|
-
|
52
|
+
*XDG_CONFIG_HOME*
|
53
|
+
Alternate location for the `~/.config` directory.
|
54
|
+
|
55
|
+
*XDG_DATA_HOME*
|
56
|
+
Alternate location for the `~/.local/share` directory.
|
57
|
+
|
58
|
+
## FILES
|
48
59
|
|
49
|
-
|
50
|
-
|
60
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
61
|
+
The default sqlite3 database file.
|
51
62
|
|
52
|
-
|
53
|
-
|
63
|
+
`~/.config/ronin-db/database.yml`
|
64
|
+
Optional database configuration.
|
54
65
|
|
55
66
|
## AUTHOR
|
56
67
|
|
data/man/ronin-db-edit.1
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Generated by kramdown-man 0.1.8
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-db-edit 1 "
|
3
|
+
.TH ronin-db-edit 1 "2023-02-01" Ronin DB "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
@@ -18,22 +18,29 @@ Manually edits the \fB~/.config/ronin-db/database.yml\fR configuration file\.
|
|
18
18
|
\fB-h\fR, \fB--help\fR
|
19
19
|
Print help information\.
|
20
20
|
.LP
|
21
|
-
.SH
|
21
|
+
.SH ENVIRONMENT
|
22
22
|
.LP
|
23
23
|
.TP
|
24
|
-
\
|
25
|
-
|
24
|
+
\fIHOME\fP
|
25
|
+
Alternate location for the user\[cq]s home directory\.
|
26
26
|
.LP
|
27
|
-
.
|
27
|
+
.TP
|
28
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
29
|
+
Alternate location for the \fB~/.config\fR directory\.
|
28
30
|
.LP
|
29
|
-
.
|
30
|
-
HOME
|
31
|
-
|
32
|
-
\fI\[ti]\[sl]\.config\[sl]ronin\-db\fP cache directory within the home directory\.
|
31
|
+
.TP
|
32
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
33
|
+
Alternate location for the \fB~/.local/share\fR directory\.
|
33
34
|
.LP
|
34
|
-
.
|
35
|
-
|
36
|
-
|
35
|
+
.SH FILES
|
36
|
+
.LP
|
37
|
+
.TP
|
38
|
+
\fB~/.local/share/ronin-db/database.sqlite3\fR
|
39
|
+
The default sqlite3 database file\.
|
40
|
+
.LP
|
41
|
+
.TP
|
42
|
+
\fB~/.config/ronin-db/database.yml\fR
|
43
|
+
Optional database configuration\.
|
37
44
|
.LP
|
38
45
|
.SH AUTHOR
|
39
46
|
.LP
|
data/man/ronin-db-edit.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-db-edit 1 "
|
1
|
+
# ronin-db-edit 1 "2023-02-01" Ronin DB "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -13,19 +13,24 @@ Manually edits the `~/.config/ronin-db/database.yml` configuration file.
|
|
13
13
|
`-h`, `--help`
|
14
14
|
Print help information.
|
15
15
|
|
16
|
-
##
|
16
|
+
## ENVIRONMENT
|
17
17
|
|
18
|
-
|
19
|
-
|
18
|
+
*HOME*
|
19
|
+
Alternate location for the user's home directory.
|
20
20
|
|
21
|
-
|
21
|
+
*XDG_CONFIG_HOME*
|
22
|
+
Alternate location for the `~/.config` directory.
|
23
|
+
|
24
|
+
*XDG_DATA_HOME*
|
25
|
+
Alternate location for the `~/.local/share` directory.
|
26
|
+
|
27
|
+
## FILES
|
22
28
|
|
23
|
-
|
24
|
-
|
25
|
-
*~/.config/ronin-db* cache directory within the home directory.
|
29
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
30
|
+
The default sqlite3 database file.
|
26
31
|
|
27
|
-
|
28
|
-
|
32
|
+
`~/.config/ronin-db/database.yml`
|
33
|
+
Optional database configuration.
|
29
34
|
|
30
35
|
## AUTHOR
|
31
36
|
|
data/man/ronin-db-emails.1
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Generated by kramdown-man 0.1.8
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-db-emails 1 "
|
3
|
+
.TH ronin-db-emails 1 "2023-02-01" Ronin "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
@@ -20,28 +20,36 @@ The database to connect to\. Defaults to \fBdefault\fR if not given\.
|
|
20
20
|
.LP
|
21
21
|
.TP
|
22
22
|
\fB--db-uri\fR \fIURI\fP
|
23
|
-
The explicit database URI to connect to
|
24
|
-
|
23
|
+
The explicit database URI to connect to\.
|
24
|
+
.LP
|
25
|
+
.RS
|
26
|
+
.IP \(bu 2
|
27
|
+
\fBsqlite3\fP: \fBsqlite3:relative/path.db\fR or \fBsqlite3:///absolute/path.db\fR
|
28
|
+
.IP \(bu 2
|
29
|
+
\fBmysql\fP: \fBmysql://user:password@host/database\fR
|
30
|
+
.IP \(bu 2
|
31
|
+
\fBpostgres\fP: \fBpostgres://user:password@host/database\fR
|
32
|
+
.RE
|
25
33
|
.LP
|
26
34
|
.TP
|
27
35
|
\fB-v\fR, \fB--verbose\fR
|
28
36
|
Enable verbose output\.
|
29
37
|
.LP
|
30
38
|
.TP
|
31
|
-
\fB--add\fR \
|
32
|
-
Adds the
|
39
|
+
\fB--add\fR \fIVALUE\fP
|
40
|
+
Adds the email address to the database\.
|
33
41
|
.LP
|
34
42
|
.TP
|
35
43
|
\fB--import\fR \fIFILE\fP
|
36
|
-
Imports the
|
44
|
+
Imports the email addresses from the given \fIFILE\fP\.
|
37
45
|
.LP
|
38
46
|
.TP
|
39
47
|
\fB--delete\fR \fIVALUE\fP
|
40
|
-
Deletes
|
48
|
+
Deletes the email address from the database\.
|
41
49
|
.LP
|
42
50
|
.TP
|
43
51
|
\fB--delete-all\fR
|
44
|
-
Deletes every
|
52
|
+
Deletes every email address from the database\.
|
45
53
|
.LP
|
46
54
|
.TP
|
47
55
|
\fB-H\fR, \fB--with-host\fR \fIHOST\fP
|
@@ -55,23 +63,33 @@ Searches for email addresses associated with the IP address\.
|
|
55
63
|
\fB-u\fR, \fB--with-users\fR \fINAME\fP \[lB]\.\.\.\[rB]
|
56
64
|
Searches for email addresses associated with the user NAME(s)\.
|
57
65
|
.LP
|
58
|
-
.
|
66
|
+
.TP
|
67
|
+
\fB-h\fR, \fB--help\fR
|
68
|
+
Print help information\.
|
69
|
+
.LP
|
70
|
+
.SH ENVIRONMENT
|
59
71
|
.LP
|
60
72
|
.TP
|
61
|
-
\
|
62
|
-
|
73
|
+
\fIHOME\fP
|
74
|
+
Alternate location for the user\[cq]s home directory\.
|
63
75
|
.LP
|
64
76
|
.TP
|
65
|
-
\
|
66
|
-
|
77
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
78
|
+
Alternate location for the \fB~/.config\fR directory\.
|
79
|
+
.LP
|
80
|
+
.TP
|
81
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
82
|
+
Alternate location for the \fB~/.local/share\fR directory\.
|
83
|
+
.LP
|
84
|
+
.SH FILES
|
67
85
|
.LP
|
68
86
|
.TP
|
69
|
-
\
|
70
|
-
The default sqlite3
|
87
|
+
\fB~/.local/share/ronin-db/database.sqlite3\fR
|
88
|
+
The default sqlite3 database file\.
|
71
89
|
.LP
|
72
90
|
.TP
|
73
|
-
\
|
74
|
-
Optional
|
91
|
+
\fB~/.config/ronin-db/database.yml\fR
|
92
|
+
Optional database configuration\.
|
75
93
|
.LP
|
76
94
|
.SH AUTHOR
|
77
95
|
.LP
|
data/man/ronin-db-emails.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-db-emails 1 "
|
1
|
+
# ronin-db-emails 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -14,23 +14,26 @@ Manages email addresses.
|
|
14
14
|
The database to connect to. Defaults to `default` if not given.
|
15
15
|
|
16
16
|
`--db-uri` *URI*
|
17
|
-
The explicit database URI to connect to
|
18
|
-
|
17
|
+
The explicit database URI to connect to.
|
18
|
+
|
19
|
+
* **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
|
20
|
+
* **mysql**: `mysql://user:password@host/database`
|
21
|
+
* **postgres**: `postgres://user:password@host/database`
|
19
22
|
|
20
23
|
`-v`, `--verbose`
|
21
24
|
Enable verbose output.
|
22
25
|
|
23
|
-
`--add` *
|
24
|
-
Adds the
|
26
|
+
`--add` *VALUE*
|
27
|
+
Adds the email address to the database.
|
25
28
|
|
26
29
|
`--import` *FILE*
|
27
|
-
Imports the
|
30
|
+
Imports the email addresses from the given *FILE*.
|
28
31
|
|
29
32
|
`--delete` *VALUE*
|
30
|
-
Deletes
|
33
|
+
Deletes the email address from the database.
|
31
34
|
|
32
35
|
`--delete-all`
|
33
|
-
Deletes every
|
36
|
+
Deletes every email address from the database.
|
34
37
|
|
35
38
|
`-H`, `--with-host` *HOST*
|
36
39
|
Searches for email addresses associated with the *HOST*.
|
@@ -41,19 +44,27 @@ Manages email addresses.
|
|
41
44
|
`-u`, `--with-users` *NAME* [...]
|
42
45
|
Searches for email addresses associated with the user NAME(s).
|
43
46
|
|
44
|
-
|
47
|
+
`-h`, `--help`
|
48
|
+
Print help information.
|
49
|
+
|
50
|
+
## ENVIRONMENT
|
45
51
|
|
46
|
-
|
47
|
-
|
52
|
+
*HOME*
|
53
|
+
Alternate location for the user's home directory.
|
48
54
|
|
49
|
-
|
50
|
-
|
55
|
+
*XDG_CONFIG_HOME*
|
56
|
+
Alternate location for the `~/.config` directory.
|
57
|
+
|
58
|
+
*XDG_DATA_HOME*
|
59
|
+
Alternate location for the `~/.local/share` directory.
|
60
|
+
|
61
|
+
## FILES
|
51
62
|
|
52
|
-
|
53
|
-
|
63
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
64
|
+
The default sqlite3 database file.
|
54
65
|
|
55
|
-
|
56
|
-
|
66
|
+
`~/.config/ronin-db/database.yml`
|
67
|
+
Optional database configuration.
|
57
68
|
|
58
69
|
## AUTHOR
|
59
70
|
|
data/man/ronin-db-hosts.1
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Generated by kramdown-man 0.1.8
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-db-hosts 1 "
|
3
|
+
.TH ronin-db-hosts 1 "2023-02-01" Ronin "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
@@ -20,16 +20,24 @@ The database to connect to\. Defaults to \fBdefault\fR if not given\.
|
|
20
20
|
.LP
|
21
21
|
.TP
|
22
22
|
\fB--db-uri\fR \fIURI\fP
|
23
|
-
The explicit database URI to connect to
|
24
|
-
|
23
|
+
The explicit database URI to connect to\.
|
24
|
+
.LP
|
25
|
+
.RS
|
26
|
+
.IP \(bu 2
|
27
|
+
\fBsqlite3\fP: \fBsqlite3:relative/path.db\fR or \fBsqlite3:///absolute/path.db\fR
|
28
|
+
.IP \(bu 2
|
29
|
+
\fBmysql\fP: \fBmysql://user:password@host/database\fR
|
30
|
+
.IP \(bu 2
|
31
|
+
\fBpostgres\fP: \fBpostgres://user:password@host/database\fR
|
32
|
+
.RE
|
25
33
|
.LP
|
26
34
|
.TP
|
27
35
|
\fB-v\fR, \fB--verbose\fR
|
28
36
|
Enable verbose output\.
|
29
37
|
.LP
|
30
38
|
.TP
|
31
|
-
\fB--add\fR \
|
32
|
-
Adds the
|
39
|
+
\fB--add\fR \fIVALUE\fP
|
40
|
+
Adds the hostname to the database\.
|
33
41
|
.LP
|
34
42
|
.TP
|
35
43
|
\fB--import\fR \fIFILE\fP
|
@@ -59,23 +67,33 @@ Searches for HostNames belonging to the DOMAIN (\fBco.uk\fR)\.
|
|
59
67
|
\fB-T\fR, \fB--tld\fR \fITLD\fP
|
60
68
|
Searches for HostNames with the Top\-Level\-Domain (TLD) (\fBru\fR)\.
|
61
69
|
.LP
|
62
|
-
.
|
70
|
+
.TP
|
71
|
+
\fB-h\fR, \fB--help\fR
|
72
|
+
Print help information\.
|
73
|
+
.LP
|
74
|
+
.SH ENVIRONMENT
|
63
75
|
.LP
|
64
76
|
.TP
|
65
|
-
\
|
66
|
-
|
77
|
+
\fIHOME\fP
|
78
|
+
Alternate location for the user\[cq]s home directory\.
|
67
79
|
.LP
|
68
80
|
.TP
|
69
|
-
\
|
70
|
-
|
81
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
82
|
+
Alternate location for the \fB~/.config\fR directory\.
|
83
|
+
.LP
|
84
|
+
.TP
|
85
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
86
|
+
Alternate location for the \fB~/.local/share\fR directory\.
|
87
|
+
.LP
|
88
|
+
.SH FILES
|
71
89
|
.LP
|
72
90
|
.TP
|
73
|
-
\
|
74
|
-
The default sqlite3
|
91
|
+
\fB~/.local/share/ronin-db/database.sqlite3\fR
|
92
|
+
The default sqlite3 database file\.
|
75
93
|
.LP
|
76
94
|
.TP
|
77
|
-
\
|
78
|
-
Optional
|
95
|
+
\fB~/.config/ronin-db/database.yml\fR
|
96
|
+
Optional database configuration\.
|
79
97
|
.LP
|
80
98
|
.SH AUTHOR
|
81
99
|
.LP
|
data/man/ronin-db-hosts.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-db-hosts 1 "
|
1
|
+
# ronin-db-hosts 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -14,14 +14,17 @@ Manages host names.
|
|
14
14
|
The database to connect to. Defaults to `default` if not given.
|
15
15
|
|
16
16
|
`--db-uri` *URI*
|
17
|
-
The explicit database URI to connect to
|
18
|
-
|
17
|
+
The explicit database URI to connect to.
|
18
|
+
|
19
|
+
* **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
|
20
|
+
* **mysql**: `mysql://user:password@host/database`
|
21
|
+
* **postgres**: `postgres://user:password@host/database`
|
19
22
|
|
20
23
|
`-v`, `--verbose`
|
21
24
|
Enable verbose output.
|
22
25
|
|
23
|
-
`--add` *
|
24
|
-
Adds the
|
26
|
+
`--add` *VALUE*
|
27
|
+
Adds the hostname to the database.
|
25
28
|
|
26
29
|
`--import` *FILE*
|
27
30
|
Imports the credentials from the given *FILE*.
|
@@ -44,19 +47,27 @@ Manages host names.
|
|
44
47
|
`-T`, `--tld` *TLD*
|
45
48
|
Searches for HostNames with the Top-Level-Domain (TLD) (`ru`).
|
46
49
|
|
47
|
-
|
50
|
+
`-h`, `--help`
|
51
|
+
Print help information.
|
52
|
+
|
53
|
+
## ENVIRONMENT
|
48
54
|
|
49
|
-
|
50
|
-
|
55
|
+
*HOME*
|
56
|
+
Alternate location for the user's home directory.
|
51
57
|
|
52
|
-
|
53
|
-
|
58
|
+
*XDG_CONFIG_HOME*
|
59
|
+
Alternate location for the `~/.config` directory.
|
60
|
+
|
61
|
+
*XDG_DATA_HOME*
|
62
|
+
Alternate location for the `~/.local/share` directory.
|
63
|
+
|
64
|
+
## FILES
|
54
65
|
|
55
|
-
|
56
|
-
|
66
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
67
|
+
The default sqlite3 database file.
|
57
68
|
|
58
|
-
|
59
|
-
|
69
|
+
`~/.config/ronin-db/database.yml`
|
70
|
+
Optional database configuration.
|
60
71
|
|
61
72
|
## AUTHOR
|
62
73
|
|
data/man/ronin-db-ips.1
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Generated by kramdown-man 0.1.8
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-db-ips 1 "
|
3
|
+
.TH ronin-db-ips 1 "2023-02-01" Ronin "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
@@ -20,28 +20,36 @@ The database to connect to\. Defaults to \fBdefault\fR if not given\.
|
|
20
20
|
.LP
|
21
21
|
.TP
|
22
22
|
\fB--db-uri\fR \fIURI\fP
|
23
|
-
The explicit database URI to connect to
|
24
|
-
|
23
|
+
The explicit database URI to connect to\.
|
24
|
+
.LP
|
25
|
+
.RS
|
26
|
+
.IP \(bu 2
|
27
|
+
\fBsqlite3\fP: \fBsqlite3:relative/path.db\fR or \fBsqlite3:///absolute/path.db\fR
|
28
|
+
.IP \(bu 2
|
29
|
+
\fBmysql\fP: \fBmysql://user:password@host/database\fR
|
30
|
+
.IP \(bu 2
|
31
|
+
\fBpostgres\fP: \fBpostgres://user:password@host/database\fR
|
32
|
+
.RE
|
25
33
|
.LP
|
26
34
|
.TP
|
27
35
|
\fB-v\fR, \fB--verbose\fR
|
28
36
|
Enable verbose output\.
|
29
37
|
.LP
|
30
38
|
.TP
|
31
|
-
\fB--add\fR \
|
32
|
-
Adds the
|
39
|
+
\fB--add\fR \fIVALUE\fP
|
40
|
+
Adds the IP address to the database\.
|
33
41
|
.LP
|
34
42
|
.TP
|
35
43
|
\fB--import\fR \fIFILE\fP
|
36
|
-
Imports the
|
44
|
+
Imports the IP addresses from the given \fIFILE\fP\.
|
37
45
|
.LP
|
38
46
|
.TP
|
39
47
|
\fB--delete\fR \fIVALUE\fP
|
40
|
-
Deletes a
|
48
|
+
Deletes a IP address from the database\.
|
41
49
|
.LP
|
42
50
|
.TP
|
43
51
|
\fB--delete-all\fR
|
44
|
-
Deletes every
|
52
|
+
Deletes every IP address from the database\.
|
45
53
|
.LP
|
46
54
|
.TP
|
47
55
|
\fB-4\fR, \fB--v4\fR
|
@@ -63,23 +71,33 @@ Searches for IP addresses associated with the MAC address\.
|
|
63
71
|
\fB-I\fR, \fB--with-host\fR \fIHOST\fP
|
64
72
|
Searches for IP addresses associated with the \fIHOST\fP\.
|
65
73
|
.LP
|
66
|
-
.
|
74
|
+
.TP
|
75
|
+
\fB-h\fR, \fB--help\fR
|
76
|
+
Print help information\.
|
77
|
+
.LP
|
78
|
+
.SH ENVIRONMENT
|
67
79
|
.LP
|
68
80
|
.TP
|
69
|
-
\
|
70
|
-
|
81
|
+
\fIHOME\fP
|
82
|
+
Alternate location for the user\[cq]s home directory\.
|
71
83
|
.LP
|
72
84
|
.TP
|
73
|
-
\
|
74
|
-
|
85
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
86
|
+
Alternate location for the \fB~/.config\fR directory\.
|
87
|
+
.LP
|
88
|
+
.TP
|
89
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
90
|
+
Alternate location for the \fB~/.local/share\fR directory\.
|
91
|
+
.LP
|
92
|
+
.SH FILES
|
75
93
|
.LP
|
76
94
|
.TP
|
77
|
-
\
|
78
|
-
The default sqlite3
|
95
|
+
\fB~/.local/share/ronin-db/database.sqlite3\fR
|
96
|
+
The default sqlite3 database file\.
|
79
97
|
.LP
|
80
98
|
.TP
|
81
|
-
\
|
82
|
-
Optional
|
99
|
+
\fB~/.config/ronin-db/database.yml\fR
|
100
|
+
Optional database configuration\.
|
83
101
|
.LP
|
84
102
|
.SH AUTHOR
|
85
103
|
.LP
|