ronin 2.0.4 → 2.1.0.rc1
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/ChangeLog.md +67 -1
- data/Gemfile +66 -29
- data/README.md +166 -21
- data/Rakefile +9 -0
- data/data/completions/ronin +655 -0
- data/data/templates/dns_proxy.rb.erb +35 -0
- data/gemspec.yml +27 -13
- 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 +11 -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 +235 -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 +977 -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 +978 -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 +162 -73
- 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-new.1
CHANGED
@@ -1,67 +1,92 @@
|
|
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 1 "2023-02-01" Ronin "User Manuals"
|
4
|
-
.
|
4
|
+
.SH NAME
|
5
|
+
.PP
|
6
|
+
ronin\-new \- Creates a new Ruby project or a script
|
5
7
|
.SH SYNOPSIS
|
6
|
-
.
|
7
|
-
.HP
|
8
|
+
.PP
|
8
9
|
\fBronin new\fR \[lB]\fIoptions\fP\[rB] \[lB]\fICOMMAND\fP\[rB]
|
9
|
-
.LP
|
10
10
|
.SH DESCRIPTION
|
11
|
-
.LP
|
12
11
|
.PP
|
13
12
|
Creates a new project or script\.
|
14
|
-
.LP
|
15
13
|
.SH ARGUMENTS
|
16
|
-
.LP
|
17
14
|
.TP
|
18
15
|
\fICOMMAND\fP
|
19
16
|
The optional command to get detailed new information on\.
|
20
|
-
.LP
|
21
17
|
.SH OPTIONS
|
22
|
-
.LP
|
23
18
|
.TP
|
24
|
-
\fB
|
19
|
+
\fB\-h\fR, \fB\-\-help\fR
|
25
20
|
Print help information
|
26
|
-
.LP
|
27
21
|
.SH COMMANDS
|
28
|
-
.
|
22
|
+
.TP
|
23
|
+
\fIdns\-listener\fP
|
24
|
+
Generates a new \fBronin\-listener\-dns\fR script\.
|
25
|
+
See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-listener\-dns\[sh]readme
|
26
|
+
.TP
|
27
|
+
\fIdns\-proxy\fP
|
28
|
+
Generates a new \fBronin\-dns\-proxy\fR script\.
|
29
|
+
See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-dns\-proxy\[sh]readme
|
30
|
+
.TP
|
31
|
+
\fIhttp\-listener\fP
|
32
|
+
Generates a new \fBronin\-listener\-http\fR script\.
|
33
|
+
See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-listener\-http\[sh]readme
|
34
|
+
.TP
|
35
|
+
\fIexploit\fP
|
36
|
+
Generates a new \fBronin\-exploits\fR script\.
|
37
|
+
See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-exploits\[sh]readme
|
38
|
+
.TP
|
39
|
+
\fIpayload\fP
|
40
|
+
Generates a new \fBronin\-payloads\fR script\.
|
41
|
+
See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-payloads\[sh]readme
|
29
42
|
.TP
|
30
43
|
\fIproject\fP
|
31
44
|
Generates a new project directory\.
|
32
|
-
.LP
|
33
45
|
.TP
|
34
46
|
\fIscript\fP
|
35
47
|
Generates a new standalone Ruby script\.
|
36
|
-
.
|
48
|
+
.TP
|
49
|
+
\fInokogiri\fP
|
50
|
+
Generates a new Nokogiri Ruby script for parsing HTML\[sl]XML\.
|
51
|
+
See https:\[sl]\[sl]nokogiri\.org\[sl]
|
52
|
+
.TP
|
53
|
+
\fIweb\-server\fP
|
54
|
+
Generates a new \fBronin\-web\-server\fR Ruby script\.
|
55
|
+
See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-web\-server\[sh]readme
|
56
|
+
.TP
|
57
|
+
\fIweb\-app\fP
|
58
|
+
Generates a new \fBronin\-web\-server\fR based web app\.
|
59
|
+
See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-web\-server\[sh]readme
|
60
|
+
.TP
|
61
|
+
\fIweb\-spider\fP
|
62
|
+
Generates a new \fBronin\-web\-spider\fR Ruby script\.
|
63
|
+
See https:\[sl]\[sl]github\.com\[sl]ronin\-rb\[sl]ronin\-web\-spider\[sh]readme
|
37
64
|
.TP
|
38
65
|
\fIhelp\fP
|
39
66
|
Lists available \fBronin new\fR commands\.
|
40
|
-
.LP
|
41
67
|
.SH EXAMPLES
|
42
|
-
.LP
|
43
68
|
.PP
|
44
69
|
Generate a new Ruby script:
|
45
|
-
.
|
46
|
-
.
|
47
|
-
|
48
|
-
|
49
|
-
.
|
70
|
+
.PP
|
71
|
+
.RS 4
|
72
|
+
.EX
|
73
|
+
\[Do] ronin new script file\.rb
|
74
|
+
.EE
|
75
|
+
.RE
|
50
76
|
.PP
|
51
77
|
Generate a new Ruby project:
|
52
|
-
.
|
53
|
-
.
|
54
|
-
|
55
|
-
|
56
|
-
.
|
78
|
+
.PP
|
79
|
+
.RS 4
|
80
|
+
.EX
|
81
|
+
\[Do] ronin new project path\[sl]to\[sl]dir
|
82
|
+
.EE
|
83
|
+
.RE
|
57
84
|
.SH AUTHOR
|
58
|
-
.LP
|
59
85
|
.PP
|
60
86
|
Postmodern
|
61
87
|
.MT postmodern\.mod3\[at]gmail\.com
|
62
88
|
.ME
|
63
|
-
.LP
|
64
89
|
.SH SEE ALSO
|
65
|
-
.LP
|
66
90
|
.PP
|
67
|
-
ronin\-new\-script
|
91
|
+
.BR ronin\-new\-script (1)
|
92
|
+
.BR ronin\-new\-project (1)
|
data/man/ronin-new.1.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# ronin-new 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
|
+
## NAME
|
4
|
+
|
5
|
+
ronin-new - Creates a new Ruby project or a script
|
6
|
+
|
3
7
|
## SYNOPSIS
|
4
8
|
|
5
9
|
`ronin new` [*options*] [*COMMAND*]
|
@@ -11,33 +15,69 @@ Creates a new project or script.
|
|
11
15
|
## ARGUMENTS
|
12
16
|
|
13
17
|
*COMMAND*
|
14
|
-
|
18
|
+
: The optional command to get detailed new information on.
|
15
19
|
|
16
20
|
## OPTIONS
|
17
21
|
|
18
22
|
`-h`, `--help`
|
19
|
-
|
23
|
+
: Print help information
|
20
24
|
|
21
25
|
## COMMANDS
|
22
26
|
|
27
|
+
*dns-listener*
|
28
|
+
: Generates a new `ronin-listener-dns` script.
|
29
|
+
See https://github.com/ronin-rb/ronin-listener-dns#readme
|
30
|
+
|
31
|
+
*dns-proxy*
|
32
|
+
: Generates a new `ronin-dns-proxy` script.
|
33
|
+
See https://github.com/ronin-rb/ronin-dns-proxy#readme
|
34
|
+
|
35
|
+
*http-listener*
|
36
|
+
: Generates a new `ronin-listener-http` script.
|
37
|
+
See https://github.com/ronin-rb/ronin-listener-http#readme
|
38
|
+
|
39
|
+
*exploit*
|
40
|
+
: Generates a new `ronin-exploits` script.
|
41
|
+
See https://github.com/ronin-rb/ronin-exploits#readme
|
42
|
+
|
43
|
+
*payload*
|
44
|
+
: Generates a new `ronin-payloads` script.
|
45
|
+
See https://github.com/ronin-rb/ronin-payloads#readme
|
46
|
+
|
23
47
|
*project*
|
24
|
-
|
48
|
+
: Generates a new project directory.
|
25
49
|
|
26
50
|
*script*
|
27
|
-
|
51
|
+
: Generates a new standalone Ruby script.
|
52
|
+
|
53
|
+
*nokogiri*
|
54
|
+
: Generates a new Nokogiri Ruby script for parsing HTML/XML.
|
55
|
+
See https://nokogiri.org/
|
56
|
+
|
57
|
+
*web-server*
|
58
|
+
: Generates a new `ronin-web-server` Ruby script.
|
59
|
+
See https://github.com/ronin-rb/ronin-web-server#readme
|
60
|
+
|
61
|
+
*web-app*
|
62
|
+
: Generates a new `ronin-web-server` based web app.
|
63
|
+
See https://github.com/ronin-rb/ronin-web-server#readme
|
64
|
+
|
65
|
+
*web-spider*
|
66
|
+
: Generates a new `ronin-web-spider` Ruby script.
|
67
|
+
See https://github.com/ronin-rb/ronin-web-spider#readme
|
28
68
|
|
29
69
|
*help*
|
30
|
-
|
70
|
+
: Lists available `ronin new` commands.
|
31
71
|
|
32
72
|
## EXAMPLES
|
33
73
|
|
34
74
|
Generate a new Ruby script:
|
35
75
|
|
36
|
-
|
76
|
+
$ ronin new script file.rb
|
37
77
|
|
38
78
|
Generate a new Ruby project:
|
39
79
|
|
40
|
-
|
80
|
+
$ ronin new project path/to/dir
|
41
81
|
|
42
82
|
## AUTHOR
|
43
83
|
|
@@ -45,4 +85,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
45
85
|
|
46
86
|
## SEE ALSO
|
47
87
|
|
48
|
-
ronin-new-script(1) ronin-new-project(1)
|
88
|
+
[ronin-new-script](ronin-new-script.1.md) [ronin-new-project](ronin-new-project.1.md)
|