ronin 2.0.0 → 2.0.1
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 +14 -0
- data/.rubocop.yml +21 -0
- data/ChangeLog.md +18 -2
- data/Gemfile +6 -2
- data/Rakefile +2 -2
- data/bin/ronin +6 -7
- data/data/new/project/Gemfile.erb +9 -9
- data/gemspec.yml +7 -7
- data/lib/ronin/cli/char_set_options.rb +1 -1
- data/lib/ronin/cli/cipher_command.rb +3 -1
- data/lib/ronin/cli/command.rb +3 -0
- data/lib/ronin/cli/commands/asn.rb +1 -1
- data/lib/ronin/cli/commands/banner_grab.rb +5 -3
- data/lib/ronin/cli/commands/cert_dump.rb +4 -7
- data/lib/ronin/cli/commands/cert_gen.rb +4 -4
- data/lib/ronin/cli/commands/cert_grab.rb +5 -6
- data/lib/ronin/cli/commands/decode.rb +14 -14
- data/lib/ronin/cli/commands/encode.rb +14 -14
- data/lib/ronin/cli/commands/extract.rb +1 -1
- data/lib/ronin/cli/commands/grep.rb +7 -5
- data/lib/ronin/cli/commands/hexdump.rb +53 -22
- data/lib/ronin/cli/commands/hmac.rb +1 -1
- data/lib/ronin/cli/commands/host.rb +2 -2
- data/lib/ronin/cli/commands/http.rb +42 -25
- data/lib/ronin/cli/commands/ip.rb +2 -2
- data/lib/ronin/cli/commands/iprange.rb +2 -2
- data/lib/ronin/cli/commands/netcat.rb +32 -38
- data/lib/ronin/cli/commands/new/project.rb +19 -19
- data/lib/ronin/cli/commands/new/script.rb +12 -12
- data/lib/ronin/cli/commands/proxy.rb +10 -10
- data/lib/ronin/cli/commands/rot.rb +11 -10
- data/lib/ronin/cli/commands/strings.rb +1 -1
- data/lib/ronin/cli/commands/unhexdump.rb +1 -1
- data/lib/ronin/cli/dns.rb +3 -0
- data/lib/ronin/cli/file_processor_command.rb +3 -0
- data/lib/ronin/cli/host_and_port.rb +58 -0
- data/lib/ronin/cli/http_shell.rb +19 -16
- data/lib/ronin/cli/key_options.rb +3 -5
- data/lib/ronin/cli/method_options.rb +0 -2
- data/lib/ronin/cli/pattern_options.rb +5 -6
- data/lib/ronin/cli/printing/syntax_highlighting.rb +3 -0
- data/lib/ronin/cli/typo_options.rb +1 -1
- data/lib/ronin/cli/value_processor_command.rb +1 -1
- data/lib/ronin/config.rb +3 -3
- data/lib/ronin/version.rb +2 -2
- data/man/ronin-asn.1 +11 -1
- data/man/ronin-asn.1.md +9 -1
- data/man/ronin-banner-grab.1 +1 -1
- data/man/ronin-banner-grab.1.md +1 -1
- data/man/ronin-bitflip.1 +1 -1
- data/man/ronin-bitflip.1.md +1 -1
- data/man/ronin-cert-dump.1 +1 -1
- data/man/ronin-cert-dump.1.md +1 -1
- data/man/ronin-cert-gen.1 +1 -1
- data/man/ronin-cert-gen.1.md +1 -1
- data/man/ronin-cert-grab.1 +1 -1
- data/man/ronin-cert-grab.1.md +1 -1
- data/man/ronin-decode.1 +1 -1
- data/man/ronin-decode.1.md +1 -1
- data/man/ronin-decrypt.1 +1 -1
- data/man/ronin-decrypt.1.md +1 -1
- data/man/ronin-dns.1 +1 -1
- data/man/ronin-dns.1.md +1 -1
- data/man/ronin-email-addr.1 +1 -1
- data/man/ronin-email-addr.1.md +1 -1
- data/man/ronin-encode.1 +1 -1
- data/man/ronin-encode.1.md +1 -1
- data/man/ronin-encrypt.1 +1 -1
- data/man/ronin-encrypt.1.md +1 -1
- data/man/ronin-entropy.1 +1 -1
- data/man/ronin-entropy.1.md +1 -1
- data/man/ronin-escape.1 +1 -1
- data/man/ronin-escape.1.md +1 -1
- data/man/ronin-extract.1 +1 -1
- data/man/ronin-extract.1.md +1 -1
- data/man/ronin-grep.1 +1 -1
- data/man/ronin-grep.1.md +1 -1
- data/man/ronin-help.1 +1 -1
- data/man/ronin-help.1.md +1 -1
- data/man/ronin-hexdump.1 +2 -2
- data/man/ronin-hexdump.1.md +2 -2
- data/man/ronin-highlight.1 +1 -1
- data/man/ronin-highlight.1.md +1 -1
- data/man/ronin-hmac.1 +1 -1
- data/man/ronin-hmac.1.md +1 -1
- data/man/ronin-homoglyph.1 +1 -1
- data/man/ronin-homoglyph.1.md +1 -1
- data/man/ronin-host.1 +2 -2
- data/man/ronin-host.1.md +2 -2
- data/man/ronin-http.1 +1 -1
- data/man/ronin-http.1.md +1 -1
- data/man/ronin-ip.1 +1 -1
- data/man/ronin-ip.1.md +1 -1
- data/man/ronin-iprange.1 +1 -1
- data/man/ronin-iprange.1.md +1 -1
- data/man/ronin-irb.1 +1 -1
- data/man/ronin-irb.1.md +1 -1
- data/man/ronin-md5.1 +1 -1
- data/man/ronin-md5.1.md +1 -1
- data/man/ronin-netcat.1 +1 -1
- data/man/ronin-netcat.1.md +1 -1
- data/man/ronin-new-project.1 +1 -1
- data/man/ronin-new-project.1.md +1 -1
- data/man/ronin-new-script.1 +1 -1
- data/man/ronin-new-script.1.md +1 -1
- data/man/ronin-new.1 +1 -1
- data/man/ronin-new.1.md +1 -1
- data/man/ronin-proxy.1 +1 -1
- data/man/ronin-proxy.1.md +1 -1
- data/man/ronin-public-suffix-list.1 +11 -1
- data/man/ronin-public-suffix-list.1.md +9 -1
- data/man/ronin-quote.1 +1 -1
- data/man/ronin-quote.1.md +1 -1
- data/man/ronin-rot.1 +4 -3
- data/man/ronin-rot.1.md +4 -3
- data/man/ronin-sha1.1 +1 -1
- data/man/ronin-sha1.1.md +1 -1
- data/man/ronin-sha256.1 +1 -1
- data/man/ronin-sha256.1.md +1 -1
- data/man/ronin-sha512.1 +1 -1
- data/man/ronin-sha512.1.md +1 -1
- data/man/ronin-strings.1 +1 -1
- data/man/ronin-strings.1.md +1 -1
- data/man/ronin-tips.1 +1 -1
- data/man/ronin-tips.1.md +1 -1
- data/man/ronin-tld-list.1 +11 -1
- data/man/ronin-tld-list.1.md +9 -1
- data/man/ronin-typo.1 +1 -1
- data/man/ronin-typo.1.md +1 -1
- data/man/ronin-typosquat.1 +1 -1
- data/man/ronin-typosquat.1.md +1 -1
- data/man/ronin-unescape.1 +1 -1
- data/man/ronin-unescape.1.md +1 -1
- data/man/ronin-unhexdump.1 +1 -1
- data/man/ronin-unhexdump.1.md +1 -1
- data/man/ronin-unquote.1 +1 -1
- data/man/ronin-unquote.1.md +1 -1
- data/man/ronin-url.1 +1 -1
- data/man/ronin-url.1.md +1 -1
- data/man/ronin-xor.1 +1 -1
- data/man/ronin-xor.1.md +1 -1
- data/man/ronin.1 +1 -1
- data/man/ronin.1.md +1 -1
- data/ronin.gemspec +4 -3
- metadata +40 -2
data/man/ronin-hmac.1.md
CHANGED
data/man/ronin-homoglyph.1
CHANGED
data/man/ronin-homoglyph.1.md
CHANGED
data/man/ronin-host.1
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Generated by kramdown-man 0.1.8
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-host 1 "
|
3
|
+
.TH ronin-host 1 "2023-02-01" Ronin "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
@@ -71,7 +71,7 @@ Converts the hostname to it\[cq]s IP addresses\.
|
|
71
71
|
Filters hostnames that are registered\.
|
72
72
|
.LP
|
73
73
|
.TP
|
74
|
-
\fB-u\fR, \fB--
|
74
|
+
\fB-u\fR, \fB--unregistered\fR
|
75
75
|
Filters hostnames that are unregistered\.
|
76
76
|
.LP
|
77
77
|
.TP
|
data/man/ronin-host.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-host 1 "
|
1
|
+
# ronin-host 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -53,7 +53,7 @@ Processes hostname(s) and performs DNS queries.
|
|
53
53
|
`-r`, `--registered`
|
54
54
|
Filters hostnames that are registered.
|
55
55
|
|
56
|
-
`-u`, `--
|
56
|
+
`-u`, `--unregistered`
|
57
57
|
Filters hostnames that are unregistered.
|
58
58
|
|
59
59
|
`-A`, `--has-addresses`
|
data/man/ronin-http.1
CHANGED
data/man/ronin-http.1.md
CHANGED
data/man/ronin-ip.1
CHANGED
data/man/ronin-ip.1.md
CHANGED
data/man/ronin-iprange.1
CHANGED
data/man/ronin-iprange.1.md
CHANGED
data/man/ronin-irb.1
CHANGED
data/man/ronin-irb.1.md
CHANGED
data/man/ronin-md5.1
CHANGED
data/man/ronin-md5.1.md
CHANGED
data/man/ronin-netcat.1
CHANGED
data/man/ronin-netcat.1.md
CHANGED
data/man/ronin-new-project.1
CHANGED
data/man/ronin-new-project.1.md
CHANGED
data/man/ronin-new-script.1
CHANGED
data/man/ronin-new-script.1.md
CHANGED
data/man/ronin-new.1
CHANGED
data/man/ronin-new.1.md
CHANGED
data/man/ronin-proxy.1
CHANGED
data/man/ronin-proxy.1.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Generated by kramdown-man 0.1.8
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-public-suffix-list 1 "
|
3
|
+
.TH ronin-public-suffix-list 1 "2023-02-1" Ronin "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
@@ -36,6 +36,16 @@ The Path to the public suffix list file\. Defaults to
|
|
36
36
|
\fB-h\fR, \fB--help\fR
|
37
37
|
Print help information
|
38
38
|
.LP
|
39
|
+
.SH ENVIRONMENT
|
40
|
+
.LP
|
41
|
+
.TP
|
42
|
+
\fIHOME\fP
|
43
|
+
Alternate location for the user\[cq]s home directory\.
|
44
|
+
.LP
|
45
|
+
.TP
|
46
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
47
|
+
Alternate location for the \fB~/.config\fR directory\.
|
48
|
+
.LP
|
39
49
|
.SH FILES
|
40
50
|
.LP
|
41
51
|
.TP
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-public-suffix-list 1 "
|
1
|
+
# ronin-public-suffix-list 1 "2023-02-1" Ronin "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -27,6 +27,14 @@ Updates and parses the public suffix list file.
|
|
27
27
|
`-h`, `--help`
|
28
28
|
Print help information
|
29
29
|
|
30
|
+
## ENVIRONMENT
|
31
|
+
|
32
|
+
*HOME*
|
33
|
+
Alternate location for the user's home directory.
|
34
|
+
|
35
|
+
*XDG_CONFIG_HOME*
|
36
|
+
Alternate location for the `~/.config` directory.
|
37
|
+
|
30
38
|
## FILES
|
31
39
|
|
32
40
|
`~/.cache/ronin/ronin-support/public_suffix_list.dat`
|
data/man/ronin-quote.1
CHANGED
data/man/ronin-quote.1.md
CHANGED
data/man/ronin-rot.1
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Generated by kramdown-man 0.1.8
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-rot 1 "
|
3
|
+
.TH ronin-rot 1 "2023-02-01" Ronin "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
@@ -42,8 +42,9 @@ Preserves newlines at the end of each line\.
|
|
42
42
|
Alphabet characters to rotate characters within\.
|
43
43
|
.LP
|
44
44
|
.TP
|
45
|
-
\fB-n\fR, \fB--
|
46
|
-
Number of characters to rotate forwards or backwards\.
|
45
|
+
\fB-n\fR, \fB--modulo\fR \fINUM\fP
|
46
|
+
Number of characters to rotate forwards or backwards\. Defaults to 13 if not
|
47
|
+
given\.
|
47
48
|
.LP
|
48
49
|
.TP
|
49
50
|
\fB-h\fR, \fB--help\fR
|
data/man/ronin-rot.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-rot 1 "
|
1
|
+
# ronin-rot 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -31,8 +31,9 @@ Rotates each character of data with an alphabet.
|
|
31
31
|
`-A`, `--alphabet` `ABC...`
|
32
32
|
Alphabet characters to rotate characters within.
|
33
33
|
|
34
|
-
`-n`, `--
|
35
|
-
Number of characters to rotate forwards or backwards.
|
34
|
+
`-n`, `--modulo` *NUM*
|
35
|
+
Number of characters to rotate forwards or backwards. Defaults to 13 if not
|
36
|
+
given.
|
36
37
|
|
37
38
|
`-h`, `--help`
|
38
39
|
Print help information.
|
data/man/ronin-sha1.1
CHANGED
data/man/ronin-sha1.1.md
CHANGED
data/man/ronin-sha256.1
CHANGED
data/man/ronin-sha256.1.md
CHANGED
data/man/ronin-sha512.1
CHANGED
data/man/ronin-sha512.1.md
CHANGED
data/man/ronin-strings.1
CHANGED
data/man/ronin-strings.1.md
CHANGED
data/man/ronin-tips.1
CHANGED
data/man/ronin-tips.1.md
CHANGED
data/man/ronin-tld-list.1
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" Generated by kramdown-man 0.1.8
|
2
2
|
.\" https://github.com/postmodern/kramdown-man#readme
|
3
|
-
.TH ronin-tld-list 1 "
|
3
|
+
.TH ronin-tld-list 1 "2023-02-01" Ronin "User Manuals"
|
4
4
|
.LP
|
5
5
|
.SH SYNOPSIS
|
6
6
|
.LP
|
@@ -36,6 +36,16 @@ The Path to the TLD list file\. Defaults to
|
|
36
36
|
\fB-h\fR, \fB--help\fR
|
37
37
|
Print help information
|
38
38
|
.LP
|
39
|
+
.SH ENVIRONMENT
|
40
|
+
.LP
|
41
|
+
.TP
|
42
|
+
\fIHOME\fP
|
43
|
+
Alternate location for the user\[cq]s home directory\.
|
44
|
+
.LP
|
45
|
+
.TP
|
46
|
+
\fIXDG\[ru]CONFIG\[ru]HOME\fP
|
47
|
+
Alternate location for the \fB~/.config\fR directory\.
|
48
|
+
.LP
|
39
49
|
.SH FILES
|
40
50
|
.LP
|
41
51
|
.TP
|
data/man/ronin-tld-list.1.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# ronin-tld-list 1 "
|
1
|
+
# ronin-tld-list 1 "2023-02-01" Ronin "User Manuals"
|
2
2
|
|
3
3
|
## SYNOPSIS
|
4
4
|
|
@@ -27,6 +27,14 @@ Updates and parses the TLD list file.
|
|
27
27
|
`-h`, `--help`
|
28
28
|
Print help information
|
29
29
|
|
30
|
+
## ENVIRONMENT
|
31
|
+
|
32
|
+
*HOME*
|
33
|
+
Alternate location for the user's home directory.
|
34
|
+
|
35
|
+
*XDG_CONFIG_HOME*
|
36
|
+
Alternate location for the `~/.config` directory.
|
37
|
+
|
30
38
|
## FILES
|
31
39
|
|
32
40
|
`~/.cache/ronin/ronin-support/tlds-alpha-by-domain.txt`
|
data/man/ronin-typo.1
CHANGED
data/man/ronin-typo.1.md
CHANGED
data/man/ronin-typosquat.1
CHANGED
data/man/ronin-typosquat.1.md
CHANGED
data/man/ronin-unescape.1
CHANGED
data/man/ronin-unescape.1.md
CHANGED
data/man/ronin-unhexdump.1
CHANGED
data/man/ronin-unhexdump.1.md
CHANGED
data/man/ronin-unquote.1
CHANGED
data/man/ronin-unquote.1.md
CHANGED
data/man/ronin-url.1
CHANGED
data/man/ronin-url.1.md
CHANGED
data/man/ronin-xor.1
CHANGED
data/man/ronin-xor.1.md
CHANGED
data/man/ronin.1
CHANGED
data/man/ronin.1.md
CHANGED
data/ronin.gemspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'yaml'
|
4
4
|
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.email = gemspec['email']
|
22
22
|
gem.homepage = gemspec['homepage']
|
23
23
|
|
24
|
-
glob =
|
24
|
+
glob = ->(patterns) { gem.files & Dir[*patterns] }
|
25
25
|
|
26
26
|
gem.files = `git ls-files`.split($/)
|
27
27
|
gem.files = glob[gemspec['files']] if gemspec['files']
|
@@ -32,6 +32,7 @@ Gem::Specification.new do |gem|
|
|
32
32
|
gem.executables = gemspec.fetch('executables') do
|
33
33
|
glob['bin/*'].map { |path| File.basename(path) }
|
34
34
|
end
|
35
|
+
|
35
36
|
gem.default_executable = gem.executables.first if Gem::VERSION < '1.7.'
|
36
37
|
|
37
38
|
gem.extensions = glob[gemspec['extensions'] || 'ext/**/extconf.rb']
|
@@ -46,7 +47,7 @@ Gem::Specification.new do |gem|
|
|
46
47
|
gem.required_rubygems_version = gemspec['required_rubygems_version']
|
47
48
|
gem.post_install_message = gemspec['post_install_message']
|
48
49
|
|
49
|
-
split =
|
50
|
+
split = ->(string) { string.split(/,\s*/) }
|
50
51
|
|
51
52
|
if gemspec['dependencies']
|
52
53
|
gemspec['dependencies'].each do |name,versions|
|