ronin-db 0.1.2-java → 0.2.0-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 +3 -2
- data/.gitignore +1 -0
- data/.ruby-version +1 -1
- data/ChangeLog.md +35 -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 +5 -1
- data/lib/ronin/db/config_file.rb +13 -8
- data/lib/ronin/db/exceptions.rb +10 -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 +24 -7
- data/man/ronin-db-add.1 +48 -70
- data/man/ronin-db-add.1.md +26 -22
- data/man/ronin-db-asn.1 +37 -55
- 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 +29 -47
- data/man/ronin-db-creds.1.md +23 -16
- data/man/ronin-db-edit.1 +16 -27
- data/man/ronin-db-edit.1.md +11 -7
- data/man/ronin-db-emails.1 +37 -50
- data/man/ronin-db-emails.1.md +30 -17
- data/man/ronin-db-hosts.1 +32 -52
- data/man/ronin-db-hosts.1.md +25 -18
- data/man/ronin-db-ips.1 +32 -53
- data/man/ronin-db-ips.1.md +26 -19
- data/man/ronin-db-irb.1 +23 -36
- data/man/ronin-db-irb.1.md +17 -10
- data/man/ronin-db-list.1 +17 -31
- data/man/ronin-db-list.1.md +13 -9
- data/man/ronin-db-migrate.1 +23 -36
- 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 +16 -29
- 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 +38 -61
- 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
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# ronin-db-certs 1 "2023-02-01" Ronin DB "User Manuals"
|
|
2
|
+
|
|
3
|
+
## NAME
|
|
4
|
+
|
|
5
|
+
ronin-db-certs - Queries or imports SSL/TLS certificates
|
|
6
|
+
|
|
7
|
+
## SYNOPSIS
|
|
8
|
+
|
|
9
|
+
`ronin-db certs` [*options*]
|
|
10
|
+
|
|
11
|
+
## DESCRIPTION
|
|
12
|
+
|
|
13
|
+
Queries or imports SSL/TLS certificates into 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
|
+
`-A`, `--active`
|
|
34
|
+
: Searches for all Certs that are still valid.
|
|
35
|
+
|
|
36
|
+
`-E`, `--expired`
|
|
37
|
+
: Searches for all Certs that are expired.
|
|
38
|
+
|
|
39
|
+
`--issuer-common-name` *NAME*
|
|
40
|
+
: Searches for all Certs with the Issuer Common Name (CN).
|
|
41
|
+
|
|
42
|
+
`--issuer-organization` *NAME*
|
|
43
|
+
: Searches for all Certs with the Issuer Organization (O).
|
|
44
|
+
|
|
45
|
+
`--issuer-organizational-unit` *NAME*
|
|
46
|
+
: Searches for all Certs with the Issuer Organizational Unit (OU).
|
|
47
|
+
|
|
48
|
+
`--issuer-locality` *LOCALITY*
|
|
49
|
+
: Searches for all Certs with the Issuer Locality (L).
|
|
50
|
+
|
|
51
|
+
`--issuer-state` *STATE*
|
|
52
|
+
: Searches for all Certs with the Issuer State (ST).
|
|
53
|
+
|
|
54
|
+
`--issuer-country` *COUNTRY*
|
|
55
|
+
: Searches for all Certs with the Issuer Country (C).
|
|
56
|
+
|
|
57
|
+
`--common-name` *HOST*
|
|
58
|
+
: Searches for all Certs with the Subject Common Name (CN).
|
|
59
|
+
|
|
60
|
+
`--subject-alt-name` *HOST*
|
|
61
|
+
: Searches for all Certs with the Subject Alternative Name (SAN).
|
|
62
|
+
|
|
63
|
+
`--organization` *NAME*
|
|
64
|
+
: Searches for all Certs with the Subject Organization (O).
|
|
65
|
+
|
|
66
|
+
`--organizational-unit` *NAME*
|
|
67
|
+
: Searches for all Certs with the Subject Organizational Unit (OU).
|
|
68
|
+
|
|
69
|
+
`--locality` *LOCALITY*
|
|
70
|
+
: Searches for all Certs with the Subject Locality (L).
|
|
71
|
+
|
|
72
|
+
`--state` *STATE*
|
|
73
|
+
: Searches for all Certs with the Subject State (ST).
|
|
74
|
+
|
|
75
|
+
`--country` *COUNTRY*
|
|
76
|
+
: Searches for all Certs with the Subject Country (C).
|
|
77
|
+
|
|
78
|
+
`--import` *FILE*
|
|
79
|
+
: Imports a SSL/TLS certificate from a PEM encoded file.
|
|
80
|
+
|
|
81
|
+
`-h`, `--help`
|
|
82
|
+
: Print help information.
|
|
83
|
+
|
|
84
|
+
## ENVIRONMENT
|
|
85
|
+
|
|
86
|
+
*HOME*
|
|
87
|
+
: Alternate location for the user's home directory.
|
|
88
|
+
|
|
89
|
+
*XDG_CONFIG_HOME*
|
|
90
|
+
: Alternate location for the `~/.config` directory.
|
|
91
|
+
|
|
92
|
+
*XDG_DATA_HOME*
|
|
93
|
+
: Alternate location for the `~/.local/share` directory.
|
|
94
|
+
|
|
95
|
+
## FILES
|
|
96
|
+
|
|
97
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
|
98
|
+
: The default sqlite3 database file.
|
|
99
|
+
|
|
100
|
+
`~/.config/ronin-db/database.yml`
|
|
101
|
+
: Optional database configuration.
|
|
102
|
+
|
|
103
|
+
## AUTHOR
|
|
104
|
+
|
|
105
|
+
Postmodern <postmodern.mod3@gmail.com>
|
|
106
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
|
2
|
+
.\" https://github.com/postmodern/kramdown-man#readme
|
|
3
|
+
.TH ronin-db-completion 1 "2024-01-01" Ronin DB "User Manuals"
|
|
4
|
+
.SH NAME
|
|
5
|
+
.PP
|
|
6
|
+
ronin\-db\-completion \- Manages shell completion rules for \fBronin\-db\fR
|
|
7
|
+
.SH SYNOPSIS
|
|
8
|
+
.PP
|
|
9
|
+
\fBronin\-db completion\fR \[lB]\fIoptions\fP\[rB]
|
|
10
|
+
.SH DESCRIPTION
|
|
11
|
+
.PP
|
|
12
|
+
The \fBronin\-db completion\fR command can print, install, or uninstall shell
|
|
13
|
+
completion rules for the \fBronin\-db\fR command\.
|
|
14
|
+
.PP
|
|
15
|
+
Supports installing completion rules for Bash or Zsh shells\.
|
|
16
|
+
Completion rules for the Fish shell is currently not supported\.
|
|
17
|
+
.SS ZSH SUPPORT
|
|
18
|
+
.PP
|
|
19
|
+
Zsh users will have to add the following lines to their \fB\[ti]\[sl]\.zshrc\fR file in
|
|
20
|
+
order to enable Zsh\[cq]s Bash completion compatibility layer:
|
|
21
|
+
.PP
|
|
22
|
+
.RS 4
|
|
23
|
+
.EX
|
|
24
|
+
autoload \-Uz \[pl]X compinit && compinit
|
|
25
|
+
autoload \-Uz \[pl]X bashcompinit && bashcompinit
|
|
26
|
+
.EE
|
|
27
|
+
.RE
|
|
28
|
+
.SH OPTIONS
|
|
29
|
+
.TP
|
|
30
|
+
\fB\-\-print\fR
|
|
31
|
+
Prints the shell completion file\.
|
|
32
|
+
.TP
|
|
33
|
+
\fB\-\-install\fR
|
|
34
|
+
Installs the shell completion file\.
|
|
35
|
+
.TP
|
|
36
|
+
\fB\-\-uninstall\fR
|
|
37
|
+
Uninstalls the shell completion file\.
|
|
38
|
+
.TP
|
|
39
|
+
\fB\-h\fR, \fB\-\-help\fR
|
|
40
|
+
Prints help information\.
|
|
41
|
+
.SH ENVIRONMENT
|
|
42
|
+
.TP
|
|
43
|
+
\fIPREFIX\fP
|
|
44
|
+
Specifies the root prefix for the file system\.
|
|
45
|
+
.TP
|
|
46
|
+
\fIHOME\fP
|
|
47
|
+
Specifies the home directory of the user\. Ronin will search for the
|
|
48
|
+
\fB\[ti]\[sl]\.cache\[sl]ronin\-db\fR cache directory within the home directory\.
|
|
49
|
+
.TP
|
|
50
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
|
51
|
+
Specifies the data directory to use\. Defaults to \fB\[Do]HOME\[sl]\.local\[sl]share\fR\.
|
|
52
|
+
.SH FILES
|
|
53
|
+
.TP
|
|
54
|
+
\fB\[ti]\[sl]\.local\[sl]share\[sl]bash\-completion\[sl]completions\[sl]\fR
|
|
55
|
+
The user\-local installation directory for Bash completion files\.
|
|
56
|
+
.TP
|
|
57
|
+
\fB\[sl]usr\[sl]local\[sl]share\[sl]bash\-completion\[sl]completions\[sl]\fR
|
|
58
|
+
The system\-wide installation directory for Bash completions files\.
|
|
59
|
+
.TP
|
|
60
|
+
\fB\[sl]usr\[sl]local\[sl]share\[sl]zsh\[sl]site\-functions\[sl]\fR
|
|
61
|
+
The installation directory for Zsh completion files\.
|
|
62
|
+
.SH EXAMPLES
|
|
63
|
+
.TP
|
|
64
|
+
\fBronin\-db completion \-\-print\fR
|
|
65
|
+
Prints the shell completion rules instead of installing them\.
|
|
66
|
+
.TP
|
|
67
|
+
\fBronin\-db completion \-\-install\fR
|
|
68
|
+
Installs the shell completion rules for \fBronin\-db\fR\.
|
|
69
|
+
.TP
|
|
70
|
+
\fBronin\-db completion \-\-uninstall\fR
|
|
71
|
+
Uninstalls the shell completion rules for \fBronin\-db\fR\.
|
|
72
|
+
.SH AUTHOR
|
|
73
|
+
.PP
|
|
74
|
+
Postmodern
|
|
75
|
+
.MT postmodern\.mod3\[at]gmail\.com
|
|
76
|
+
.ME
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# ronin-db-completion 1 "2024-01-01" Ronin DB "User Manuals"
|
|
2
|
+
|
|
3
|
+
## NAME
|
|
4
|
+
|
|
5
|
+
ronin-db-completion - Manages shell completion rules for `ronin-db`
|
|
6
|
+
|
|
7
|
+
## SYNOPSIS
|
|
8
|
+
|
|
9
|
+
`ronin-db completion` [*options*]
|
|
10
|
+
|
|
11
|
+
## DESCRIPTION
|
|
12
|
+
|
|
13
|
+
The `ronin-db completion` command can print, install, or uninstall shell
|
|
14
|
+
completion rules for the `ronin-db` command.
|
|
15
|
+
|
|
16
|
+
Supports installing completion rules for Bash or Zsh shells.
|
|
17
|
+
Completion rules for the Fish shell is currently not supported.
|
|
18
|
+
|
|
19
|
+
### ZSH SUPPORT
|
|
20
|
+
|
|
21
|
+
Zsh users will have to add the following lines to their `~/.zshrc` file in
|
|
22
|
+
order to enable Zsh's Bash completion compatibility layer:
|
|
23
|
+
|
|
24
|
+
autoload -Uz +X compinit && compinit
|
|
25
|
+
autoload -Uz +X bashcompinit && bashcompinit
|
|
26
|
+
|
|
27
|
+
## OPTIONS
|
|
28
|
+
|
|
29
|
+
`--print`
|
|
30
|
+
: Prints the shell completion file.
|
|
31
|
+
|
|
32
|
+
`--install`
|
|
33
|
+
: Installs the shell completion file.
|
|
34
|
+
|
|
35
|
+
`--uninstall`
|
|
36
|
+
: Uninstalls the shell completion file.
|
|
37
|
+
|
|
38
|
+
`-h`, `--help`
|
|
39
|
+
: Prints help information.
|
|
40
|
+
|
|
41
|
+
## ENVIRONMENT
|
|
42
|
+
|
|
43
|
+
*PREFIX*
|
|
44
|
+
: Specifies the root prefix for the file system.
|
|
45
|
+
|
|
46
|
+
*HOME*
|
|
47
|
+
: Specifies the home directory of the user. Ronin will search for the
|
|
48
|
+
`~/.cache/ronin-db` cache directory within the home directory.
|
|
49
|
+
|
|
50
|
+
*XDG_DATA_HOME*
|
|
51
|
+
: Specifies the data directory to use. Defaults to `$HOME/.local/share`.
|
|
52
|
+
|
|
53
|
+
## FILES
|
|
54
|
+
|
|
55
|
+
`~/.local/share/bash-completion/completions/`
|
|
56
|
+
: The user-local installation directory for Bash completion files.
|
|
57
|
+
|
|
58
|
+
`/usr/local/share/bash-completion/completions/`
|
|
59
|
+
: The system-wide installation directory for Bash completions files.
|
|
60
|
+
|
|
61
|
+
`/usr/local/share/zsh/site-functions/`
|
|
62
|
+
: The installation directory for Zsh completion files.
|
|
63
|
+
|
|
64
|
+
## EXAMPLES
|
|
65
|
+
|
|
66
|
+
`ronin-db completion --print`
|
|
67
|
+
: Prints the shell completion rules instead of installing them.
|
|
68
|
+
|
|
69
|
+
`ronin-db completion --install`
|
|
70
|
+
: Installs the shell completion rules for `ronin-db`.
|
|
71
|
+
|
|
72
|
+
`ronin-db completion --uninstall`
|
|
73
|
+
: Uninstalls the shell completion rules for `ronin-db`.
|
|
74
|
+
|
|
75
|
+
## AUTHOR
|
|
76
|
+
|
|
77
|
+
Postmodern <postmodern.mod3@gmail.com>
|
|
78
|
+
|
data/man/ronin-db-creds.1
CHANGED
|
@@ -1,96 +1,78 @@
|
|
|
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
|
-
.TH ronin-db-creds 1 "2023-01-02" Ronin "User Manuals"
|
|
4
|
-
.
|
|
3
|
+
.TH ronin-db-creds 1 "2023-01-02" Ronin DB "User Manuals"
|
|
4
|
+
.SH NAME
|
|
5
|
+
.PP
|
|
6
|
+
ronin\-db\-creds \- Manages all credentials in the database
|
|
5
7
|
.SH SYNOPSIS
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
\fBronin-db creds\fR \[lB]\fIoptions\fP\[rB]
|
|
9
|
-
.LP
|
|
8
|
+
.PP
|
|
9
|
+
\fBronin\-db creds\fR \[lB]\fIoptions\fP\[rB]
|
|
10
10
|
.SH DESCRIPTION
|
|
11
|
-
.LP
|
|
12
11
|
.PP
|
|
13
12
|
Manages credentials\.
|
|
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\. Defaults to \fBdefault\fR if not given\.
|
|
20
|
-
.LP
|
|
21
17
|
.TP
|
|
22
|
-
\fB
|
|
18
|
+
\fB\-\-db\-uri\fR \fIURI\fP
|
|
23
19
|
The explicit database URI to connect to\.
|
|
24
|
-
.
|
|
20
|
+
.RS
|
|
25
21
|
.RS
|
|
26
22
|
.IP \(bu 2
|
|
27
|
-
\fBsqlite3\fP: \fBsqlite3:relative
|
|
23
|
+
\fBsqlite3\fP: \fBsqlite3:relative\[sl]path\.db\fR or \fBsqlite3:\[sl]\[sl]\[sl]absolute\[sl]path\.db\fR
|
|
28
24
|
.IP \(bu 2
|
|
29
|
-
\fBmysql\fP: \fBmysql
|
|
25
|
+
\fBmysql\fP: \fBmysql:\[sl]\[sl]user:password\[at]host\[sl]database\fR
|
|
30
26
|
.IP \(bu 2
|
|
31
|
-
\fBpostgres\fP: \fBpostgres
|
|
27
|
+
\fBpostgres\fP: \fBpostgres:\[sl]\[sl]user:password\[at]host\[sl]database\fR
|
|
32
28
|
.RE
|
|
33
|
-
.
|
|
29
|
+
.RE
|
|
30
|
+
.TP
|
|
31
|
+
\fB\-\-db\-file\fR \fIPATH\fP
|
|
32
|
+
The sqlite3 database file to use\.
|
|
34
33
|
.TP
|
|
35
|
-
\fB
|
|
34
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
|
36
35
|
Enable verbose output\.
|
|
37
|
-
.LP
|
|
38
36
|
.TP
|
|
39
|
-
\fB
|
|
37
|
+
\fB\-\-add\fR \fIUSER\fP:\fIPASSWORD\fP
|
|
40
38
|
Adds the \fIUSER\fP and \fIPASSWORD\fP to the database\.
|
|
41
|
-
.LP
|
|
42
39
|
.TP
|
|
43
|
-
\fB
|
|
40
|
+
\fB\-\-import\fR \fIFILE\fP
|
|
44
41
|
Imports the credentials from the given \fIFILE\fP\.
|
|
45
|
-
.LP
|
|
46
42
|
.TP
|
|
47
|
-
\fB
|
|
43
|
+
\fB\-\-delete\fR \fIVALUE\fP
|
|
48
44
|
Deletes a credential value from the database\.
|
|
49
|
-
.LP
|
|
50
45
|
.TP
|
|
51
|
-
\fB
|
|
46
|
+
\fB\-\-delete\-all\fR
|
|
52
47
|
Deletes every credential from the database\.
|
|
53
|
-
.LP
|
|
54
48
|
.TP
|
|
55
|
-
\fB
|
|
49
|
+
\fB\-u\fR, \fB\-\-for\-user\fR \fIUSER\fP
|
|
56
50
|
Searches for credentials associated with the \fIUSER\fP\.
|
|
57
|
-
.LP
|
|
58
51
|
.TP
|
|
59
|
-
\fB
|
|
52
|
+
\fB\-p\fR, \fB\-\-with\-password\fR \fIPASSWORD\fP
|
|
60
53
|
Searches for credentials that have the \fIPASSWORD\fP\.
|
|
61
|
-
.LP
|
|
62
54
|
.TP
|
|
63
|
-
\fB
|
|
55
|
+
\fB\-h\fR, \fB\-\-help\fR
|
|
64
56
|
Print help information\.
|
|
65
|
-
.LP
|
|
66
57
|
.SH ENVIRONMENT
|
|
67
|
-
.LP
|
|
68
58
|
.TP
|
|
69
59
|
\fIHOME\fP
|
|
70
60
|
Alternate location for the user\[cq]s home directory\.
|
|
71
|
-
.LP
|
|
72
61
|
.TP
|
|
73
62
|
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
|
74
|
-
Alternate location for the \fB
|
|
75
|
-
.LP
|
|
63
|
+
Alternate location for the \fB\[ti]\[sl]\.config\fR directory\.
|
|
76
64
|
.TP
|
|
77
65
|
\fIXDG\[ru]DATA\[ru]HOME\fP
|
|
78
|
-
Alternate location for the \fB
|
|
79
|
-
.LP
|
|
66
|
+
Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\.
|
|
80
67
|
.SH FILES
|
|
81
|
-
.LP
|
|
82
68
|
.TP
|
|
83
|
-
\fB
|
|
69
|
+
\fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR
|
|
84
70
|
The default sqlite3 database file\.
|
|
85
|
-
.LP
|
|
86
71
|
.TP
|
|
87
|
-
\fB
|
|
72
|
+
\fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR
|
|
88
73
|
Optional database configuration\.
|
|
89
|
-
.LP
|
|
90
74
|
.SH AUTHOR
|
|
91
|
-
.LP
|
|
92
75
|
.PP
|
|
93
76
|
Postmodern
|
|
94
77
|
.MT postmodern\.mod3\[at]gmail\.com
|
|
95
78
|
.ME
|
|
96
|
-
.LP
|
data/man/ronin-db-creds.1.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
# ronin-db-creds 1 "2023-01-02" Ronin "User Manuals"
|
|
1
|
+
# ronin-db-creds 1 "2023-01-02" Ronin DB "User Manuals"
|
|
2
|
+
|
|
3
|
+
## NAME
|
|
4
|
+
|
|
5
|
+
ronin-db-creds - Manages all credentials in the database
|
|
2
6
|
|
|
3
7
|
## SYNOPSIS
|
|
4
8
|
|
|
@@ -11,57 +15,60 @@ Manages credentials.
|
|
|
11
15
|
## OPTIONS
|
|
12
16
|
|
|
13
17
|
`--db` *NAME*
|
|
14
|
-
|
|
18
|
+
: The database to connect to. Defaults to `default` if not given.
|
|
15
19
|
|
|
16
20
|
`--db-uri` *URI*
|
|
17
|
-
|
|
21
|
+
: The explicit database URI to connect to.
|
|
18
22
|
|
|
19
23
|
* **sqlite3**: `sqlite3:relative/path.db` or `sqlite3:///absolute/path.db`
|
|
20
24
|
* **mysql**: `mysql://user:password@host/database`
|
|
21
25
|
* **postgres**: `postgres://user:password@host/database`
|
|
22
26
|
|
|
27
|
+
`--db-file` *PATH*
|
|
28
|
+
: The sqlite3 database file to use.
|
|
29
|
+
|
|
23
30
|
`-v`, `--verbose`
|
|
24
|
-
|
|
31
|
+
: Enable verbose output.
|
|
25
32
|
|
|
26
33
|
`--add` *USER*:*PASSWORD*
|
|
27
|
-
|
|
34
|
+
: Adds the *USER* and *PASSWORD* to the database.
|
|
28
35
|
|
|
29
36
|
`--import` *FILE*
|
|
30
|
-
|
|
37
|
+
: Imports the credentials from the given *FILE*.
|
|
31
38
|
|
|
32
39
|
`--delete` *VALUE*
|
|
33
|
-
|
|
40
|
+
: Deletes a credential value from the database.
|
|
34
41
|
|
|
35
42
|
`--delete-all`
|
|
36
|
-
|
|
43
|
+
: Deletes every credential from the database.
|
|
37
44
|
|
|
38
45
|
`-u`, `--for-user` *USER*
|
|
39
|
-
|
|
46
|
+
: Searches for credentials associated with the *USER*.
|
|
40
47
|
|
|
41
48
|
`-p`, `--with-password` *PASSWORD*
|
|
42
|
-
|
|
49
|
+
: Searches for credentials that have the *PASSWORD*.
|
|
43
50
|
|
|
44
51
|
`-h`, `--help`
|
|
45
|
-
|
|
52
|
+
: Print help information.
|
|
46
53
|
|
|
47
54
|
## ENVIRONMENT
|
|
48
55
|
|
|
49
56
|
*HOME*
|
|
50
|
-
|
|
57
|
+
: Alternate location for the user's home directory.
|
|
51
58
|
|
|
52
59
|
*XDG_CONFIG_HOME*
|
|
53
|
-
|
|
60
|
+
: Alternate location for the `~/.config` directory.
|
|
54
61
|
|
|
55
62
|
*XDG_DATA_HOME*
|
|
56
|
-
|
|
63
|
+
: Alternate location for the `~/.local/share` directory.
|
|
57
64
|
|
|
58
65
|
## FILES
|
|
59
66
|
|
|
60
67
|
`~/.local/share/ronin-db/database.sqlite3`
|
|
61
|
-
|
|
68
|
+
: The default sqlite3 database file.
|
|
62
69
|
|
|
63
70
|
`~/.config/ronin-db/database.yml`
|
|
64
|
-
|
|
71
|
+
: Optional database configuration.
|
|
65
72
|
|
|
66
73
|
## AUTHOR
|
|
67
74
|
|
data/man/ronin-db-edit.1
CHANGED
|
@@ -1,55 +1,44 @@
|
|
|
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-edit 1 "2023-02-01" Ronin DB "User Manuals"
|
|
4
|
-
.
|
|
4
|
+
.SH NAME
|
|
5
|
+
.PP
|
|
6
|
+
ronin\-db\-edit \- Manually edits the database\.yml configuration file
|
|
5
7
|
.SH SYNOPSIS
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
\fBronin-db edit\fR \[lB]\fIoptions\fP\[rB]
|
|
9
|
-
.LP
|
|
8
|
+
.PP
|
|
9
|
+
\fBronin\-db edit\fR \[lB]\fIoptions\fP\[rB]
|
|
10
10
|
.SH DESCRIPTION
|
|
11
|
-
.LP
|
|
12
11
|
.PP
|
|
13
|
-
Manually edits the \fB
|
|
14
|
-
.LP
|
|
12
|
+
Manually edits the \fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR configuration file\.
|
|
15
13
|
.SH OPTIONS
|
|
16
|
-
.LP
|
|
17
14
|
.TP
|
|
18
|
-
\fB
|
|
15
|
+
\fB\-h\fR, \fB\-\-help\fR
|
|
19
16
|
Print help information\.
|
|
20
|
-
.LP
|
|
21
17
|
.SH ENVIRONMENT
|
|
22
|
-
.LP
|
|
23
18
|
.TP
|
|
24
19
|
\fIHOME\fP
|
|
25
20
|
Alternate location for the user\[cq]s home directory\.
|
|
26
|
-
.LP
|
|
27
21
|
.TP
|
|
28
22
|
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
|
29
|
-
Alternate location for the \fB
|
|
30
|
-
.LP
|
|
23
|
+
Alternate location for the \fB\[ti]\[sl]\.config\fR directory\.
|
|
31
24
|
.TP
|
|
32
25
|
\fIXDG\[ru]DATA\[ru]HOME\fP
|
|
33
|
-
Alternate location for the \fB
|
|
34
|
-
.LP
|
|
26
|
+
Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\.
|
|
35
27
|
.SH FILES
|
|
36
|
-
.LP
|
|
37
28
|
.TP
|
|
38
|
-
\fB
|
|
29
|
+
\fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR
|
|
39
30
|
The default sqlite3 database file\.
|
|
40
|
-
.LP
|
|
41
31
|
.TP
|
|
42
|
-
\fB
|
|
32
|
+
\fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR
|
|
43
33
|
Optional database configuration\.
|
|
44
|
-
.LP
|
|
45
34
|
.SH AUTHOR
|
|
46
|
-
.LP
|
|
47
35
|
.PP
|
|
48
36
|
Postmodern
|
|
49
37
|
.MT postmodern\.mod3\[at]gmail\.com
|
|
50
38
|
.ME
|
|
51
|
-
.LP
|
|
52
39
|
.SH SEE ALSO
|
|
53
|
-
.LP
|
|
54
40
|
.PP
|
|
55
|
-
|
|
41
|
+
.BR ronin\-db (1)
|
|
42
|
+
.BR ronin\-db\-add (1)
|
|
43
|
+
.BR ronin\-db\-list (1)
|
|
44
|
+
.BR ronin\-db\-remove (1)
|
data/man/ronin-db-edit.1.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# ronin-db-edit 1 "2023-02-01" Ronin DB "User Manuals"
|
|
2
2
|
|
|
3
|
+
## NAME
|
|
4
|
+
|
|
5
|
+
ronin-db-edit - Manually edits the database.yml configuration file
|
|
6
|
+
|
|
3
7
|
## SYNOPSIS
|
|
4
8
|
|
|
5
9
|
`ronin-db edit` [*options*]
|
|
@@ -11,26 +15,26 @@ Manually edits the `~/.config/ronin-db/database.yml` configuration file.
|
|
|
11
15
|
## OPTIONS
|
|
12
16
|
|
|
13
17
|
`-h`, `--help`
|
|
14
|
-
|
|
18
|
+
: Print help information.
|
|
15
19
|
|
|
16
20
|
## ENVIRONMENT
|
|
17
21
|
|
|
18
22
|
*HOME*
|
|
19
|
-
|
|
23
|
+
: Alternate location for the user's home directory.
|
|
20
24
|
|
|
21
25
|
*XDG_CONFIG_HOME*
|
|
22
|
-
|
|
26
|
+
: Alternate location for the `~/.config` directory.
|
|
23
27
|
|
|
24
28
|
*XDG_DATA_HOME*
|
|
25
|
-
|
|
29
|
+
: Alternate location for the `~/.local/share` directory.
|
|
26
30
|
|
|
27
31
|
## FILES
|
|
28
32
|
|
|
29
33
|
`~/.local/share/ronin-db/database.sqlite3`
|
|
30
|
-
|
|
34
|
+
: The default sqlite3 database file.
|
|
31
35
|
|
|
32
36
|
`~/.config/ronin-db/database.yml`
|
|
33
|
-
|
|
37
|
+
: Optional database configuration.
|
|
34
38
|
|
|
35
39
|
## AUTHOR
|
|
36
40
|
|
|
@@ -38,4 +42,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
|
38
42
|
|
|
39
43
|
## SEE ALSO
|
|
40
44
|
|
|
41
|
-
ronin-db(1) ronin-db-add(1) ronin-db-list(1) ronin-db-remove(1)
|
|
45
|
+
[ronin-db](ronin-db.1.md) [ronin-db-add](ronin-db-add.1.md) [ronin-db-list](ronin-db-list.1.md) [ronin-db-remove](ronin-db-remove.1.md)
|