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-netcat.1
CHANGED
@@ -1,110 +1,84 @@
|
|
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-netcat 1 "2023-02-01" Ronin "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-netcat \- A netcat clone command
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
|
8
|
-
\fBronin netcat\fR \[lB]\fIoptions\fP\[rB] \[lB]\fB--tcp\fR \[or] \fB--udp\fR \[or] \fB--ssl\fR \[or] \fB--tls\fR\[rB] \[lC]\fIHOST\fP \fIPORT\fP \[or] \fB-l\fR \[lB]\fIHOST\fP\[rB] \fIPORT\fP \[or] \fB--unix\fR \fIPATH\fP\[rC]
|
9
|
-
.LP
|
8
|
+
.PP
|
9
|
+
\fBronin netcat\fR \[lB]\fIoptions\fP\[rB] \[lB]\fB\-\-tcp\fR \[or] \fB\-\-udp\fR \[or] \fB\-\-ssl\fR \[or] \fB\-\-tls\fR\[rB] \[lC]\fIHOST\fP \fIPORT\fP \[or] \fB\-l\fR \[lB]\fIHOST\fP\[rB] \fIPORT\fP \[or] \fB\-\-unix\fR \fIPATH\fP\[rC]
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
12
|
Connects to or listens on a TCP\[sl]UDP\[sl]SSL\[sl]TLS\[sl]UNIX socket\.
|
14
|
-
.LP
|
15
13
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
15
|
\fIHOST\fP
|
19
16
|
The remote hostname or IP address to connect to or the local hostname or IP
|
20
17
|
address to listen on\.
|
21
|
-
.LP
|
22
18
|
.TP
|
23
19
|
\fIPORT\fP
|
24
20
|
The remote port to connect to or the local port to listen on\.
|
25
|
-
.LP
|
26
21
|
.TP
|
27
22
|
\fIPATH\fP
|
28
23
|
The path to the UNIX socket to connect to or listen on\.
|
29
|
-
.LP
|
30
24
|
.SH OPTIONS
|
31
|
-
.LP
|
32
25
|
.TP
|
33
|
-
\fB
|
26
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
34
27
|
Enables verbose output\.
|
35
|
-
.LP
|
36
28
|
.TP
|
37
|
-
\fB
|
29
|
+
\fB\-\-tcp\fR
|
38
30
|
Uses the TCP protocol\.
|
39
|
-
.LP
|
40
31
|
.TP
|
41
|
-
\fB
|
32
|
+
\fB\-\-udp\fR
|
42
33
|
Uses the UDP protocol\.
|
43
|
-
.LP
|
44
34
|
.TP
|
45
|
-
\fB
|
35
|
+
\fB\-U\fR, \fB\-\-unix\fR \fIPATH\fP
|
46
36
|
Uses the UNIX socket protocol and connects to or listens on the given \fIPATH\fP\.
|
47
|
-
.LP
|
48
37
|
.TP
|
49
|
-
\fB
|
38
|
+
\fB\-l\fR, \fB\-\-listen\fR
|
50
39
|
Listens for incoming connections\.
|
51
|
-
.LP
|
52
40
|
.TP
|
53
|
-
\fB
|
41
|
+
\fB\-s\fR, \fB\-\-source\fR \fIHOST\fP
|
54
42
|
Source address to bind to\.
|
55
|
-
.LP
|
56
43
|
.TP
|
57
|
-
\fB
|
44
|
+
\fB\-p\fR, \fB\-\-source\-port\fR \fIPORT\fP
|
58
45
|
Source port to bind to\.
|
59
|
-
.LP
|
60
46
|
.TP
|
61
|
-
\fB
|
47
|
+
\fB\-b\fR, \fB\-\-buffer\-size\fR \fIINT\fP
|
62
48
|
Buffer size to use\. Defaults to 4096 if not given\.
|
63
|
-
.LP
|
64
49
|
.TP
|
65
|
-
\fB
|
50
|
+
\fB\-x\fR, \fB\-\-hexdump\fR
|
66
51
|
Hexdumps each message that is received\.
|
67
|
-
.LP
|
68
52
|
.TP
|
69
|
-
\fB
|
53
|
+
\fB\-\-ssl\fR
|
70
54
|
Enables SSL mode\.
|
71
|
-
.LP
|
72
55
|
.TP
|
73
|
-
\fB
|
56
|
+
\fB\-\-tls\fR
|
74
57
|
Enables TLS mode\.
|
75
|
-
.LP
|
76
58
|
.TP
|
77
|
-
\fB
|
59
|
+
\fB\-\-ssl\-version\fR \fB1\fR\[or]\fB1\.1\fR\[or]\fB1\.2\fR
|
78
60
|
Specifies the required SSL version\.
|
79
|
-
.LP
|
80
61
|
.TP
|
81
|
-
\fB
|
62
|
+
\fB\-\-ssl\-cert\fR \fIFILE\fP
|
82
63
|
Specifies the SSL certificate file\.
|
83
|
-
.LP
|
84
64
|
.TP
|
85
|
-
\fB
|
65
|
+
\fB\-\-ssl\-key\fR \fIFILE\fP
|
86
66
|
Specifies the SSL key file\.
|
87
|
-
.LP
|
88
67
|
.TP
|
89
|
-
\fB
|
68
|
+
\fB\-\-ssl\-verify\fR \fBnone\fR\[or]\fBpeer\fR\[or]\fBfail\-if\-no\-peer\-cert\fR\[or]\fBclient\-once\fR\[or]\fBtrue\fR\[or]\fBfalse\fR
|
90
69
|
SSL verification mode\.
|
91
|
-
.LP
|
92
70
|
.TP
|
93
|
-
\fB
|
71
|
+
\fB\-\-ssl\-ca\-bundle\fR \fIPATH\fP
|
94
72
|
Path to the file or directory of CA certificates\.
|
95
|
-
.LP
|
96
73
|
.TP
|
97
|
-
\fB
|
74
|
+
\fB\-h\fR, \fB\-\-help\fR
|
98
75
|
Print help information\.
|
99
|
-
.LP
|
100
76
|
.SH AUTHOR
|
101
|
-
.LP
|
102
77
|
.PP
|
103
78
|
Postmodern
|
104
79
|
.MT postmodern\.mod3\[at]gmail\.com
|
105
80
|
.ME
|
106
|
-
.LP
|
107
81
|
.SH SEE ALSO
|
108
|
-
.LP
|
109
82
|
.PP
|
110
|
-
ronin\-hexdump
|
83
|
+
.BR ronin\-hexdump (1)
|
84
|
+
.BR ronin\-http (1)
|
data/man/ronin-netcat.1.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-netcat 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-netcat - A netcat clone command
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin netcat` [*options*] [`--tcp` \| `--udp` \| `--ssl` \| `--tls`] {*HOST* *PORT* \| `-l` [*HOST*] *PORT* \| `--unix` *PATH*}
|
@@ -11,67 +15,67 @@ Connects to or listens on a TCP/UDP/SSL/TLS/UNIX socket.
|
|
11
15
|
## ARGUMENTS
|
12
16
|
|
13
17
|
*HOST*
|
14
|
-
|
18
|
+
: The remote hostname or IP address to connect to or the local hostname or IP
|
15
19
|
address to listen on.
|
16
20
|
|
17
21
|
*PORT*
|
18
|
-
|
22
|
+
: The remote port to connect to or the local port to listen on.
|
19
23
|
|
20
24
|
*PATH*
|
21
|
-
|
25
|
+
: The path to the UNIX socket to connect to or listen on.
|
22
26
|
|
23
27
|
## OPTIONS
|
24
28
|
|
25
29
|
`-v`, `--verbose`
|
26
|
-
|
30
|
+
: Enables verbose output.
|
27
31
|
|
28
32
|
`--tcp`
|
29
|
-
|
33
|
+
: Uses the TCP protocol.
|
30
34
|
|
31
35
|
`--udp`
|
32
|
-
|
36
|
+
: Uses the UDP protocol.
|
33
37
|
|
34
38
|
`-U`, `--unix` *PATH*
|
35
|
-
|
39
|
+
: Uses the UNIX socket protocol and connects to or listens on the given *PATH*.
|
36
40
|
|
37
41
|
`-l`, `--listen`
|
38
|
-
|
42
|
+
: Listens for incoming connections.
|
39
43
|
|
40
44
|
`-s`, `--source` *HOST*
|
41
|
-
|
45
|
+
: Source address to bind to.
|
42
46
|
|
43
47
|
`-p`, `--source-port` *PORT*
|
44
|
-
|
48
|
+
: Source port to bind to.
|
45
49
|
|
46
50
|
`-b`, `--buffer-size` *INT*
|
47
|
-
|
51
|
+
: Buffer size to use. Defaults to 4096 if not given.
|
48
52
|
|
49
53
|
`-x`, `--hexdump`
|
50
|
-
|
54
|
+
: Hexdumps each message that is received.
|
51
55
|
|
52
56
|
`--ssl`
|
53
|
-
|
57
|
+
: Enables SSL mode.
|
54
58
|
|
55
59
|
`--tls`
|
56
|
-
|
60
|
+
: Enables TLS mode.
|
57
61
|
|
58
62
|
`--ssl-version` `1`\|`1.1`\|`1.2`
|
59
|
-
|
63
|
+
: Specifies the required SSL version.
|
60
64
|
|
61
65
|
`--ssl-cert` *FILE*
|
62
|
-
|
66
|
+
: Specifies the SSL certificate file.
|
63
67
|
|
64
68
|
`--ssl-key` *FILE*
|
65
|
-
|
69
|
+
: Specifies the SSL key file.
|
66
70
|
|
67
71
|
`--ssl-verify` `none`\|`peer`\|`fail-if-no-peer-cert`\|`client-once`\|`true`\|`false`
|
68
|
-
|
72
|
+
: SSL verification mode.
|
69
73
|
|
70
74
|
`--ssl-ca-bundle` *PATH*
|
71
|
-
|
75
|
+
: Path to the file or directory of CA certificates.
|
72
76
|
|
73
77
|
`-h`, `--help`
|
74
|
-
|
78
|
+
: Print help information.
|
75
79
|
|
76
80
|
## AUTHOR
|
77
81
|
|
@@ -79,4 +83,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
79
83
|
|
80
84
|
## SEE ALSO
|
81
85
|
|
82
|
-
ronin-hexdump(1) ronin-http(1)
|
86
|
+
[ronin-hexdump](ronin-hexdump.1.md) [ronin-http](ronin-http.1.md)
|
@@ -0,0 +1,45 @@
|
|
1
|
+
.\" Generated by kramdown-man 1.0.1
|
2
|
+
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
+
.TH ronin-new-dns-proxy.1 "2023-02-01" Ronin "User Manuals"
|
4
|
+
.SH SYNOPSIS
|
5
|
+
.PP
|
6
|
+
\fBronin new dns\-proxy\fR \[lB]\fIoptions\fP\[rB] \fIPATH\fP
|
7
|
+
.SH DESCRIPTION
|
8
|
+
.PP
|
9
|
+
Creates a new \fBronin\-dns\-proxy\fR script\.
|
10
|
+
.PP
|
11
|
+
See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-dns\-proxy\[sh]readme
|
12
|
+
.SH ARGUMENTS
|
13
|
+
.TP
|
14
|
+
\fIPATH\fP
|
15
|
+
The path to the new script file\.
|
16
|
+
.SH OPTIONS
|
17
|
+
.TP
|
18
|
+
\fB\-H\fR, \fB\-\-host\fR \fIIP\fP
|
19
|
+
The IP to listen on\. Defaults to \fB127\.0\.0\.1\fR if not specified\.
|
20
|
+
.TP
|
21
|
+
\fB\-p\fR, \fB\-\-port\fR \fIPORT\fP
|
22
|
+
The port number to listen on\. Defaults to \fB2345\fR if not specified\.
|
23
|
+
.TP
|
24
|
+
\fB\-h\fR, \fB\-\-help\fR
|
25
|
+
Print help information
|
26
|
+
.SH EXAMPLES
|
27
|
+
.PP
|
28
|
+
Generate a new \fBronin\-dns\-proxy\fR script:
|
29
|
+
.PP
|
30
|
+
.RS 4
|
31
|
+
.EX
|
32
|
+
\[Do] ronin new dns\-proxy proxy\.rb
|
33
|
+
.EE
|
34
|
+
.RE
|
35
|
+
.PP
|
36
|
+
See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-dns\-proxy\[sh]examples for more
|
37
|
+
\fBronin\-dns\-proxy\fR examples\.
|
38
|
+
.SH AUTHOR
|
39
|
+
.PP
|
40
|
+
Postmodern
|
41
|
+
.MT postmodern\.mod3\[at]gmail\.com
|
42
|
+
.ME
|
43
|
+
.SH SEE ALSO
|
44
|
+
.PP
|
45
|
+
.BR ronin\-new\-script (1)
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# ronin-new-dns-proxy.1 "2023-02-01" Ronin "User Manuals"
|
2
|
+
|
3
|
+
## SYNOPSIS
|
4
|
+
|
5
|
+
`ronin new dns-proxy` [*options*] *PATH*
|
6
|
+
|
7
|
+
## DESCRIPTION
|
8
|
+
|
9
|
+
Creates a new `ronin-dns-proxy` script.
|
10
|
+
|
11
|
+
See https://github.com/ronin-rb/ronin-dns-proxy#readme
|
12
|
+
|
13
|
+
## ARGUMENTS
|
14
|
+
|
15
|
+
*PATH*
|
16
|
+
: The path to the new script file.
|
17
|
+
|
18
|
+
## OPTIONS
|
19
|
+
|
20
|
+
`-H`, `--host` *IP*
|
21
|
+
: The IP to listen on. Defaults to `127.0.0.1` if not specified.
|
22
|
+
|
23
|
+
`-p`, `--port` *PORT*
|
24
|
+
: The port number to listen on. Defaults to `2345` if not specified.
|
25
|
+
|
26
|
+
`-h`, `--help`
|
27
|
+
: Print help information
|
28
|
+
|
29
|
+
## EXAMPLES
|
30
|
+
|
31
|
+
Generate a new `ronin-dns-proxy` script:
|
32
|
+
|
33
|
+
$ ronin new dns-proxy proxy.rb
|
34
|
+
|
35
|
+
See https://github.com/ronin-rb/ronin-dns-proxy#examples for more
|
36
|
+
`ronin-dns-proxy` examples.
|
37
|
+
|
38
|
+
## AUTHOR
|
39
|
+
|
40
|
+
Postmodern <postmodern.mod3@gmail.com>
|
41
|
+
|
42
|
+
## SEE ALSO
|
43
|
+
|
44
|
+
[ronin-new-script](ronin-new-script.1.md)
|
data/man/ronin-new-project.1
CHANGED
@@ -1,84 +1,71 @@
|
|
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-new-project 1 "2023-02-01" Ronin "User Manuals"
|
4
|
-
.LP
|
5
4
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
.HP
|
5
|
+
.PP
|
8
6
|
\fBronin new project\fR \[lB]\fIoptions\fP\[rB] \fIPATH\fP
|
9
|
-
.LP
|
10
7
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
8
|
.PP
|
13
9
|
Creates a new Ruby project directory\.
|
14
|
-
.LP
|
15
10
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
11
|
.TP
|
18
12
|
\fIPATH\fP
|
19
13
|
The path to the new project directory\.
|
20
|
-
.LP
|
21
14
|
.SH OPTIONS
|
22
|
-
.LP
|
23
15
|
.TP
|
24
|
-
\fB
|
16
|
+
\fB\-\-git\fR
|
25
17
|
Initializes a git repo\.
|
26
|
-
.LP
|
27
18
|
.TP
|
28
|
-
\fB
|
19
|
+
\fB\-\-ruby\-version\fR \fIVERSION\fP
|
29
20
|
The desired ruby version for the project\. Defaults to the current \fBruby\fR
|
30
21
|
version if not specified\.
|
31
|
-
.LP
|
32
22
|
.TP
|
33
|
-
\fB
|
23
|
+
\fB\-\-rakefile\fR
|
34
24
|
Creates a \fBRakefile\fR\.
|
35
|
-
.LP
|
36
25
|
.TP
|
37
|
-
\fB
|
26
|
+
\fB\-\-dockerfile\fR
|
38
27
|
Adds a \fBDockerfile\fR to the new project\.
|
39
|
-
.LP
|
40
28
|
.TP
|
41
|
-
\fB
|
29
|
+
\fB\-h\fR, \fB\-\-help\fR
|
42
30
|
Print help information
|
43
|
-
.LP
|
44
31
|
.SH EXAMPLES
|
45
|
-
.LP
|
46
32
|
.PP
|
47
33
|
Generate a new Ruby project:
|
48
|
-
.
|
49
|
-
.
|
50
|
-
|
51
|
-
|
52
|
-
.
|
34
|
+
.PP
|
35
|
+
.RS 4
|
36
|
+
.EX
|
37
|
+
\[Do] ronin new project path\[sl]to\[sl]dir
|
38
|
+
.EE
|
39
|
+
.RE
|
53
40
|
.PP
|
54
41
|
Set the desired ruby version for the project:
|
55
|
-
.
|
56
|
-
.
|
57
|
-
|
58
|
-
|
59
|
-
.
|
42
|
+
.PP
|
43
|
+
.RS 4
|
44
|
+
.EX
|
45
|
+
\[Do] ronin new project \-\-ruby\-version 3\.2\.0 path\[sl]to\[sl]dir
|
46
|
+
.EE
|
47
|
+
.RE
|
60
48
|
.PP
|
61
49
|
Add a \fBRakefile\fR to the project for defining automated tasks:
|
62
|
-
.
|
63
|
-
.
|
64
|
-
|
65
|
-
|
66
|
-
.
|
50
|
+
.PP
|
51
|
+
.RS 4
|
52
|
+
.EX
|
53
|
+
\[Do] ronin new project \-\-rakefile path\[sl]to\[sl]dir
|
54
|
+
.EE
|
55
|
+
.RE
|
67
56
|
.PP
|
68
57
|
Add a \fBDockerfile\fR to the project:
|
69
|
-
.
|
70
|
-
.
|
71
|
-
|
72
|
-
|
73
|
-
.
|
58
|
+
.PP
|
59
|
+
.RS 4
|
60
|
+
.EX
|
61
|
+
\[Do] ronin new project \-\-dockerfile path\[sl]to\[sl]dir
|
62
|
+
.EE
|
63
|
+
.RE
|
74
64
|
.SH AUTHOR
|
75
|
-
.LP
|
76
65
|
.PP
|
77
66
|
Postmodern
|
78
67
|
.MT postmodern\.mod3\[at]gmail\.com
|
79
68
|
.ME
|
80
|
-
.LP
|
81
69
|
.SH SEE ALSO
|
82
|
-
.LP
|
83
70
|
.PP
|
84
|
-
ronin\-new\-script(1)
|
71
|
+
.BR ronin\-new\-script (1)
|
data/man/ronin-new-project.1.md
CHANGED
@@ -11,43 +11,43 @@ Creates a new Ruby project directory.
|
|
11
11
|
## ARGUMENTS
|
12
12
|
|
13
13
|
*PATH*
|
14
|
-
|
14
|
+
: The path to the new project directory.
|
15
15
|
|
16
16
|
## OPTIONS
|
17
17
|
|
18
18
|
`--git`
|
19
|
-
|
19
|
+
: Initializes a git repo.
|
20
20
|
|
21
21
|
`--ruby-version` *VERSION*
|
22
|
-
|
22
|
+
: The desired ruby version for the project. Defaults to the current `ruby`
|
23
23
|
version if not specified.
|
24
24
|
|
25
25
|
`--rakefile`
|
26
|
-
|
26
|
+
: Creates a `Rakefile`.
|
27
27
|
|
28
28
|
`--dockerfile`
|
29
|
-
|
29
|
+
: Adds a `Dockerfile` to the new project.
|
30
30
|
|
31
31
|
`-h`, `--help`
|
32
|
-
|
32
|
+
: Print help information
|
33
33
|
|
34
34
|
## EXAMPLES
|
35
35
|
|
36
36
|
Generate a new Ruby project:
|
37
37
|
|
38
|
-
ronin new project path/to/dir
|
38
|
+
$ ronin new project path/to/dir
|
39
39
|
|
40
40
|
Set the desired ruby version for the project:
|
41
41
|
|
42
|
-
ronin new project --ruby-version 3.2.0 path/to/dir
|
42
|
+
$ ronin new project --ruby-version 3.2.0 path/to/dir
|
43
43
|
|
44
44
|
Add a `Rakefile` to the project for defining automated tasks:
|
45
45
|
|
46
|
-
ronin new project --rakefile path/to/dir
|
46
|
+
$ ronin new project --rakefile path/to/dir
|
47
47
|
|
48
48
|
Add a `Dockerfile` to the project:
|
49
49
|
|
50
|
-
ronin new project --dockerfile path/to/dir
|
50
|
+
$ ronin new project --dockerfile path/to/dir
|
51
51
|
|
52
52
|
## AUTHOR
|
53
53
|
|
@@ -55,4 +55,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
55
55
|
|
56
56
|
## SEE ALSO
|
57
57
|
|
58
|
-
ronin-new-script(1)
|
58
|
+
[ronin-new-script](ronin-new-script.1.md)
|
data/man/ronin-new-script.1
CHANGED
@@ -1,46 +1,34 @@
|
|
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-new-script 1 "2023-02-01" Ronin "User Manuals"
|
4
|
-
.LP
|
5
4
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
.HP
|
5
|
+
.PP
|
8
6
|
\fBronin new script\fR \[lB]\fIoptions\fP\[rB] \fIPATH\fP
|
9
|
-
.LP
|
10
7
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
8
|
.PP
|
13
9
|
Creates a new standalone Ruby script\.
|
14
|
-
.LP
|
15
10
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
11
|
.TP
|
18
12
|
\fIPATH\fP
|
19
13
|
The path to the new script file\.
|
20
|
-
.LP
|
21
14
|
.SH OPTIONS
|
22
|
-
.LP
|
23
15
|
.TP
|
24
|
-
\fB
|
16
|
+
\fB\-h\fR, \fB\-\-help\fR
|
25
17
|
Print help information
|
26
|
-
.LP
|
27
18
|
.SH EXAMPLES
|
28
|
-
.LP
|
29
19
|
.PP
|
30
20
|
Generate a new Ruby script:
|
31
|
-
.
|
32
|
-
.
|
33
|
-
|
34
|
-
|
35
|
-
.
|
21
|
+
.PP
|
22
|
+
.RS 4
|
23
|
+
.EX
|
24
|
+
\[Do] ronin new script file\.rb
|
25
|
+
.EE
|
26
|
+
.RE
|
36
27
|
.SH AUTHOR
|
37
|
-
.LP
|
38
28
|
.PP
|
39
29
|
Postmodern
|
40
30
|
.MT postmodern\.mod3\[at]gmail\.com
|
41
31
|
.ME
|
42
|
-
.LP
|
43
32
|
.SH SEE ALSO
|
44
|
-
.LP
|
45
33
|
.PP
|
46
|
-
ronin\-new\-project(1)
|
34
|
+
.BR ronin\-new\-project (1)
|
data/man/ronin-new-script.1.md
CHANGED
@@ -11,18 +11,18 @@ Creates a new standalone Ruby script.
|
|
11
11
|
## ARGUMENTS
|
12
12
|
|
13
13
|
*PATH*
|
14
|
-
|
14
|
+
: The path to the new script file.
|
15
15
|
|
16
16
|
## OPTIONS
|
17
17
|
|
18
18
|
`-h`, `--help`
|
19
|
-
|
19
|
+
: Print help information
|
20
20
|
|
21
21
|
## EXAMPLES
|
22
22
|
|
23
23
|
Generate a new Ruby script:
|
24
24
|
|
25
|
-
ronin new script file.rb
|
25
|
+
$ ronin new script file.rb
|
26
26
|
|
27
27
|
## AUTHOR
|
28
28
|
|
@@ -30,4 +30,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
30
30
|
|
31
31
|
## SEE ALSO
|
32
32
|
|
33
|
-
ronin-new-project(1)
|
33
|
+
[ronin-new-project](ronin-new-project.1.md)
|