ronin 2.0.5 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +3 -3
- data/.gitignore +1 -0
- data/.rubocop.yml +5 -1
- data/.ruby-version +1 -1
- data/ChangeLog.md +62 -1
- data/Gemfile +66 -29
- data/README.md +165 -20
- data/Rakefile +9 -0
- data/data/completions/ronin +655 -0
- data/data/templates/dns_proxy.rb.erb +35 -0
- data/gemspec.yml +29 -15
- data/lib/ronin/cli/binary_template.rb +124 -0
- data/lib/ronin/cli/commands/archive.rb +104 -0
- data/lib/ronin/cli/commands/banner_grab.rb +2 -0
- data/lib/ronin/cli/commands/bitflip.rb +1 -1
- data/lib/ronin/cli/commands/bitsquat.rb +119 -0
- data/lib/ronin/cli/commands/cert_dump.rb +20 -4
- data/lib/ronin/cli/commands/cert_gen.rb +9 -19
- data/lib/ronin/cli/commands/cert_grab.rb +4 -3
- data/lib/ronin/cli/commands/completion.rb +115 -0
- data/lib/ronin/cli/commands/dns_proxy.rb +239 -0
- data/lib/ronin/cli/commands/http.rb +80 -8
- data/lib/ronin/cli/commands/ip.rb +101 -0
- data/lib/ronin/cli/commands/iprange.rb +25 -8
- data/lib/ronin/cli/commands/netcat.rb +2 -0
- data/lib/ronin/cli/commands/new/dns_listener.rb +37 -0
- data/lib/ronin/cli/commands/new/dns_proxy.rb +99 -0
- data/lib/ronin/cli/commands/new/exploit.rb +34 -0
- data/lib/ronin/cli/commands/new/http_listener.rb +37 -0
- data/lib/ronin/cli/commands/new/nokogiri.rb +33 -0
- data/lib/ronin/cli/commands/new/payload.rb +34 -0
- data/lib/ronin/cli/commands/new/project.rb +1 -1
- data/lib/ronin/cli/commands/new/script.rb +1 -1
- data/lib/ronin/cli/commands/new/web_app.rb +37 -0
- data/lib/ronin/cli/commands/new/web_server.rb +37 -0
- data/lib/ronin/cli/commands/new/web_spider.rb +37 -0
- data/lib/ronin/cli/commands/new.rb +3 -1
- data/lib/ronin/cli/commands/pack.rb +339 -0
- data/lib/ronin/cli/commands/public_suffix_list.rb +2 -0
- data/lib/ronin/cli/commands/tld_list.rb +2 -0
- data/lib/ronin/cli/commands/unarchive.rb +128 -0
- data/lib/ronin/cli/commands/unhexdump.rb +3 -1
- data/lib/ronin/cli/commands/unpack.rb +195 -0
- data/lib/ronin/cli/commands/url.rb +2 -0
- data/lib/ronin/cli/http_shell.rb +25 -0
- data/lib/ronin/cli.rb +10 -0
- data/lib/ronin/version.rb +1 -1
- data/man/ronin-archive.1.md +49 -0
- data/man/ronin-asn.1 +60 -77
- data/man/ronin-asn.1.md +25 -21
- data/man/ronin-banner-grab.1 +10 -21
- data/man/ronin-banner-grab.1.md +9 -5
- data/man/ronin-bitflip.1 +35 -61
- data/man/ronin-bitflip.1.md +30 -26
- data/man/ronin-bitsquat.1 +40 -0
- data/man/ronin-bitsquat.1.md +43 -0
- data/man/ronin-cert-dump.1 +44 -54
- data/man/ronin-cert-dump.1.md +18 -14
- data/man/ronin-cert-gen.1 +73 -94
- data/man/ronin-cert-gen.1.md +38 -34
- data/man/ronin-cert-grab.1 +29 -37
- data/man/ronin-cert-grab.1.md +12 -8
- data/man/ronin-completion.1 +78 -0
- data/man/ronin-completion.1.md +80 -0
- data/man/ronin-decode.1 +32 -63
- data/man/ronin-decode.1.md +29 -25
- data/man/ronin-decrypt.1 +42 -57
- data/man/ronin-decrypt.1.md +20 -16
- data/man/ronin-dns-proxy.1 +100 -0
- data/man/ronin-dns-proxy.1.md +70 -0
- data/man/ronin-dns.1 +10 -21
- data/man/ronin-dns.1.md +9 -5
- data/man/ronin-email-addr.1 +27 -40
- data/man/ronin-email-addr.1.md +15 -11
- data/man/ronin-encode.1 +93 -63
- data/man/ronin-encode.1.md +64 -26
- data/man/ronin-encrypt.1 +42 -57
- data/man/ronin-encrypt.1.md +20 -16
- data/man/ronin-entropy.1 +11 -21
- data/man/ronin-entropy.1.md +8 -4
- data/man/ronin-escape.1 +22 -46
- data/man/ronin-escape.1.md +22 -18
- data/man/ronin-extract.1 +74 -149
- data/man/ronin-extract.1.md +73 -69
- data/man/ronin-grep.1 +77 -155
- data/man/ronin-grep.1.md +76 -72
- data/man/ronin-help.1 +3 -14
- data/man/ronin-help.1.md +2 -2
- data/man/ronin-hexdump.1 +249 -265
- data/man/ronin-hexdump.1.md +93 -89
- data/man/ronin-highlight.1 +8 -18
- data/man/ronin-highlight.1.md +8 -4
- data/man/ronin-hmac.1 +17 -30
- data/man/ronin-hmac.1.md +14 -10
- data/man/ronin-homoglyph.1 +11 -22
- data/man/ronin-homoglyph.1.md +10 -6
- data/man/ronin-host.1 +23 -47
- data/man/ronin-host.1.md +22 -18
- data/man/ronin-http.1 +40 -69
- data/man/ronin-http.1.md +40 -30
- data/man/ronin-ip.1 +70 -80
- data/man/ronin-ip.1.md +44 -28
- data/man/ronin-iprange.1 +14 -22
- data/man/ronin-iprange.1.md +12 -5
- data/man/ronin-irb.1 +9 -17
- data/man/ronin-irb.1.md +7 -3
- data/man/ronin-md5.1 +13 -24
- data/man/ronin-md5.1.md +11 -7
- data/man/ronin-netcat.1 +25 -51
- data/man/ronin-netcat.1.md +25 -21
- data/man/ronin-new-dns-proxy.1 +45 -0
- data/man/ronin-new-dns-proxy.1.md +44 -0
- data/man/ronin-new-project.1 +32 -45
- data/man/ronin-new-project.1.md +11 -11
- data/man/ronin-new-script.1 +10 -22
- data/man/ronin-new-script.1.md +4 -4
- data/man/ronin-new.1 +56 -31
- data/man/ronin-new.1.md +48 -8
- data/man/ronin-pack.1 +979 -0
- data/man/ronin-pack.1.md +929 -0
- data/man/ronin-proxy.1 +37 -63
- data/man/ronin-proxy.1.md +29 -25
- data/man/ronin-public-suffix-list.1 +16 -32
- data/man/ronin-public-suffix-list.1.md +13 -9
- data/man/ronin-quote.1 +17 -36
- data/man/ronin-quote.1.md +17 -13
- data/man/ronin-rot.1 +26 -39
- data/man/ronin-rot.1.md +15 -11
- data/man/ronin-sha1.1 +13 -24
- data/man/ronin-sha1.1.md +11 -7
- data/man/ronin-sha256.1 +13 -24
- data/man/ronin-sha256.1.md +11 -7
- data/man/ronin-sha512.1 +13 -24
- data/man/ronin-sha512.1.md +11 -7
- data/man/ronin-strings.1 +30 -55
- data/man/ronin-strings.1.md +27 -23
- data/man/ronin-tips.1 +8 -16
- data/man/ronin-tips.1.md +7 -3
- data/man/ronin-tld-list.1 +16 -32
- data/man/ronin-tld-list.1.md +13 -9
- data/man/ronin-typo.1 +14 -28
- data/man/ronin-typo.1.md +13 -9
- data/man/ronin-typosquat.1 +15 -32
- data/man/ronin-typosquat.1.md +15 -11
- data/man/ronin-unarchive.1.md +41 -0
- data/man/ronin-unescape.1 +22 -46
- data/man/ronin-unescape.1.md +22 -18
- data/man/ronin-unhexdump.1 +81 -91
- data/man/ronin-unhexdump.1.md +16 -12
- data/man/ronin-unpack.1 +980 -0
- data/man/ronin-unpack.1.md +920 -0
- data/man/ronin-unquote.1 +17 -36
- data/man/ronin-unquote.1.md +17 -13
- data/man/ronin-url.1 +19 -40
- data/man/ronin-url.1.md +19 -15
- data/man/ronin-xor.1 +14 -28
- data/man/ronin-xor.1.md +13 -9
- data/man/ronin.1 +208 -29
- data/man/ronin.1.md +156 -11
- data/scripts/setup +58 -0
- metadata +157 -67
- data/lib/ronin/config.rb +0 -95
- /data/data/{new → templates}/project/.gitignore +0 -0
- /data/data/{new → templates}/project/.ruby-version.erb +0 -0
- /data/data/{new → templates}/project/Dockerfile.erb +0 -0
- /data/data/{new → templates}/project/Gemfile.erb +0 -0
- /data/data/{new → templates}/project/Rakefile +0 -0
- /data/data/{new → templates}/project/project.rb.erb +0 -0
- /data/data/{new → templates}/script.rb.erb +0 -0
data/man/ronin-proxy.1
CHANGED
@@ -1,129 +1,103 @@
|
|
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-proxy 1 "2023-02-01" Ronin "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-proxy \- Starts a TCP\[sl]UDP\[sl]SSL\[sl]TLS intercept proxy server
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
.HP
|
8
|
+
.PP
|
8
9
|
\fBronin proxy\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIPROXY\[ru]HOST\fP:\[rB]\fIPROXY\[ru]PORT\fP \fIUPSTREAM\[ru]HOST\fP:\fIUPSTREAM\[ru]PORT\fP
|
9
|
-
.LP
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
12
|
Starts a TCP\[sl]UDP\[sl]SSL\[sl]TLS proxy server\.
|
14
|
-
.LP
|
15
13
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
15
|
\fIPROXY\[ru]HOST\fP
|
19
16
|
The local host to listen on\.
|
20
|
-
.LP
|
21
17
|
.TP
|
22
18
|
\fIPROXY\[ru]PORT\fP
|
23
19
|
The local port to bind to\.
|
24
|
-
.LP
|
25
20
|
.TP
|
26
21
|
\fIUPSTREAM\[ru]HOST\fP
|
27
22
|
The upstream host to proxy data to\.
|
28
|
-
.LP
|
29
23
|
.TP
|
30
24
|
\fIUPSTREAM\[ru]PORT\fP
|
31
25
|
The upstream port to proxy data to\.
|
32
|
-
.LP
|
33
26
|
.SH OPTIONS
|
34
|
-
.LP
|
35
27
|
.TP
|
36
|
-
\fB
|
28
|
+
\fB\-t\fR, \fB\-\-tcp\fR
|
37
29
|
Enables or disables TCP mode\.
|
38
|
-
.LP
|
39
30
|
.TP
|
40
|
-
\fB
|
31
|
+
\fB\-S\fR, \fB\-\-ssl\fR
|
41
32
|
Enables or disables SSL mode\.
|
42
|
-
.LP
|
43
33
|
.TP
|
44
|
-
\fB
|
34
|
+
\fB\-T\fR, \fB\-\-tls\fR
|
45
35
|
Enables or disables TLS mode\.
|
46
|
-
.LP
|
47
36
|
.TP
|
48
|
-
\fB
|
37
|
+
\fB\-u\fR, \fB\-\-udp\fR
|
49
38
|
Enables or disables UDP mode\.
|
50
|
-
.LP
|
51
39
|
.TP
|
52
|
-
\fB
|
40
|
+
\fB\-x\fR, \fB\-\-\[lB]no\-\[rB]hexdump\fR
|
53
41
|
Enables or disables hexdump mode\.
|
54
|
-
.LP
|
55
42
|
.TP
|
56
|
-
\fB
|
43
|
+
\fB\-r\fR, \fB\-\-rewrite\fR \fI\[sl]REGEXP\[sl]:STRING\fP
|
57
44
|
Replace REGEXP with STRING in every message\.
|
58
|
-
.LP
|
59
45
|
.TP
|
60
|
-
\fB
|
46
|
+
\fB\-\-rewrite\-client\fR \fI\[sl]REGEXP\[sl]:STRING\fP
|
61
47
|
Replace REGEXP with STRING in every client message\.
|
62
|
-
.LP
|
63
48
|
.TP
|
64
|
-
\fB
|
49
|
+
\fB\-\-rewrite\-server\fR \fI\[sl]REGEXP\[sl]:STRING\fP
|
65
50
|
Replace REGEXP with STRING in every server message\.
|
66
|
-
.LP
|
67
51
|
.TP
|
68
|
-
\fB
|
52
|
+
\fB\-i\fR, \fB\-\-ignore\fR \fI\[sl]REGEXP\[sl]\fP
|
69
53
|
Ignore messages matching the REGEXP\.
|
70
|
-
.LP
|
71
54
|
.TP
|
72
|
-
\fB
|
55
|
+
\fB\-\-ignore\-client\fR \fI\[sl]REGEXP\[sl]\fP
|
73
56
|
Ignore messages from the client matching the REGEXP\.
|
74
|
-
.LP
|
75
57
|
.TP
|
76
|
-
\fB
|
58
|
+
\fB\-\-ignore\-server\fR \fI\[sl]REGEXP\[sl]\fP
|
77
59
|
Ignore messages from the server matching the REGEXP\.
|
78
|
-
.LP
|
79
60
|
.TP
|
80
|
-
\fB
|
61
|
+
\fB\-C\fR, \fB\-\-close\fR \fI\[sl]REGEXP\[sl]\fP
|
81
62
|
Closes the connection if the client or server sends a message matching
|
82
63
|
the REGEXP\.
|
83
|
-
.LP
|
84
64
|
.TP
|
85
|
-
\fB
|
65
|
+
\fB\-\-close\-client\fR \fI\[sl]REGEXP\[sl]\fP
|
86
66
|
Closes the connection if the client sends a message matching the REGEXP\.
|
87
|
-
.LP
|
88
67
|
.TP
|
89
|
-
\fB
|
68
|
+
\fB\-\-close\-server\fR \fI\[sl]REGEXP\[sl]\fP
|
90
69
|
Closes the connection if the server sends a message matching the REGEXP\.
|
91
|
-
.LP
|
92
70
|
.TP
|
93
|
-
\fB
|
71
|
+
\fB\-R\fR, \fB\-\-reset\fR \fI\[sl]REGEXP\[sl]\fP
|
94
72
|
Reset the connection if the client or server sends a message matching
|
95
73
|
the REGEXP\.
|
96
|
-
.LP
|
97
74
|
.TP
|
98
|
-
\fB
|
75
|
+
\fB\-\-reset\-client\fR \fI\[sl]REGEXP\[sl]\fP
|
99
76
|
Reset the connection if the client sends a message matching the REGEXP\.
|
100
|
-
.LP
|
101
77
|
.TP
|
102
|
-
\fB
|
78
|
+
\fB\-\-reset\-server\fR \fI\[sl]REGEXP\[sl]\fP
|
103
79
|
Reset the connection if the server sends a message matching the REGEXP\.
|
104
|
-
.LP
|
105
80
|
.SH EXAMPLES
|
106
|
-
.LP
|
107
81
|
.PP
|
108
82
|
Starts a TCP proxy listening on \fBlocalhost\fR port 8080 that forwards all data
|
109
|
-
to \fBgoogle
|
110
|
-
.
|
111
|
-
.
|
112
|
-
|
113
|
-
|
114
|
-
.
|
83
|
+
to \fBgoogle\.com\fR port 80:
|
84
|
+
.PP
|
85
|
+
.RS 4
|
86
|
+
.EX
|
87
|
+
\[Do] ronin proxy 8080 google\.com:80
|
88
|
+
.EE
|
89
|
+
.RE
|
90
|
+
.PP
|
91
|
+
Starts a UDP proxy listening on \fB0\.8\.0\.0\fR port 53 that forwards all data to
|
92
|
+
\fB8\.8\.8\.8\fR port 53:
|
115
93
|
.PP
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
.
|
120
|
-
|
121
|
-
.fi
|
122
|
-
.LP
|
94
|
+
.RS 4
|
95
|
+
.EX
|
96
|
+
\[Do] sudo ronin proxy \-\-udp \-\-hexdump 0\.0\.0\.0:53 8\.8\.8\.8:53
|
97
|
+
.EE
|
98
|
+
.RE
|
123
99
|
.SH AUTHOR
|
124
|
-
.LP
|
125
100
|
.PP
|
126
101
|
Postmodern
|
127
102
|
.MT postmodern\.mod3\[at]gmail\.com
|
128
103
|
.ME
|
129
|
-
.LP
|
data/man/ronin-proxy.1.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-proxy 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-proxy - Starts a TCP/UDP/SSL/TLS intercept proxy server
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin proxy` [*options*] [*PROXY_HOST*:]*PROXY_PORT* *UPSTREAM_HOST*:*UPSTREAM_PORT*
|
@@ -11,83 +15,83 @@ Starts a TCP/UDP/SSL/TLS proxy server.
|
|
11
15
|
## ARGUMENTS
|
12
16
|
|
13
17
|
*PROXY_HOST*
|
14
|
-
|
18
|
+
: The local host to listen on.
|
15
19
|
|
16
20
|
*PROXY_PORT*
|
17
|
-
|
21
|
+
: The local port to bind to.
|
18
22
|
|
19
23
|
*UPSTREAM_HOST*
|
20
|
-
|
24
|
+
: The upstream host to proxy data to.
|
21
25
|
|
22
26
|
*UPSTREAM_PORT*
|
23
|
-
|
27
|
+
: The upstream port to proxy data to.
|
24
28
|
|
25
29
|
## OPTIONS
|
26
30
|
|
27
31
|
`-t`, `--tcp`
|
28
|
-
|
32
|
+
: Enables or disables TCP mode.
|
29
33
|
|
30
34
|
`-S`, `--ssl`
|
31
|
-
|
35
|
+
: Enables or disables SSL mode.
|
32
36
|
|
33
37
|
`-T`, `--tls`
|
34
|
-
|
38
|
+
: Enables or disables TLS mode.
|
35
39
|
|
36
40
|
`-u`, `--udp`
|
37
|
-
|
41
|
+
: Enables or disables UDP mode.
|
38
42
|
|
39
43
|
`-x`, `--[no-]hexdump`
|
40
|
-
|
44
|
+
: Enables or disables hexdump mode.
|
41
45
|
|
42
46
|
`-r`, `--rewrite` */REGEXP/:STRING*
|
43
|
-
|
47
|
+
: Replace REGEXP with STRING in every message.
|
44
48
|
|
45
49
|
`--rewrite-client` */REGEXP/:STRING*
|
46
|
-
|
50
|
+
: Replace REGEXP with STRING in every client message.
|
47
51
|
|
48
52
|
`--rewrite-server` */REGEXP/:STRING*
|
49
|
-
|
53
|
+
: Replace REGEXP with STRING in every server message.
|
50
54
|
|
51
55
|
`-i`, `--ignore` */REGEXP/*
|
52
|
-
|
56
|
+
: Ignore messages matching the REGEXP.
|
53
57
|
|
54
58
|
`--ignore-client` */REGEXP/*
|
55
|
-
|
59
|
+
: Ignore messages from the client matching the REGEXP.
|
56
60
|
|
57
61
|
`--ignore-server` */REGEXP/*
|
58
|
-
|
62
|
+
: Ignore messages from the server matching the REGEXP.
|
59
63
|
|
60
64
|
`-C`, `--close` */REGEXP/*
|
61
|
-
|
62
|
-
|
65
|
+
: Closes the connection if the client or server sends a message matching
|
66
|
+
the REGEXP.
|
63
67
|
|
64
68
|
`--close-client` */REGEXP/*
|
65
|
-
|
69
|
+
: Closes the connection if the client sends a message matching the REGEXP.
|
66
70
|
|
67
71
|
`--close-server` */REGEXP/*
|
68
|
-
|
72
|
+
: Closes the connection if the server sends a message matching the REGEXP.
|
69
73
|
|
70
74
|
`-R`, `--reset` */REGEXP/*
|
71
|
-
|
72
|
-
|
75
|
+
: Reset the connection if the client or server sends a message matching
|
76
|
+
the REGEXP.
|
73
77
|
|
74
78
|
`--reset-client` */REGEXP/*
|
75
|
-
|
79
|
+
: Reset the connection if the client sends a message matching the REGEXP.
|
76
80
|
|
77
81
|
`--reset-server` */REGEXP/*
|
78
|
-
|
82
|
+
: Reset the connection if the server sends a message matching the REGEXP.
|
79
83
|
|
80
84
|
## EXAMPLES
|
81
85
|
|
82
86
|
Starts a TCP proxy listening on `localhost` port 8080 that forwards all data
|
83
87
|
to `google.com` port 80:
|
84
88
|
|
85
|
-
|
89
|
+
$ ronin proxy 8080 google.com:80
|
86
90
|
|
87
91
|
Starts a UDP proxy listening on `0.8.0.0` port 53 that forwards all data to
|
88
92
|
`8.8.8.8` port 53:
|
89
93
|
|
90
|
-
|
94
|
+
$ sudo ronin proxy --udp --hexdump 0.0.0.0:53 8.8.8.8:53
|
91
95
|
|
92
96
|
## AUTHOR
|
93
97
|
|
@@ -1,65 +1,49 @@
|
|
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-public-suffix-list 1 "2023-02-1" Ronin "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-public\-suffix\-list \- Updates and parses the public suffix list file
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
|
8
|
-
\fBronin public-suffix-list\fR \[lB]\fIoptions\fP\[rB]
|
9
|
-
.LP
|
8
|
+
.PP
|
9
|
+
\fBronin public\-suffix\-list\fR \[lB]\fIoptions\fP\[rB]
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
12
|
Updates and parses the public suffix list file\.
|
14
|
-
.LP
|
15
13
|
.SH OPTIONS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
|
-
\fB
|
15
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
19
16
|
Enables verbose output\.
|
20
|
-
.LP
|
21
17
|
.TP
|
22
|
-
\fB
|
18
|
+
\fB\-u\fR, \fB\-\-update\fR
|
23
19
|
Updates the public suffix list file\.
|
24
|
-
.LP
|
25
20
|
.TP
|
26
|
-
\fB
|
21
|
+
\fB\-U\fR, \fB\-\-url\fR \fIURL\fP
|
27
22
|
The URL to the public suffix list\. Defaults to
|
28
|
-
\fBhttps
|
29
|
-
.LP
|
23
|
+
\fBhttps:\[sl]\[sl]publicsuffix\.org\[sl]list\[sl]public\[ru]suffix\[ru]list\.dat\fR\.
|
30
24
|
.TP
|
31
|
-
\fB
|
25
|
+
\fB\-p\fR, \fB\-\-path\fR \fIFILE\fP
|
32
26
|
The Path to the public suffix list file\. Defaults to
|
33
|
-
\fB
|
34
|
-
.LP
|
27
|
+
\fB\[ti]\[sl]\.cache\[sl]ronin\[sl]ronin\-support\[sl]public\[ru]suffix\[ru]list\.dat\fR if not given\.
|
35
28
|
.TP
|
36
|
-
\fB
|
29
|
+
\fB\-h\fR, \fB\-\-help\fR
|
37
30
|
Print help information
|
38
|
-
.LP
|
39
31
|
.SH ENVIRONMENT
|
40
|
-
.LP
|
41
32
|
.TP
|
42
33
|
\fIHOME\fP
|
43
34
|
Alternate location for the user\[cq]s home directory\.
|
44
|
-
.LP
|
45
35
|
.TP
|
46
36
|
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
47
|
-
Alternate location for the \fB
|
48
|
-
.LP
|
37
|
+
Alternate location for the \fB\[ti]\[sl]\.config\fR directory\.
|
49
38
|
.SH FILES
|
50
|
-
.LP
|
51
39
|
.TP
|
52
|
-
\fB
|
40
|
+
\fB\[ti]\[sl]\.cache\[sl]ronin\[sl]ronin\-support\[sl]public\[ru]suffix\[ru]list\.dat\fR
|
53
41
|
The location of the downloaded public suffix list\.
|
54
|
-
.LP
|
55
42
|
.SH AUTHOR
|
56
|
-
.LP
|
57
43
|
.PP
|
58
44
|
Postmodern
|
59
45
|
.MT postmodern\.mod3\[at]gmail\.com
|
60
46
|
.ME
|
61
|
-
.LP
|
62
47
|
.SH SEE ALSO
|
63
|
-
.LP
|
64
48
|
.PP
|
65
|
-
ronin\-tld\-list(1)
|
49
|
+
.BR ronin\-tld\-list (1)
|
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-public-suffix-list 1 "2023-02-1" Ronin "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-public-suffix-list - Updates and parses the public suffix list file
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin public-suffix-list` [*options*]
|
@@ -11,34 +15,34 @@ Updates and parses the public suffix list file.
|
|
11
15
|
## OPTIONS
|
12
16
|
|
13
17
|
`-v`, `--verbose`
|
14
|
-
|
18
|
+
: Enables verbose output.
|
15
19
|
|
16
20
|
`-u`, `--update`
|
17
|
-
|
21
|
+
: Updates the public suffix list file.
|
18
22
|
|
19
23
|
`-U`, `--url` *URL*
|
20
|
-
|
24
|
+
: The URL to the public suffix list. Defaults to
|
21
25
|
`https://publicsuffix.org/list/public_suffix_list.dat`.
|
22
26
|
|
23
27
|
`-p`, `--path` *FILE*
|
24
|
-
|
28
|
+
: The Path to the public suffix list file. Defaults to
|
25
29
|
`~/.cache/ronin/ronin-support/public_suffix_list.dat` if not given.
|
26
30
|
|
27
31
|
`-h`, `--help`
|
28
|
-
|
32
|
+
: Print help information
|
29
33
|
|
30
34
|
## ENVIRONMENT
|
31
35
|
|
32
36
|
*HOME*
|
33
|
-
|
37
|
+
: Alternate location for the user's home directory.
|
34
38
|
|
35
39
|
*XDG_CONFIG_HOME*
|
36
|
-
|
40
|
+
: Alternate location for the `~/.config` directory.
|
37
41
|
|
38
42
|
## FILES
|
39
43
|
|
40
44
|
`~/.cache/ronin/ronin-support/public_suffix_list.dat`
|
41
|
-
|
45
|
+
: The location of the downloaded public suffix list.
|
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-tld-list(1)
|
53
|
+
[ronin-tld-list](ronin-tld-list.1.md)
|
data/man/ronin-quote.1
CHANGED
@@ -1,78 +1,59 @@
|
|
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-quote 1 "2023-02-01" Ronin "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-quote \- Produces quoted a string for a variety of programming languages
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
.HP
|
8
|
+
.PP
|
8
9
|
\fBronin quote\fR \[lB]\fIoptions\fP\[rB] \[lB]\fIFILE\fP \.\.\.\[rB]
|
9
|
-
.LP
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
12
|
Produces quoted a string for a variety of programming languages\.
|
14
|
-
.LP
|
15
13
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
15
|
\fIFILE\fP
|
19
16
|
The optional file to read and process\. If no \fIFILE\fP arguments are given,
|
20
17
|
input will be read from \fBstdin\fR\.
|
21
|
-
.LP
|
22
18
|
.SH OPTIONS
|
23
|
-
.LP
|
24
19
|
.TP
|
25
|
-
\fB
|
20
|
+
\fB\-f\fR, \fB\-\-file\fR \fIFILE\fP
|
26
21
|
Optional file to process\.
|
27
|
-
.LP
|
28
22
|
.TP
|
29
|
-
\fB
|
23
|
+
\fB\-\-string\fR \fISTRING\fP
|
30
24
|
Optional string to process\.
|
31
|
-
.LP
|
32
25
|
.TP
|
33
|
-
\fB
|
26
|
+
\fB\-M\fR, \fB\-\-multiline\fR
|
34
27
|
Process each line separately\.
|
35
|
-
.LP
|
36
28
|
.TP
|
37
|
-
\fB
|
29
|
+
\fB\-n\fR, \fB\-\-keep\-newlines\fR
|
38
30
|
Preserves newlines at the end of each line\.
|
39
|
-
.LP
|
40
31
|
.TP
|
41
|
-
\fB
|
32
|
+
\fB\-X\fR, \fB\-\-hex\fR
|
42
33
|
Quotes the data as a Hex string\.
|
43
|
-
.LP
|
44
34
|
.TP
|
45
|
-
\fB
|
35
|
+
\fB\-c\fR, \fB\-\-c\fR
|
46
36
|
Quotes the data as a C string\.
|
47
|
-
.LP
|
48
37
|
.TP
|
49
|
-
\fB
|
38
|
+
\fB\-j\fR, \fB\-\-js\fR
|
50
39
|
quotes the data as a JavaScript string\.
|
51
|
-
.LP
|
52
40
|
.TP
|
53
|
-
\fB
|
41
|
+
\fB\-S\fR, \fB\-\-shell\fR
|
54
42
|
Quotes the data as a Shell String\.
|
55
|
-
.LP
|
56
43
|
.TP
|
57
|
-
\fB
|
44
|
+
\fB\-P\fR, \fB\-\-powershell\fR
|
58
45
|
Quotes the data as a PowerShell String\.
|
59
|
-
.LP
|
60
46
|
.TP
|
61
|
-
\fB
|
47
|
+
\fB\-R\fR, \fB\-\-ruby\fR
|
62
48
|
Quotes the data as a Ruby String\.
|
63
|
-
.LP
|
64
49
|
.TP
|
65
|
-
\fB
|
50
|
+
\fB\-h\fR, \fB\-\-help\fR
|
66
51
|
Print help information\.
|
67
|
-
.LP
|
68
52
|
.SH AUTHOR
|
69
|
-
.LP
|
70
53
|
.PP
|
71
54
|
Postmodern
|
72
55
|
.MT postmodern\.mod3\[at]gmail\.com
|
73
56
|
.ME
|
74
|
-
.LP
|
75
57
|
.SH SEE ALSO
|
76
|
-
.LP
|
77
58
|
.PP
|
78
|
-
ronin\-unquote(1)
|
59
|
+
.BR ronin\-unquote (1)
|
data/man/ronin-quote.1.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-quote 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-quote - Produces quoted a string for a variety of programming languages
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin quote` [*options*] [*FILE* ...]
|
@@ -11,43 +15,43 @@ Produces quoted a string for a variety of programming languages.
|
|
11
15
|
## ARGUMENTS
|
12
16
|
|
13
17
|
*FILE*
|
14
|
-
|
18
|
+
: The optional file to read and process. If no *FILE* arguments are given,
|
15
19
|
input will be read from `stdin`.
|
16
20
|
|
17
21
|
## OPTIONS
|
18
22
|
|
19
23
|
`-f`, `--file` *FILE*
|
20
|
-
|
24
|
+
: Optional file to process.
|
21
25
|
|
22
26
|
`--string` *STRING*
|
23
|
-
|
27
|
+
: Optional string to process.
|
24
28
|
|
25
29
|
`-M`, `--multiline`
|
26
|
-
|
30
|
+
: Process each line separately.
|
27
31
|
|
28
32
|
`-n`, `--keep-newlines`
|
29
|
-
|
33
|
+
: Preserves newlines at the end of each line.
|
30
34
|
|
31
35
|
`-X`, `--hex`
|
32
|
-
|
36
|
+
: Quotes the data as a Hex string.
|
33
37
|
|
34
38
|
`-c`, `--c`
|
35
|
-
|
39
|
+
: Quotes the data as a C string.
|
36
40
|
|
37
41
|
`-j`, `--js`
|
38
|
-
|
42
|
+
: quotes the data as a JavaScript string.
|
39
43
|
|
40
44
|
`-S`, `--shell`
|
41
|
-
|
45
|
+
: Quotes the data as a Shell String.
|
42
46
|
|
43
47
|
`-P`, `--powershell`
|
44
|
-
|
48
|
+
: Quotes the data as a PowerShell String.
|
45
49
|
|
46
50
|
`-R`, `--ruby`
|
47
|
-
|
51
|
+
: Quotes the data as a Ruby String.
|
48
52
|
|
49
53
|
`-h`, `--help`
|
50
|
-
|
54
|
+
: Print help information.
|
51
55
|
|
52
56
|
## AUTHOR
|
53
57
|
|
@@ -55,4 +59,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
55
59
|
|
56
60
|
## SEE ALSO
|
57
61
|
|
58
|
-
ronin-unquote(1)
|
62
|
+
[ronin-unquote](ronin-unquote.1.md)
|