ronin 2.1.0 → 2.1.1
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 +1 -0
- data/ChangeLog.md +15 -1
- data/README.md +1 -1
- data/data/completions/ronin +204 -164
- data/gemspec.yml +1 -1
- data/lib/ronin/cli/binary_template.rb +1 -1
- data/lib/ronin/cli/char_set_options.rb +1 -1
- data/lib/ronin/cli/cipher_command.rb +4 -4
- data/lib/ronin/cli/command.rb +1 -1
- data/lib/ronin/cli/commands/archive.rb +2 -2
- data/lib/ronin/cli/commands/asn.rb +2 -2
- data/lib/ronin/cli/commands/banner_grab.rb +3 -3
- data/lib/ronin/cli/commands/bitflip.rb +3 -3
- data/lib/ronin/cli/commands/bitsquat.rb +2 -2
- data/lib/ronin/cli/commands/cert_dump.rb +3 -3
- data/lib/ronin/cli/commands/cert_gen.rb +2 -2
- data/lib/ronin/cli/commands/cert_grab.rb +3 -3
- data/lib/ronin/cli/commands/completion.rb +1 -1
- data/lib/ronin/cli/commands/decode.rb +16 -13
- data/lib/ronin/cli/commands/decrypt.rb +2 -2
- data/lib/ronin/cli/commands/dns.rb +3 -3
- data/lib/ronin/cli/commands/dns_proxy.rb +2 -2
- data/lib/ronin/cli/commands/email_addr.rb +2 -2
- data/lib/ronin/cli/commands/encode.rb +15 -12
- data/lib/ronin/cli/commands/encrypt.rb +2 -2
- data/lib/ronin/cli/commands/entropy.rb +2 -2
- data/lib/ronin/cli/commands/escape.rb +10 -10
- data/lib/ronin/cli/commands/extract.rb +3 -3
- data/lib/ronin/cli/commands/grep.rb +3 -3
- data/lib/ronin/cli/commands/hexdump.rb +2 -2
- data/lib/ronin/cli/commands/highlight.rb +3 -3
- data/lib/ronin/cli/commands/hmac.rb +3 -3
- data/lib/ronin/cli/commands/homoglyph.rb +2 -2
- data/lib/ronin/cli/commands/host.rb +3 -3
- data/lib/ronin/cli/commands/http.rb +9 -7
- data/lib/ronin/cli/commands/ip.rb +2 -2
- data/lib/ronin/cli/commands/iprange.rb +2 -2
- data/lib/ronin/cli/commands/irb.rb +3 -3
- data/lib/ronin/cli/commands/md5.rb +2 -2
- data/lib/ronin/cli/commands/netcat.rb +2 -2
- data/lib/ronin/cli/commands/new/dns_listener.rb +3 -2
- data/lib/ronin/cli/commands/new/dns_proxy.rb +3 -2
- data/lib/ronin/cli/commands/new/exploit.rb +3 -2
- data/lib/ronin/cli/commands/new/http_listener.rb +3 -2
- data/lib/ronin/cli/commands/new/nokogiri.rb +3 -2
- data/lib/ronin/cli/commands/new/payload.rb +3 -2
- data/lib/ronin/cli/commands/new/project.rb +3 -2
- data/lib/ronin/cli/commands/new/script.rb +3 -2
- data/lib/ronin/cli/commands/new/web_app.rb +3 -2
- data/lib/ronin/cli/commands/new/web_server.rb +3 -2
- data/lib/ronin/cli/commands/new/web_spider.rb +3 -2
- data/lib/ronin/cli/commands/new.rb +2 -2
- data/lib/ronin/cli/commands/pack.rb +3 -3
- data/lib/ronin/cli/commands/proxy.rb +3 -3
- data/lib/ronin/cli/commands/public_suffix_list.rb +2 -2
- data/lib/ronin/cli/commands/quote.rb +10 -10
- data/lib/ronin/cli/commands/rot.rb +2 -2
- data/lib/ronin/cli/commands/sha1.rb +2 -2
- data/lib/ronin/cli/commands/sha256.rb +2 -2
- data/lib/ronin/cli/commands/sha512.rb +2 -2
- data/lib/ronin/cli/commands/strings.rb +3 -3
- data/lib/ronin/cli/commands/tips.rb +2 -2
- data/lib/ronin/cli/commands/tld_list.rb +2 -2
- data/lib/ronin/cli/commands/typo.rb +3 -3
- data/lib/ronin/cli/commands/typosquat.rb +3 -3
- data/lib/ronin/cli/commands/unarchive.rb +2 -2
- data/lib/ronin/cli/commands/unescape.rb +10 -10
- data/lib/ronin/cli/commands/unhexdump.rb +2 -2
- data/lib/ronin/cli/commands/unpack.rb +3 -3
- data/lib/ronin/cli/commands/unquote.rb +10 -10
- data/lib/ronin/cli/commands/url.rb +7 -3
- data/lib/ronin/cli/commands/xor.rb +3 -3
- data/lib/ronin/cli/dns.rb +1 -1
- data/lib/ronin/cli/file_processor_command.rb +3 -3
- data/lib/ronin/cli/host_and_port.rb +1 -1
- data/lib/ronin/cli/http_shell.rb +2 -2
- data/lib/ronin/cli/key_options.rb +1 -1
- data/lib/ronin/cli/method_options.rb +1 -1
- data/lib/ronin/cli/pattern_options.rb +1 -1
- data/lib/ronin/cli/printing/http.rb +2 -2
- data/lib/ronin/cli/printing/syntax_highlighting.rb +1 -1
- data/lib/ronin/cli/ruby_shell.rb +1 -1
- data/lib/ronin/cli/string_methods_command.rb +3 -3
- data/lib/ronin/cli/string_processor_command.rb +2 -2
- data/lib/ronin/cli/typo_options.rb +1 -1
- data/lib/ronin/cli/value_processor_command.rb +2 -2
- data/lib/ronin/cli.rb +10 -8
- data/lib/ronin/root.rb +1 -1
- data/lib/ronin/version.rb +2 -2
- data/lib/ronin.rb +2 -2
- data/man/ronin-decode.1 +3 -3
- data/man/ronin-decode.1.md +4 -4
- data/man/ronin-encode.1 +4 -4
- data/man/ronin-encode.1.md +4 -4
- data/man/ronin-escape.1 +4 -4
- data/man/ronin-escape.1.md +5 -5
- data/man/ronin-quote.1 +4 -4
- data/man/ronin-quote.1.md +5 -5
- data/man/ronin-unescape.1 +4 -4
- data/man/ronin-unescape.1.md +5 -5
- data/man/ronin-unquote.1 +3 -3
- data/man/ronin-unquote.1.md +4 -4
- data/ronin.gemspec +1 -0
- metadata +10 -6
- data/lib/ronin/ui.rb +0 -22
data/man/ronin-escape.1
CHANGED
|
@@ -45,19 +45,19 @@ URI escapes the data\.
|
|
|
45
45
|
HTTP escapes the data\.
|
|
46
46
|
.TP
|
|
47
47
|
\fB\-j\fR, \fB\-\-js\fR
|
|
48
|
-
|
|
48
|
+
Escapes the data as a JavaScript string\.
|
|
49
49
|
.TP
|
|
50
50
|
\fB\-S\fR, \fB\-\-shell\fR
|
|
51
|
-
Escapes the data as a Shell
|
|
51
|
+
Escapes the data as a Shell string\.
|
|
52
52
|
.TP
|
|
53
53
|
\fB\-P\fR, \fB\-\-powershell\fR
|
|
54
|
-
Escapes the data as a PowerShell
|
|
54
|
+
Escapes the data as a PowerShell string\.
|
|
55
55
|
.TP
|
|
56
56
|
\fB\-Q\fR, \fB\-\-quoted\-printable\fR
|
|
57
57
|
Escapes the data as Quoted Printable\.
|
|
58
58
|
.TP
|
|
59
59
|
\fB\-R\fR, \fB\-\-ruby\fR
|
|
60
|
-
Escapes the data as a Ruby
|
|
60
|
+
Escapes the data as a Ruby string\.
|
|
61
61
|
.TP
|
|
62
62
|
\fB\-x\fR, \fB\-\-xml\fR
|
|
63
63
|
XML escapes the data\.
|
data/man/ronin-escape.1.md
CHANGED
|
@@ -48,19 +48,19 @@ Escapes each special character for a variety of encodings.
|
|
|
48
48
|
: HTTP escapes the data.
|
|
49
49
|
|
|
50
50
|
`-j`, `--js`
|
|
51
|
-
:
|
|
51
|
+
: Escapes the data as a JavaScript string.
|
|
52
52
|
|
|
53
53
|
`-S`, `--shell`
|
|
54
|
-
: Escapes the data as a Shell
|
|
54
|
+
: Escapes the data as a Shell string.
|
|
55
55
|
|
|
56
56
|
`-P`, `--powershell`
|
|
57
|
-
: Escapes the data as a PowerShell
|
|
57
|
+
: Escapes the data as a PowerShell string.
|
|
58
58
|
|
|
59
59
|
`-Q`, `--quoted-printable`
|
|
60
60
|
: Escapes the data as Quoted Printable.
|
|
61
61
|
|
|
62
62
|
`-R`, `--ruby`
|
|
63
|
-
: Escapes the data as a Ruby
|
|
63
|
+
: Escapes the data as a Ruby string.
|
|
64
64
|
|
|
65
65
|
`-x`, `--xml`
|
|
66
66
|
: XML escapes the data.
|
|
@@ -74,4 +74,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
|
74
74
|
|
|
75
75
|
## SEE ALSO
|
|
76
76
|
|
|
77
|
-
[ronin-unescape](ronin-unescape.1.md)
|
|
77
|
+
[ronin-unescape](ronin-unescape.1.md)
|
data/man/ronin-quote.1
CHANGED
|
@@ -36,16 +36,16 @@ Quotes the data as a Hex string\.
|
|
|
36
36
|
Quotes the data as a C string\.
|
|
37
37
|
.TP
|
|
38
38
|
\fB\-j\fR, \fB\-\-js\fR
|
|
39
|
-
|
|
39
|
+
Quotes the data as a JavaScript string\.
|
|
40
40
|
.TP
|
|
41
41
|
\fB\-S\fR, \fB\-\-shell\fR
|
|
42
|
-
Quotes the data as a Shell
|
|
42
|
+
Quotes the data as a Shell string\.
|
|
43
43
|
.TP
|
|
44
44
|
\fB\-P\fR, \fB\-\-powershell\fR
|
|
45
|
-
Quotes the data as a PowerShell
|
|
45
|
+
Quotes the data as a PowerShell string\.
|
|
46
46
|
.TP
|
|
47
47
|
\fB\-R\fR, \fB\-\-ruby\fR
|
|
48
|
-
Quotes the data as a Ruby
|
|
48
|
+
Quotes the data as a Ruby string\.
|
|
49
49
|
.TP
|
|
50
50
|
\fB\-h\fR, \fB\-\-help\fR
|
|
51
51
|
Print help information\.
|
data/man/ronin-quote.1.md
CHANGED
|
@@ -39,16 +39,16 @@ Produces quoted a string for a variety of programming languages.
|
|
|
39
39
|
: Quotes the data as a C string.
|
|
40
40
|
|
|
41
41
|
`-j`, `--js`
|
|
42
|
-
:
|
|
42
|
+
: Quotes the data as a JavaScript string.
|
|
43
43
|
|
|
44
44
|
`-S`, `--shell`
|
|
45
|
-
: Quotes the data as a Shell
|
|
45
|
+
: Quotes the data as a Shell string.
|
|
46
46
|
|
|
47
47
|
`-P`, `--powershell`
|
|
48
|
-
: Quotes the data as a PowerShell
|
|
48
|
+
: Quotes the data as a PowerShell string.
|
|
49
49
|
|
|
50
50
|
`-R`, `--ruby`
|
|
51
|
-
: Quotes the data as a Ruby
|
|
51
|
+
: Quotes the data as a Ruby string.
|
|
52
52
|
|
|
53
53
|
`-h`, `--help`
|
|
54
54
|
: Print help information.
|
|
@@ -59,4 +59,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
|
59
59
|
|
|
60
60
|
## SEE ALSO
|
|
61
61
|
|
|
62
|
-
[ronin-unquote](ronin-unquote.1.md)
|
|
62
|
+
[ronin-unquote](ronin-unquote.1.md)
|
data/man/ronin-unescape.1
CHANGED
|
@@ -45,19 +45,19 @@ URI unescapes the data\.
|
|
|
45
45
|
HTTP unescapes the data\.
|
|
46
46
|
.TP
|
|
47
47
|
\fB\-j\fR, \fB\-\-js\fR
|
|
48
|
-
|
|
48
|
+
Unescapes the data as a JavaScript string\.
|
|
49
49
|
.TP
|
|
50
50
|
\fB\-S\fR, \fB\-\-shell\fR
|
|
51
|
-
Unescapes the data as a Shell
|
|
51
|
+
Unescapes the data as a Shell string\.
|
|
52
52
|
.TP
|
|
53
53
|
\fB\-P\fR, \fB\-\-powershell\fR
|
|
54
|
-
Unescapes the data as a PowerShell
|
|
54
|
+
Unescapes the data as a PowerShell string\.
|
|
55
55
|
.TP
|
|
56
56
|
\fB\-Q\fR, \fB\-\-quoted\-printable\fR
|
|
57
57
|
Unescapes the data as Quoted Printable\.
|
|
58
58
|
.TP
|
|
59
59
|
\fB\-R\fR, \fB\-\-ruby\fR
|
|
60
|
-
Unescapes the data as a Ruby
|
|
60
|
+
Unescapes the data as a Ruby string\.
|
|
61
61
|
.TP
|
|
62
62
|
\fB\-x\fR, \fB\-\-xml\fR
|
|
63
63
|
XML unescapes the data\.
|
data/man/ronin-unescape.1.md
CHANGED
|
@@ -48,19 +48,19 @@ Unescapes each escaped character from a variety of encodings.
|
|
|
48
48
|
: HTTP unescapes the data.
|
|
49
49
|
|
|
50
50
|
`-j`, `--js`
|
|
51
|
-
:
|
|
51
|
+
: Unescapes the data as a JavaScript string.
|
|
52
52
|
|
|
53
53
|
`-S`, `--shell`
|
|
54
|
-
: Unescapes the data as a Shell
|
|
54
|
+
: Unescapes the data as a Shell string.
|
|
55
55
|
|
|
56
56
|
`-P`, `--powershell`
|
|
57
|
-
: Unescapes the data as a PowerShell
|
|
57
|
+
: Unescapes the data as a PowerShell string.
|
|
58
58
|
|
|
59
59
|
`-Q`, `--quoted-printable`
|
|
60
60
|
: Unescapes the data as Quoted Printable.
|
|
61
61
|
|
|
62
62
|
`-R`, `--ruby`
|
|
63
|
-
: Unescapes the data as a Ruby
|
|
63
|
+
: Unescapes the data as a Ruby string.
|
|
64
64
|
|
|
65
65
|
`-x`, `--xml`
|
|
66
66
|
: XML unescapes the data.
|
|
@@ -74,4 +74,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
|
74
74
|
|
|
75
75
|
## SEE ALSO
|
|
76
76
|
|
|
77
|
-
[ronin-escape](ronin-escape.1.md)
|
|
77
|
+
[ronin-escape](ronin-escape.1.md)
|
data/man/ronin-unquote.1
CHANGED
|
@@ -36,16 +36,16 @@ Unquotes the Hex string\.
|
|
|
36
36
|
Unquotes the C string\.
|
|
37
37
|
.TP
|
|
38
38
|
\fB\-j\fR, \fB\-\-js\fR
|
|
39
|
-
Unquotes the JavaScript
|
|
39
|
+
Unquotes the JavaScript string\.
|
|
40
40
|
.TP
|
|
41
41
|
\fB\-S\fR, \fB\-\-shell\fR
|
|
42
42
|
Unquotes the Shell string\.
|
|
43
43
|
.TP
|
|
44
44
|
\fB\-P\fR, \fB\-\-powershell\fR
|
|
45
|
-
Unquotes the PowerShell
|
|
45
|
+
Unquotes the PowerShell string\.
|
|
46
46
|
.TP
|
|
47
47
|
\fB\-R\fR, \fB\-\-ruby\fR
|
|
48
|
-
Unquotes the Ruby
|
|
48
|
+
Unquotes the Ruby string\.
|
|
49
49
|
.TP
|
|
50
50
|
\fB\-h\fR, \fB\-\-help\fR
|
|
51
51
|
Print help information\.
|
data/man/ronin-unquote.1.md
CHANGED
|
@@ -39,16 +39,16 @@ Unquotes a double/single quoted string.
|
|
|
39
39
|
: Unquotes the C string.
|
|
40
40
|
|
|
41
41
|
`-j`, `--js`
|
|
42
|
-
: Unquotes the JavaScript
|
|
42
|
+
: Unquotes the JavaScript string.
|
|
43
43
|
|
|
44
44
|
`-S`, `--shell`
|
|
45
45
|
: Unquotes the Shell string.
|
|
46
46
|
|
|
47
47
|
`-P`, `--powershell`
|
|
48
|
-
: Unquotes the PowerShell
|
|
48
|
+
: Unquotes the PowerShell string.
|
|
49
49
|
|
|
50
50
|
`-R`, `--ruby`
|
|
51
|
-
: Unquotes the Ruby
|
|
51
|
+
: Unquotes the Ruby string.
|
|
52
52
|
|
|
53
53
|
`-h`, `--help`
|
|
54
54
|
: Print help information.
|
|
@@ -59,4 +59,4 @@ Postmodern <postmodern.mod3@gmail.com>
|
|
|
59
59
|
|
|
60
60
|
## SEE ALSO
|
|
61
61
|
|
|
62
|
-
[ronin-quote](ronin-quote.1.md)
|
|
62
|
+
[ronin-quote](ronin-quote.1.md)
|
data/ronin.gemspec
CHANGED
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |gem|
|
|
|
20
20
|
gem.authors = Array(gemspec['authors'])
|
|
21
21
|
gem.email = gemspec['email']
|
|
22
22
|
gem.homepage = gemspec['homepage']
|
|
23
|
+
gem.metadata = gemspec['metadata'] if gemspec['metadata']
|
|
23
24
|
|
|
24
25
|
glob = ->(patterns) { gem.files & Dir[*patterns] }
|
|
25
26
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ronin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Postmodern
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-02-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: open_namespace
|
|
@@ -523,7 +523,6 @@ files:
|
|
|
523
523
|
- lib/ronin/cli/typo_options.rb
|
|
524
524
|
- lib/ronin/cli/value_processor_command.rb
|
|
525
525
|
- lib/ronin/root.rb
|
|
526
|
-
- lib/ronin/ui.rb
|
|
527
526
|
- lib/ronin/version.rb
|
|
528
527
|
- man/ronin-archive.1.md
|
|
529
528
|
- man/ronin-asn.1
|
|
@@ -641,8 +640,13 @@ files:
|
|
|
641
640
|
- scripts/setup
|
|
642
641
|
homepage: https://ronin-rb.dev
|
|
643
642
|
licenses:
|
|
644
|
-
- GPL-3.0
|
|
645
|
-
metadata:
|
|
643
|
+
- GPL-3.0-or-later
|
|
644
|
+
metadata:
|
|
645
|
+
documentation_uri: https://ronin-rb.dev/docs/ronin
|
|
646
|
+
source_code_uri: https://github.com/ronin-rb/ronin
|
|
647
|
+
bug_tracker_uri: https://github.com/ronin-rb/ronin/issues
|
|
648
|
+
changelog_uri: https://github.com/ronin-rb/ronin/blob/main/ChangeLog.md
|
|
649
|
+
rubygems_mfa_required: 'true'
|
|
646
650
|
post_install_message: |
|
|
647
651
|
*************************************************************************
|
|
648
652
|
|
|
@@ -671,7 +675,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
671
675
|
- !ruby/object:Gem::Version
|
|
672
676
|
version: '0'
|
|
673
677
|
requirements: []
|
|
674
|
-
rubygems_version: 3.5.
|
|
678
|
+
rubygems_version: 3.5.22
|
|
675
679
|
signing_key:
|
|
676
680
|
specification_version: 4
|
|
677
681
|
summary: A Ruby toolkit for security research and development.
|
data/lib/ronin/ui.rb
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
#
|
|
3
|
-
# Copyright (c) 2006-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
|
|
4
|
-
#
|
|
5
|
-
# Ronin is free software: you can redistribute it and/or modify
|
|
6
|
-
# it under the terms of the GNU General Public License as published by
|
|
7
|
-
# the Free Software Foundation, either version 3 of the License, or
|
|
8
|
-
# (at your option) any later version.
|
|
9
|
-
#
|
|
10
|
-
# Ronin is distributed in the hope that it will be useful,
|
|
11
|
-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
# GNU General Public License for more details.
|
|
14
|
-
#
|
|
15
|
-
# You should have received a copy of the GNU General Public License
|
|
16
|
-
# along with Ronin. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
-
#
|
|
18
|
-
|
|
19
|
-
require 'ronin/ui/print'
|
|
20
|
-
require 'ronin/ui/console'
|
|
21
|
-
require 'ronin/ui/shell'
|
|
22
|
-
require 'ronin/ui/cli'
|