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,81 @@
|
|
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
|
2
|
+
.\" https://github.com/postmodern/kramdown-man#readme
|
|
3
|
+
.TH ronin-db-street-addresses 1 "2023-02-01" Ronin DB "User Manuals"
|
|
4
|
+
.SH NAME
|
|
5
|
+
.PP
|
|
6
|
+
ronin\-db\-street\-addresses \- Queries street addresses in the database
|
|
7
|
+
.SH SYNOPSIS
|
|
8
|
+
.PP
|
|
9
|
+
\fBronin\-db street\-addresses\fR \[lB]\fIoptions\fP\[rB]
|
|
10
|
+
.SH DESCRIPTION
|
|
11
|
+
.PP
|
|
12
|
+
Queries StreetAddresses\.
|
|
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\-\-for\-person\fR \fIFULL\[ru]NAME\fP
|
|
38
|
+
Searches for street addresses associated with the person\[cq]s full name\.
|
|
39
|
+
.TP
|
|
40
|
+
\fB\-O\fR, \fB\-\-for\-organization\fR \fINAME\fP
|
|
41
|
+
Searches for street addresses associated with the organization\[cq]s name\.
|
|
42
|
+
.TP
|
|
43
|
+
\fB\-a\fR, \fB\-\-with\-address\fR \fIADDRESS\fP
|
|
44
|
+
Searches for street addresses with the matching address\.
|
|
45
|
+
.TP
|
|
46
|
+
\fB\-c\fR, \fB\-\-with\-city\fR \fICITY\fP
|
|
47
|
+
Searches for street addresses with the matching city\.
|
|
48
|
+
.TP
|
|
49
|
+
\fB\-s\fR, \fB\-\-with\-state\fR \fISTATE\fP
|
|
50
|
+
Searches for street addresses with the matching state\.
|
|
51
|
+
.TP
|
|
52
|
+
\fB\-C\fR, \fB\-\-with\-country\fR \fICOUNTRY\fP
|
|
53
|
+
Searches for street addresses with the matching country\.
|
|
54
|
+
.TP
|
|
55
|
+
\fB\-z\fR, \fB\-\-with\-zipcode\fR \fIZIPCODE\fP
|
|
56
|
+
Searches for street addresses with the matching zipcode\.
|
|
57
|
+
.TP
|
|
58
|
+
\fB\-h\fR, \fB\-\-help\fR
|
|
59
|
+
Print help information\.
|
|
60
|
+
.SH ENVIRONMENT
|
|
61
|
+
.TP
|
|
62
|
+
\fIHOME\fP
|
|
63
|
+
Alternate location for the user\[cq]s home directory\.
|
|
64
|
+
.TP
|
|
65
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
|
66
|
+
Alternate location for the \fB\[ti]\[sl]\.config\fR directory\.
|
|
67
|
+
.TP
|
|
68
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
|
69
|
+
Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\.
|
|
70
|
+
.SH FILES
|
|
71
|
+
.TP
|
|
72
|
+
\fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR
|
|
73
|
+
The default sqlite3 database file\.
|
|
74
|
+
.TP
|
|
75
|
+
\fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR
|
|
76
|
+
Optional database configuration\.
|
|
77
|
+
.SH AUTHOR
|
|
78
|
+
.PP
|
|
79
|
+
Postmodern
|
|
80
|
+
.MT postmodern\.mod3\[at]gmail\.com
|
|
81
|
+
.ME
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# ronin-db-street-addresses 1 "2023-02-01" Ronin DB "User Manuals"
|
|
2
|
+
|
|
3
|
+
## NAME
|
|
4
|
+
|
|
5
|
+
ronin-db-street-addresses - Queries street addresses in the database
|
|
6
|
+
|
|
7
|
+
## SYNOPSIS
|
|
8
|
+
|
|
9
|
+
`ronin-db street-addresses` [*options*]
|
|
10
|
+
|
|
11
|
+
## DESCRIPTION
|
|
12
|
+
|
|
13
|
+
Queries StreetAddresses.
|
|
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`, `--for-person` *FULL_NAME*
|
|
34
|
+
: Searches for street addresses associated with the person's full name.
|
|
35
|
+
|
|
36
|
+
`-O`, `--for-organization` *NAME*
|
|
37
|
+
: Searches for street addresses associated with the organization's name.
|
|
38
|
+
|
|
39
|
+
`-a`, `--with-address` *ADDRESS*
|
|
40
|
+
: Searches for street addresses with the matching address.
|
|
41
|
+
|
|
42
|
+
`-c`, `--with-city` *CITY*
|
|
43
|
+
: Searches for street addresses with the matching city.
|
|
44
|
+
|
|
45
|
+
`-s`, `--with-state` *STATE*
|
|
46
|
+
: Searches for street addresses with the matching state.
|
|
47
|
+
|
|
48
|
+
`-C`, `--with-country` *COUNTRY*
|
|
49
|
+
: Searches for street addresses with the matching country.
|
|
50
|
+
|
|
51
|
+
`-z`, `--with-zipcode` *ZIPCODE*
|
|
52
|
+
: Searches for street addresses with the matching zipcode.
|
|
53
|
+
|
|
54
|
+
`-h`, `--help`
|
|
55
|
+
: Print help information.
|
|
56
|
+
|
|
57
|
+
## ENVIRONMENT
|
|
58
|
+
|
|
59
|
+
*HOME*
|
|
60
|
+
: Alternate location for the user's home directory.
|
|
61
|
+
|
|
62
|
+
*XDG_CONFIG_HOME*
|
|
63
|
+
: Alternate location for the `~/.config` directory.
|
|
64
|
+
|
|
65
|
+
*XDG_DATA_HOME*
|
|
66
|
+
: Alternate location for the `~/.local/share` directory.
|
|
67
|
+
|
|
68
|
+
## FILES
|
|
69
|
+
|
|
70
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
|
71
|
+
: The default sqlite3 database file.
|
|
72
|
+
|
|
73
|
+
`~/.config/ronin-db/database.yml`
|
|
74
|
+
: Optional database configuration.
|
|
75
|
+
|
|
76
|
+
## AUTHOR
|
|
77
|
+
|
|
78
|
+
Postmodern <postmodern.mod3@gmail.com>
|
|
79
|
+
|
data/man/ronin-db-urls.1
CHANGED
|
@@ -1,116 +1,93 @@
|
|
|
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-urls 1 "2023-02-01" Ronin "User Manuals"
|
|
4
|
-
.
|
|
3
|
+
.TH ronin-db-urls 1 "2023-02-01" Ronin DB "User Manuals"
|
|
4
|
+
.SH NAME
|
|
5
|
+
.PP
|
|
6
|
+
ronin\-db\-urls \- Manages URLs in the database
|
|
5
7
|
.SH SYNOPSIS
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
\fBronin-db urls\fR \[lB]\fIoptions\fP\[rB]
|
|
9
|
-
.LP
|
|
8
|
+
.PP
|
|
9
|
+
\fBronin\-db urls\fR \[lB]\fIoptions\fP\[rB]
|
|
10
10
|
.SH DESCRIPTION
|
|
11
|
-
.LP
|
|
12
11
|
.PP
|
|
13
12
|
Manages URLs\.
|
|
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
|
|
28
|
+
.RE
|
|
32
29
|
.RE
|
|
33
|
-
.LP
|
|
34
30
|
.TP
|
|
35
|
-
\fB
|
|
31
|
+
\fB\-\-db\-file\fR \fIPATH\fP
|
|
32
|
+
The sqlite3 database file to use\.
|
|
33
|
+
.TP
|
|
34
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
|
36
35
|
Enable verbose output\.
|
|
37
|
-
.LP
|
|
38
36
|
.TP
|
|
39
|
-
\fB
|
|
37
|
+
\fB\-\-add\fR \fIVALUE\fP
|
|
40
38
|
Adds the URL to the database\.
|
|
41
|
-
.LP
|
|
42
39
|
.TP
|
|
43
|
-
\fB
|
|
40
|
+
\fB\-\-import\fR \fIFILE\fP
|
|
44
41
|
Imports the URLs from the given \fIFILE\fP\.
|
|
45
|
-
.LP
|
|
46
42
|
.TP
|
|
47
|
-
\fB
|
|
43
|
+
\fB\-\-delete\fR \fIVALUE\fP
|
|
48
44
|
Deletes the URL from the database\.
|
|
49
|
-
.LP
|
|
50
45
|
.TP
|
|
51
|
-
\fB
|
|
46
|
+
\fB\-\-delete\-all\fR
|
|
52
47
|
Deletes every URL from the database\.
|
|
53
|
-
.LP
|
|
54
48
|
.TP
|
|
55
|
-
\fB
|
|
56
|
-
Searches for \fBhttp
|
|
57
|
-
.LP
|
|
49
|
+
\fB\-\-http\fR
|
|
50
|
+
Searches for \fBhttp:\[sl]\[sl]\fR URLs\.
|
|
58
51
|
.TP
|
|
59
|
-
\fB
|
|
60
|
-
Searches for \fBhttps
|
|
61
|
-
.LP
|
|
52
|
+
\fB\-\-https\fR
|
|
53
|
+
Searches for \fBhttps:\[sl]\[sl]\fR URLs\.
|
|
62
54
|
.TP
|
|
63
|
-
\fB
|
|
55
|
+
\fB\-H\fR, \fB\-\-host\fR \fIHOST\fP
|
|
64
56
|
Searches for URLs with the given \fIHOST\fP\.
|
|
65
|
-
.LP
|
|
66
57
|
.TP
|
|
67
|
-
\fB
|
|
58
|
+
\fB\-p\fR, \fB\-\-with\-port\fR \fIPORT\fP
|
|
68
59
|
Searches for URLs associated with the \fIPORT\fP\.
|
|
69
|
-
.LP
|
|
70
60
|
.TP
|
|
71
|
-
\fB
|
|
61
|
+
\fB\-d\fR, \fB\-\-directory\fR \fIDIRECTORY\fP
|
|
72
62
|
Searches for URLs sharing the DIRECTORY\.
|
|
73
|
-
.
|
|
74
|
-
|
|
75
|
-
\fB-q\fR, \fB--with-query-param\fR \fINAME\fP \[lB]\.\.\.\[rB]
|
|
63
|
+
.TP
|
|
64
|
+
\fB\-q\fR, \fB\-\-with\-query\-param\fR \fINAME\fP \[lB]\.\.\.\[rB]
|
|
76
65
|
Searches for URLs containing the query\-param NAME\.
|
|
77
|
-
.
|
|
78
|
-
|
|
79
|
-
\fB-Q\fR, \fB--with-query-value\fR \fIVALUE\fP \[lB]\.\.\.\[rB]
|
|
66
|
+
.TP
|
|
67
|
+
\fB\-Q\fR, \fB\-\-with\-query\-value\fR \fIVALUE\fP \[lB]\.\.\.\[rB]
|
|
80
68
|
Searches for URLs containing the query\-param VALUE\.
|
|
81
|
-
.LP
|
|
82
69
|
.TP
|
|
83
|
-
\fB
|
|
70
|
+
\fB\-h\fR, \fB\-\-help\fR
|
|
84
71
|
Print help information\.
|
|
85
|
-
.LP
|
|
86
72
|
.SH ENVIRONMENT
|
|
87
|
-
.LP
|
|
88
73
|
.TP
|
|
89
74
|
\fIHOME\fP
|
|
90
75
|
Alternate location for the user\[cq]s home directory\.
|
|
91
|
-
.LP
|
|
92
76
|
.TP
|
|
93
77
|
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
|
94
|
-
Alternate location for the \fB
|
|
95
|
-
.LP
|
|
78
|
+
Alternate location for the \fB\[ti]\[sl]\.config\fR directory\.
|
|
96
79
|
.TP
|
|
97
80
|
\fIXDG\[ru]DATA\[ru]HOME\fP
|
|
98
|
-
Alternate location for the \fB
|
|
99
|
-
.LP
|
|
81
|
+
Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\.
|
|
100
82
|
.SH FILES
|
|
101
|
-
.LP
|
|
102
83
|
.TP
|
|
103
|
-
\fB
|
|
84
|
+
\fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR
|
|
104
85
|
The default sqlite3 database file\.
|
|
105
|
-
.LP
|
|
106
86
|
.TP
|
|
107
|
-
\fB
|
|
87
|
+
\fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR
|
|
108
88
|
Optional database configuration\.
|
|
109
|
-
.LP
|
|
110
89
|
.SH AUTHOR
|
|
111
|
-
.LP
|
|
112
90
|
.PP
|
|
113
91
|
Postmodern
|
|
114
92
|
.MT postmodern\.mod3\[at]gmail\.com
|
|
115
93
|
.ME
|
|
116
|
-
.LP
|
data/man/ronin-db-urls.1.md
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
# ronin-db-urls 1 "2023-02-01" Ronin "User Manuals"
|
|
1
|
+
# ronin-db-urls 1 "2023-02-01" Ronin DB "User Manuals"
|
|
2
|
+
|
|
3
|
+
## NAME
|
|
4
|
+
|
|
5
|
+
ronin-db-urls - Manages URLs in the database
|
|
2
6
|
|
|
3
7
|
## SYNOPSIS
|
|
4
8
|
|
|
@@ -11,72 +15,75 @@ Manages URLs.
|
|
|
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` *VALUE*
|
|
27
|
-
|
|
34
|
+
: Adds the URL to the database.
|
|
28
35
|
|
|
29
36
|
`--import` *FILE*
|
|
30
|
-
|
|
37
|
+
: Imports the URLs from the given *FILE*.
|
|
31
38
|
|
|
32
39
|
`--delete` *VALUE*
|
|
33
|
-
|
|
40
|
+
: Deletes the URL from the database.
|
|
34
41
|
|
|
35
42
|
`--delete-all`
|
|
36
|
-
|
|
43
|
+
: Deletes every URL from the database.
|
|
37
44
|
|
|
38
45
|
`--http`
|
|
39
|
-
|
|
46
|
+
: Searches for `http://` URLs.
|
|
40
47
|
|
|
41
48
|
`--https`
|
|
42
|
-
|
|
49
|
+
: Searches for `https://` URLs.
|
|
43
50
|
|
|
44
51
|
`-H`, `--host` *HOST*
|
|
45
|
-
|
|
52
|
+
: Searches for URLs with the given *HOST*.
|
|
46
53
|
|
|
47
54
|
`-p`, `--with-port` *PORT*
|
|
48
|
-
|
|
55
|
+
: Searches for URLs associated with the *PORT*.
|
|
49
56
|
|
|
50
57
|
`-d`, `--directory` *DIRECTORY*
|
|
51
|
-
|
|
58
|
+
: Searches for URLs sharing the DIRECTORY.
|
|
52
59
|
|
|
53
60
|
`-q`, `--with-query-param` *NAME* [...]
|
|
54
|
-
|
|
61
|
+
: Searches for URLs containing the query-param NAME.
|
|
55
62
|
|
|
56
63
|
`-Q`, `--with-query-value` *VALUE* [...]
|
|
57
|
-
|
|
64
|
+
: Searches for URLs containing the query-param VALUE.
|
|
58
65
|
|
|
59
66
|
`-h`, `--help`
|
|
60
|
-
|
|
67
|
+
: Print help information.
|
|
61
68
|
|
|
62
69
|
## ENVIRONMENT
|
|
63
70
|
|
|
64
71
|
*HOME*
|
|
65
|
-
|
|
72
|
+
: Alternate location for the user's home directory.
|
|
66
73
|
|
|
67
74
|
*XDG_CONFIG_HOME*
|
|
68
|
-
|
|
75
|
+
: Alternate location for the `~/.config` directory.
|
|
69
76
|
|
|
70
77
|
*XDG_DATA_HOME*
|
|
71
|
-
|
|
78
|
+
: Alternate location for the `~/.local/share` directory.
|
|
72
79
|
|
|
73
80
|
## FILES
|
|
74
81
|
|
|
75
82
|
`~/.local/share/ronin-db/database.sqlite3`
|
|
76
|
-
|
|
83
|
+
: The default sqlite3 database file.
|
|
77
84
|
|
|
78
85
|
`~/.config/ronin-db/database.yml`
|
|
79
|
-
|
|
86
|
+
: Optional database configuration.
|
|
80
87
|
|
|
81
88
|
## AUTHOR
|
|
82
89
|
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
|
2
|
+
.\" https://github.com/postmodern/kramdown-man#readme
|
|
3
|
+
.TH ronin-db-web-vulns 1 "2024-01-01" Ronin DB "User Manuals"
|
|
4
|
+
.SH NAME
|
|
5
|
+
.PP
|
|
6
|
+
ronin\-db\-web\-vulns \- Manages Web Vulns in the database
|
|
7
|
+
.SH SYNOPSIS
|
|
8
|
+
.PP
|
|
9
|
+
\fBronin\-db urls\fR \[lB]\fIoptions\fP\[rB]
|
|
10
|
+
.SH DESCRIPTION
|
|
11
|
+
.PP
|
|
12
|
+
Manages and queries discovered Web Vulnerabilities in the database\.
|
|
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\-t\fR, \fB\-\-with\-type\fR \fBlfi\fR\[or]\fBrfi\fR\[or]\fBsqli\fR\[or]\fBssti\fR\[or]\fBopen\-redirect\fR\[or]\fBreflected\-xss\fR\[or]\fBcommand\-injection\fR
|
|
38
|
+
Searches for all web vulnerabilities of the given type\.
|
|
39
|
+
.TP
|
|
40
|
+
\fB\-H\fR, \fB\-\-for\-host\fR \fIHOST\fP
|
|
41
|
+
Searches for web vulnerabilities effecting the host\.
|
|
42
|
+
.TP
|
|
43
|
+
\fB\-d\fR, \fB\-\-for\-domain\fR \fIDOMAIN\fP
|
|
44
|
+
Searches for web vulnerabilities effecting the domain\.
|
|
45
|
+
.TP
|
|
46
|
+
\fB\-p\fR, \fB\-\-for\-path\fR \fIPATH\fP
|
|
47
|
+
Searches for web vulnerabilities effecting the given URL\[cq]s path\.
|
|
48
|
+
.TP
|
|
49
|
+
\fB\-q\fR, \fB\-\-with\-query\-param\fR \fINAME\fP
|
|
50
|
+
Searches for web vulnerabilities effecting the query param name\.
|
|
51
|
+
.TP
|
|
52
|
+
\fB\-\-with\-header\-name\fR \fINAME\fP
|
|
53
|
+
Searches for web vulnerabilities effecting the HTTP header name\.
|
|
54
|
+
.TP
|
|
55
|
+
\fB\-c\fR, \fB\-\-with\-cookie\-param\fR \fINAME\fP
|
|
56
|
+
Searches for web vulnerabilities effecting the cookie param name\.
|
|
57
|
+
.TP
|
|
58
|
+
\fB\-f\fR, \fB\-\-with\-form\-param\fR \fINAME\fP
|
|
59
|
+
Searches for web vulnerabilities effecting the form param name\.
|
|
60
|
+
.TP
|
|
61
|
+
\fB\-M\fR, \fB\-\-with\-request\-method\fR \fIHTTP\[ru]METHOD\fP
|
|
62
|
+
Searches for all web vulnerabilities with the HTTP request method\.
|
|
63
|
+
.TP
|
|
64
|
+
\fB\-h\fR, \fB\-\-help\fR
|
|
65
|
+
Print help information\.
|
|
66
|
+
.SH ENVIRONMENT
|
|
67
|
+
.TP
|
|
68
|
+
\fIHOME\fP
|
|
69
|
+
Alternate location for the user\[cq]s home directory\.
|
|
70
|
+
.TP
|
|
71
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
|
72
|
+
Alternate location for the \fB\[ti]\[sl]\.config\fR directory\.
|
|
73
|
+
.TP
|
|
74
|
+
\fIXDG\[ru]DATA\[ru]HOME\fP
|
|
75
|
+
Alternate location for the \fB\[ti]\[sl]\.local\[sl]share\fR directory\.
|
|
76
|
+
.SH FILES
|
|
77
|
+
.TP
|
|
78
|
+
\fB\[ti]\[sl]\.local\[sl]share\[sl]ronin\-db\[sl]database\.sqlite3\fR
|
|
79
|
+
The default sqlite3 database file\.
|
|
80
|
+
.TP
|
|
81
|
+
\fB\[ti]\[sl]\.config\[sl]ronin\-db\[sl]database\.yml\fR
|
|
82
|
+
Optional database configuration\.
|
|
83
|
+
.SH AUTHOR
|
|
84
|
+
.PP
|
|
85
|
+
Postmodern
|
|
86
|
+
.MT postmodern\.mod3\[at]gmail\.com
|
|
87
|
+
.ME
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# ronin-db-web-vulns 1 "2024-01-01" Ronin DB "User Manuals"
|
|
2
|
+
|
|
3
|
+
## NAME
|
|
4
|
+
|
|
5
|
+
ronin-db-web-vulns - Manages Web Vulns in the database
|
|
6
|
+
|
|
7
|
+
## SYNOPSIS
|
|
8
|
+
|
|
9
|
+
`ronin-db urls` [*options*]
|
|
10
|
+
|
|
11
|
+
## DESCRIPTION
|
|
12
|
+
|
|
13
|
+
Manages and queries discovered Web Vulnerabilities in the database.
|
|
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
|
+
`-t`, `--with-type` `lfi`\|`rfi`\|`sqli`\|`ssti`\|`open-redirect`\|`reflected-xss`\|`command-injection`
|
|
34
|
+
: Searches for all web vulnerabilities of the given type.
|
|
35
|
+
|
|
36
|
+
`-H`, `--for-host` *HOST*
|
|
37
|
+
: Searches for web vulnerabilities effecting the host.
|
|
38
|
+
|
|
39
|
+
`-d`, `--for-domain` *DOMAIN*
|
|
40
|
+
: Searches for web vulnerabilities effecting the domain.
|
|
41
|
+
|
|
42
|
+
`-p`, `--for-path` *PATH*
|
|
43
|
+
: Searches for web vulnerabilities effecting the given URL's path.
|
|
44
|
+
|
|
45
|
+
`-q`, `--with-query-param` *NAME*
|
|
46
|
+
: Searches for web vulnerabilities effecting the query param name.
|
|
47
|
+
|
|
48
|
+
`--with-header-name` *NAME*
|
|
49
|
+
: Searches for web vulnerabilities effecting the HTTP header name.
|
|
50
|
+
|
|
51
|
+
`-c`, `--with-cookie-param` *NAME*
|
|
52
|
+
: Searches for web vulnerabilities effecting the cookie param name.
|
|
53
|
+
|
|
54
|
+
`-f`, `--with-form-param` *NAME*
|
|
55
|
+
: Searches for web vulnerabilities effecting the form param name.
|
|
56
|
+
|
|
57
|
+
`-M`, `--with-request-method` *HTTP_METHOD*
|
|
58
|
+
: Searches for all web vulnerabilities with the HTTP request method.
|
|
59
|
+
|
|
60
|
+
`-h`, `--help`
|
|
61
|
+
: Print help information.
|
|
62
|
+
|
|
63
|
+
## ENVIRONMENT
|
|
64
|
+
|
|
65
|
+
*HOME*
|
|
66
|
+
: Alternate location for the user's home directory.
|
|
67
|
+
|
|
68
|
+
*XDG_CONFIG_HOME*
|
|
69
|
+
: Alternate location for the `~/.config` directory.
|
|
70
|
+
|
|
71
|
+
*XDG_DATA_HOME*
|
|
72
|
+
: Alternate location for the `~/.local/share` directory.
|
|
73
|
+
|
|
74
|
+
## FILES
|
|
75
|
+
|
|
76
|
+
`~/.local/share/ronin-db/database.sqlite3`
|
|
77
|
+
: The default sqlite3 database file.
|
|
78
|
+
|
|
79
|
+
`~/.config/ronin-db/database.yml`
|
|
80
|
+
: Optional database configuration.
|
|
81
|
+
|
|
82
|
+
## AUTHOR
|
|
83
|
+
|
|
84
|
+
Postmodern <postmodern.mod3@gmail.com>
|
|
85
|
+
|