ronin 2.0.0.beta2 → 2.0.0.beta4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +611 -4
- data/gemspec.yml +2 -2
- data/lib/ronin/cli/commands/decode.rb +39 -0
- data/lib/ronin/cli/commands/encode.rb +39 -0
- data/lib/ronin/cli/commands/escape.rb +7 -0
- data/lib/ronin/cli/commands/http.rb +6 -2
- data/lib/ronin/cli/commands/irb.rb +3 -2
- data/lib/ronin/cli/commands/netcat.rb +6 -2
- data/lib/ronin/cli/commands/unescape.rb +7 -0
- data/lib/ronin/cli/ruby_shell.rb +47 -0
- data/lib/ronin/version.rb +1 -1
- data/lib/ronin.rb +2 -1
- data/man/ronin-cert-gen.1 +5 -5
- data/man/ronin-cert-gen.1.md +5 -5
- data/man/ronin-cert-grab.1 +3 -3
- data/man/ronin-cert-grab.1.md +3 -3
- data/man/ronin-decode.1 +24 -0
- data/man/ronin-decode.1.md +18 -0
- data/man/ronin-encode.1 +24 -0
- data/man/ronin-encode.1.md +18 -0
- data/man/ronin-escape.1 +4 -0
- data/man/ronin-escape.1.md +3 -0
- 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-netcat.1 +1 -1
- data/man/ronin-netcat.1.md +1 -1
- data/man/ronin-unescape.1 +4 -0
- data/man/ronin-unescape.1.md +3 -0
- metadata +7 -6
@@ -34,8 +34,11 @@ module Ronin
|
|
34
34
|
# --string STRING Optional string to process
|
35
35
|
# -M, --multiline Process each line separately
|
36
36
|
# -n, --keep-newlines Preserves newlines at the end of each line
|
37
|
+
# --base16 Base16 decodes the data
|
37
38
|
# --base32 Base32 decodes the data
|
38
39
|
# -b, --base64=[strict|url] Base64 decodes the data
|
40
|
+
# -z, --zlib Zlib compresses the data
|
41
|
+
# -g, --gzip gzip compresses the data
|
39
42
|
# -c, --c Encodes the data as a C string
|
40
43
|
# -X, --hex Hex decode the data (ex: "414141...")
|
41
44
|
# -H, --html HTML decodes the data
|
@@ -44,7 +47,10 @@ module Ronin
|
|
44
47
|
# -j, --js JavaScript decodes the data
|
45
48
|
# -S, --shell Encodes the data as a Shell String
|
46
49
|
# -P, --powershell Encodes the data as a PowerShell String
|
50
|
+
# --punycode Decodes the data as Punycode
|
51
|
+
# -Q, --quoted-printable Decodes the data as Quoted Printable
|
47
52
|
# -R, --ruby Ruby decodes the data
|
53
|
+
# --uudecode uudecodes the data
|
48
54
|
# -x, --xml XML decodes the data
|
49
55
|
# -h, --help Print help information
|
50
56
|
#
|
@@ -54,6 +60,11 @@ module Ronin
|
|
54
60
|
#
|
55
61
|
class Decode < StringMethodsCommand
|
56
62
|
|
63
|
+
option :base16, desc: 'Base16 decodes the data' do
|
64
|
+
require 'ronin/support/encoding/base16'
|
65
|
+
@method_calls << :base16_decode
|
66
|
+
end
|
67
|
+
|
57
68
|
option :base32, desc: 'Base32 decodes the data' do
|
58
69
|
require 'ronin/support/encoding/base32'
|
59
70
|
@method_calls << :base32_decode
|
@@ -74,6 +85,18 @@ module Ronin
|
|
74
85
|
end
|
75
86
|
end
|
76
87
|
|
88
|
+
option :zlib, short: '-z',
|
89
|
+
desc: 'Zlib uncompresses the data' do
|
90
|
+
require 'ronin/support/compression/core_ext'
|
91
|
+
@method_calls << :zlib_inflate
|
92
|
+
end
|
93
|
+
|
94
|
+
option :gzip, short: '-g',
|
95
|
+
desc: 'gzip uncompresses the data' do
|
96
|
+
require 'ronin/support/compression/core_ext'
|
97
|
+
@method_calls << :gunzip
|
98
|
+
end
|
99
|
+
|
77
100
|
option :c, short: '-c',
|
78
101
|
desc: 'Decodes the data as a C string' do
|
79
102
|
require 'ronin/support/encoding/c'
|
@@ -121,12 +144,28 @@ module Ronin
|
|
121
144
|
@method_calls << :powershell_decode
|
122
145
|
end
|
123
146
|
|
147
|
+
option :punycode, desc: 'Decodes the data as Punycode' do
|
148
|
+
require 'ronin/support/encoding/punycode'
|
149
|
+
@method_calls << :punycode_decode
|
150
|
+
end
|
151
|
+
|
152
|
+
option :quoted_printable, short: '-Q',
|
153
|
+
desc: 'Decodes the data as Quoted Printable' do
|
154
|
+
require 'ronin/support/encoding/quoted_printable'
|
155
|
+
@method_calls << :quoted_printable_decode
|
156
|
+
end
|
157
|
+
|
124
158
|
option :ruby, short: '-R',
|
125
159
|
desc: 'Ruby decodes the data' do
|
126
160
|
require 'ronin/support/encoding/ruby'
|
127
161
|
@method_calls << :ruby_decode
|
128
162
|
end
|
129
163
|
|
164
|
+
option :uudecode, desc: 'uudecodes the data' do
|
165
|
+
require 'ronin/support/encoding/uuencoding'
|
166
|
+
@method_calls << :uudecode
|
167
|
+
end
|
168
|
+
|
130
169
|
option :xml, short: '-x',
|
131
170
|
desc: 'XML decodes the data' do
|
132
171
|
require 'ronin/support/encoding/xml'
|
@@ -34,8 +34,11 @@ module Ronin
|
|
34
34
|
# --string STRING Optional string to process
|
35
35
|
# -M, --multiline Process each line separately
|
36
36
|
# -n, --keep-newlines Preserves newlines at the end of each line
|
37
|
+
# --base16 Base16 encodes the data
|
37
38
|
# --base32 Base32 encodes the data
|
38
39
|
# -b, --base64=[strict|url] Base64 encodes the data
|
40
|
+
# -z, --zlib Zlib compresses the data
|
41
|
+
# -g, --gzip gzip compresses the data
|
39
42
|
# -c, --c Encodes the data as a C string
|
40
43
|
# -X, --hex Hex encode the data (ex: "414141...")
|
41
44
|
# -H, --html HTML encodes the data
|
@@ -44,7 +47,10 @@ module Ronin
|
|
44
47
|
# -j, --js JavaScript encodes the data
|
45
48
|
# -S, --shell Encodes the data as a Shell String
|
46
49
|
# -P, --powershell Encodes the data as a PowerShell String
|
50
|
+
# --punycode Encodes the data as Punycode
|
51
|
+
# -Q, --quoted-printable Encodes the data as Quoted Printable
|
47
52
|
# -R, --ruby Encodes the data as a Ruby String
|
53
|
+
# --uuencode uuencodes the data
|
48
54
|
# -x, --xml XML encodes the data
|
49
55
|
# -h, --help Print help information
|
50
56
|
#
|
@@ -54,6 +60,11 @@ module Ronin
|
|
54
60
|
#
|
55
61
|
class Encode < StringMethodsCommand
|
56
62
|
|
63
|
+
option :base16, desc: 'Base16 encodes the data' do
|
64
|
+
require 'ronin/support/encoding/base16'
|
65
|
+
@method_calls << :base16_encode
|
66
|
+
end
|
67
|
+
|
57
68
|
option :base32, desc: 'Base32 encodes the data' do
|
58
69
|
require 'ronin/support/encoding/base32'
|
59
70
|
@method_calls << :base32_encode
|
@@ -74,6 +85,18 @@ module Ronin
|
|
74
85
|
end
|
75
86
|
end
|
76
87
|
|
88
|
+
option :zlib, short: '-z',
|
89
|
+
desc: 'Zlib compresses the data' do
|
90
|
+
require 'ronin/support/compression/core_ext'
|
91
|
+
@method_calls << :zlib_deflate
|
92
|
+
end
|
93
|
+
|
94
|
+
option :gzip, short: '-g',
|
95
|
+
desc: 'gzip compresses the data' do
|
96
|
+
require 'ronin/support/compression/core_ext'
|
97
|
+
@method_calls << :gzip
|
98
|
+
end
|
99
|
+
|
77
100
|
option :c, short: '-c',
|
78
101
|
desc: 'Encodes the data as a C string' do
|
79
102
|
require 'ronin/support/encoding/c'
|
@@ -121,12 +144,28 @@ module Ronin
|
|
121
144
|
@method_calls << :powershell_encode
|
122
145
|
end
|
123
146
|
|
147
|
+
option :punycode, desc: 'Encodes the data as Punycode' do
|
148
|
+
require 'ronin/support/encoding/punycode'
|
149
|
+
@method_calls << :punycode_encode
|
150
|
+
end
|
151
|
+
|
152
|
+
option :quoted_printable, short: '-Q',
|
153
|
+
desc: 'Encodes the data as Quoted Printable' do
|
154
|
+
require 'ronin/support/encoding/quoted_printable'
|
155
|
+
@method_calls << :quoted_printable_encode
|
156
|
+
end
|
157
|
+
|
124
158
|
option :ruby, short: '-R',
|
125
159
|
desc: 'Encodes the data as a Ruby String' do
|
126
160
|
require 'ronin/support/encoding/ruby'
|
127
161
|
@method_calls << :ruby_encode
|
128
162
|
end
|
129
163
|
|
164
|
+
option :uuencode, desc: 'uuencodes the data' do
|
165
|
+
require 'ronin/support/encoding/uuencoding'
|
166
|
+
@method_calls << :uuencode
|
167
|
+
end
|
168
|
+
|
130
169
|
option :xml, short: '-x',
|
131
170
|
desc: 'XML encodes the data' do
|
132
171
|
require 'ronin/support/encoding/xml'
|
@@ -42,6 +42,7 @@ module Ronin
|
|
42
42
|
# -j, --js JavaScript escapes the data
|
43
43
|
# -S, --shell Escapes the data as a Shell String
|
44
44
|
# -P, --powershell Escapes the data as a PowerShell String
|
45
|
+
# -Q, --quoted-printable Escapes the data as Quoted Printable
|
45
46
|
# -R, --ruby Escapes the data as a Ruby String
|
46
47
|
# -x, --xml XML escapes the data
|
47
48
|
# -h, --help Print help information
|
@@ -99,6 +100,12 @@ module Ronin
|
|
99
100
|
@method_calls << :powershell_escape
|
100
101
|
end
|
101
102
|
|
103
|
+
option :quoted_printable, short: '-Q',
|
104
|
+
desc: 'Escapes the data as Quoted Printable' do
|
105
|
+
require 'ronin/support/encoding/quoted_printable'
|
106
|
+
@method_calls << :quoted_printable_escape
|
107
|
+
end
|
108
|
+
|
102
109
|
option :ruby, short: '-R',
|
103
110
|
desc: 'Escapes the data as a Ruby String' do
|
104
111
|
require 'ronin/support/encoding/ruby'
|
@@ -56,7 +56,7 @@ module Ronin
|
|
56
56
|
# --shell URL Open an interactive HTTP shell
|
57
57
|
# -P, --proxy URL The proxy to use
|
58
58
|
# -U, --user-agent-string STRING The User-Agent string to use
|
59
|
-
# -u
|
59
|
+
# -u chrome-linux|chrome-macos|chrome-windows|chrome-iphone|chrome-ipad|chrome-android|firefox-linux|firefox-macos|firefox-windows|firefox-iphone|firefox-ipad|firefox-android|safari-macos|safari-iphone|safari-ipad|edge,
|
60
60
|
# --user-agent The User-Agent to use
|
61
61
|
# -H, --header "NAME: VALUE" Adds a header to the request
|
62
62
|
# -B, --body STRING The request body
|
@@ -172,7 +172,11 @@ module Ronin
|
|
172
172
|
|
173
173
|
option :user_agent, short: '-u',
|
174
174
|
value: {
|
175
|
-
type:
|
175
|
+
type: Hash[
|
176
|
+
Support::Network::HTTP::UserAgents::ALIASES.keys.map { |key|
|
177
|
+
[key.to_s.tr('_','-'), key]
|
178
|
+
}
|
179
|
+
]
|
176
180
|
},
|
177
181
|
desc: 'The User-Agent to use' do |name|
|
178
182
|
@user_agent = name
|
@@ -17,7 +17,7 @@
|
|
17
17
|
#
|
18
18
|
|
19
19
|
require 'ronin/cli/command'
|
20
|
-
require 'ronin/
|
20
|
+
require 'ronin/cli/ruby_shell'
|
21
21
|
|
22
22
|
module Ronin
|
23
23
|
class CLI
|
@@ -30,6 +30,7 @@ module Ronin
|
|
30
30
|
# ronin irb [options]
|
31
31
|
#
|
32
32
|
# ## Options
|
33
|
+
#
|
33
34
|
# -I, --include DIR Directory to add to $LOAD_PATH
|
34
35
|
# -r, --require PATH Ruby files to require
|
35
36
|
# -h, --help Print help information
|
@@ -97,7 +98,7 @@ module Ronin
|
|
97
98
|
end
|
98
99
|
|
99
100
|
require 'ronin'
|
100
|
-
|
101
|
+
RubyShell.start
|
101
102
|
end
|
102
103
|
|
103
104
|
end
|
@@ -50,7 +50,7 @@ module Ronin
|
|
50
50
|
# --ssl-version 1|1.1|1.2 Specifies the required SSL version
|
51
51
|
# --ssl-cert FILE Specifies the SSL certificate file
|
52
52
|
# --ssl-key FILE Specifies the SSL key file
|
53
|
-
# --ssl-verify none|peer|
|
53
|
+
# --ssl-verify none|peer|fail-if-no-peer-cert|client-once|true|false
|
54
54
|
# SSL verification mode
|
55
55
|
# --ssl-ca-bundle PATH Path to the file or directory of CA certificates
|
56
56
|
# -h, --help Print help information
|
@@ -137,7 +137,11 @@ module Ronin
|
|
137
137
|
desc: 'Specifies the SSL key file'
|
138
138
|
|
139
139
|
option :ssl_verify, value: {
|
140
|
-
type:
|
140
|
+
type: Hash[
|
141
|
+
Support::Network::SSL::VERIFY.keys.map { |key|
|
142
|
+
[key.to_s.tr('_','-'), key]
|
143
|
+
}
|
144
|
+
]
|
141
145
|
},
|
142
146
|
desc: 'SSL verification mode'
|
143
147
|
|
@@ -43,6 +43,7 @@ module Ronin
|
|
43
43
|
# -S, --shell Unescapes the data as a Shell String
|
44
44
|
# -P, --powershell Unescapes the data as a PowerShell String
|
45
45
|
# -R, --ruby Unescapes the data as a Ruby String
|
46
|
+
# -Q, --quoted-printable Unescapes the data as Quoted Printable
|
46
47
|
# -x, --xml XML unescapes the data
|
47
48
|
# -h, --help Print help information
|
48
49
|
#
|
@@ -99,6 +100,12 @@ module Ronin
|
|
99
100
|
@method_calls << :powershell_unescape
|
100
101
|
end
|
101
102
|
|
103
|
+
option :quoted_printable, short: '-Q',
|
104
|
+
desc: 'Unescapes the data as Quoted Printable' do
|
105
|
+
require 'ronin/support/encoding/quoted_printable'
|
106
|
+
@method_calls << :quoted_printable_unescape
|
107
|
+
end
|
108
|
+
|
102
109
|
option :ruby, short: '-R',
|
103
110
|
desc: 'Unescapes the data as a Ruby String' do
|
104
111
|
require 'ronin/support/encoding/ruby'
|
@@ -0,0 +1,47 @@
|
|
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/core/cli/ruby_shell'
|
20
|
+
|
21
|
+
module Ronin
|
22
|
+
class CLI
|
23
|
+
#
|
24
|
+
# The interactive Ruby shell for {Ronin}.
|
25
|
+
#
|
26
|
+
class RubyShell < Core::CLI::RubyShell
|
27
|
+
|
28
|
+
#
|
29
|
+
# Initializes the `ronin irb` Ruby shell.
|
30
|
+
#
|
31
|
+
# @param [String] name
|
32
|
+
# The name of the IRB shell.
|
33
|
+
#
|
34
|
+
# @param [Object] context
|
35
|
+
# Custom context to launch IRB from within.
|
36
|
+
#
|
37
|
+
# @param [Hash{Symbol => Object}] kwargs
|
38
|
+
# Additional keyword arguments for
|
39
|
+
# `Ronin::Core::CLI::RubyShell#initialize`.
|
40
|
+
#
|
41
|
+
def initialize(name: 'ronin', context: Ronin, **kwargs)
|
42
|
+
super(name: name, context: context, **kwargs)
|
43
|
+
end
|
44
|
+
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
data/lib/ronin/version.rb
CHANGED
data/lib/ronin.rb
CHANGED
@@ -19,11 +19,12 @@
|
|
19
19
|
#
|
20
20
|
# Loads up the full Ronin environment.
|
21
21
|
#
|
22
|
-
require 'ronin/support
|
22
|
+
require 'ronin/support'
|
23
23
|
require 'ronin/version'
|
24
24
|
|
25
25
|
require 'open_namespace'
|
26
26
|
|
27
27
|
module Ronin
|
28
|
+
include Ronin::Support
|
28
29
|
include OpenNamespace
|
29
30
|
end
|
data/man/ronin-cert-gen.1
CHANGED
@@ -92,7 +92,7 @@ Print help information\.
|
|
92
92
|
Generates self\-signed certificate in \fBcert.crt\fR and a new private key in \fBkey.pem\fR:
|
93
93
|
.LP
|
94
94
|
.nf
|
95
|
-
ronin cert
|
95
|
+
ronin cert\-gen \-c test\.com \-O \[dq]Test Co\[dq] \-U \[dq]Test Dept\[dq] \e
|
96
96
|
\-L \[dq]Test City\[dq] \-S NY \-C US
|
97
97
|
.fi
|
98
98
|
.LP
|
@@ -101,7 +101,7 @@ Generates a new self\-signed certificate for \fBtest.com\fR in \fBcert.crt\fR us
|
|
101
101
|
\fBprivate.key\fR:
|
102
102
|
.LP
|
103
103
|
.nf
|
104
|
-
ronin cert
|
104
|
+
ronin cert\-gen \-c test\.com \-O \[dq]Test Co\[dq] \-U \[dq]Test Dept\[dq] \e
|
105
105
|
\-L \[dq]Test City\[dq] \-S NY \-C US \e
|
106
106
|
\-\-key\-file private\.key
|
107
107
|
.fi
|
@@ -110,7 +110,7 @@ Generates a new self\-signed certificate for \fBtest.com\fR in \fBcert.crt\fR us
|
|
110
110
|
Generates a new self\-signed certificate with a alternative name \fBwww.test.com\fR:
|
111
111
|
.LP
|
112
112
|
.nf
|
113
|
-
ronin cert
|
113
|
+
ronin cert\-gen \-c test\.com \-A www\.test\.com \-O \[dq]Test Co\[dq] \-U \[dq]Test Dept\[dq] \e
|
114
114
|
\-L \[dq]Test City\[dq] \-S NY \-C US
|
115
115
|
.fi
|
116
116
|
.LP
|
@@ -118,7 +118,7 @@ Generates a new self\-signed certificate with a alternative name \fBwww.test.com
|
|
118
118
|
Generates a new CA certificate which can sign other certificates:
|
119
119
|
.LP
|
120
120
|
.nf
|
121
|
-
ronin cert
|
121
|
+
ronin cert\-gen \-\-ca \-c \[dq]Test CA\[dq] \-O \[dq]Test Co\[dq] \-U \[dq]Test Dept\[dq] \e
|
122
122
|
\-L \[dq]Test City\[dq] \-S NY \-C US
|
123
123
|
.fi
|
124
124
|
.LP
|
@@ -126,7 +126,7 @@ Generates a new CA certificate which can sign other certificates:
|
|
126
126
|
Generates a new sub\-certificate using the CA certificate \fBca.crt\fR and signing key \fBca.key\fR:
|
127
127
|
.LP
|
128
128
|
.nf
|
129
|
-
ronin cert
|
129
|
+
ronin cert\-gen \-c test\.com \-O \[dq]Test Co\[dq] \-U \[dq]Test Dept\[dq] \e
|
130
130
|
\-L \[dq]Test City\[dq] \-S NY \-C US \e
|
131
131
|
\-\-ca\-key ca\.key \-\-ca\-cert ca\.crt
|
132
132
|
.fi
|
data/man/ronin-cert-gen.1.md
CHANGED
@@ -69,29 +69,29 @@ Generates a new X509 certificate.
|
|
69
69
|
|
70
70
|
Generates self-signed certificate in `cert.crt` and a new private key in `key.pem`:
|
71
71
|
|
72
|
-
ronin
|
72
|
+
ronin cert-gen -c test.com -O "Test Co" -U "Test Dept" \
|
73
73
|
-L "Test City" -S NY -C US
|
74
74
|
|
75
75
|
Generates a new self-signed certificate for `test.com` in `cert.crt` using the private key in
|
76
76
|
`private.key`:
|
77
77
|
|
78
|
-
ronin
|
78
|
+
ronin cert-gen -c test.com -O "Test Co" -U "Test Dept" \
|
79
79
|
-L "Test City" -S NY -C US \
|
80
80
|
--key-file private.key
|
81
81
|
|
82
82
|
Generates a new self-signed certificate with a alternative name `www.test.com`:
|
83
83
|
|
84
|
-
ronin
|
84
|
+
ronin cert-gen -c test.com -A www.test.com -O "Test Co" -U "Test Dept" \
|
85
85
|
-L "Test City" -S NY -C US
|
86
86
|
|
87
87
|
Generates a new CA certificate which can sign other certificates:
|
88
88
|
|
89
|
-
ronin
|
89
|
+
ronin cert-gen --ca -c "Test CA" -O "Test Co" -U "Test Dept" \
|
90
90
|
-L "Test City" -S NY -C US
|
91
91
|
|
92
92
|
Generates a new sub-certificate using the CA certificate `ca.crt` and signing key `ca.key`:
|
93
93
|
|
94
|
-
ronin
|
94
|
+
ronin cert-gen -c test.com -O "Test Co" -U "Test Dept" \
|
95
95
|
-L "Test City" -S NY -C US \
|
96
96
|
--ca-key ca.key --ca-cert ca.crt
|
97
97
|
|
data/man/ronin-cert-grab.1
CHANGED
@@ -38,21 +38,21 @@ Print help information\.
|
|
38
38
|
Downloads the SSL\[sl]TLS certificate for a SSL\[sl]TLS service:
|
39
39
|
.LP
|
40
40
|
.nf
|
41
|
-
ronin cert\-grab github\.com:443
|
41
|
+
ronin cert\-grab github\.com:443
|
42
42
|
.fi
|
43
43
|
.LP
|
44
44
|
.PP
|
45
45
|
Downloads the SSL\[sl]TLS certificate running on the IP and port:
|
46
46
|
.LP
|
47
47
|
.nf
|
48
|
-
ronin cert\-grab 93\.184\.216\.34:443
|
48
|
+
ronin cert\-grab 93\.184\.216\.34:443
|
49
49
|
.fi
|
50
50
|
.LP
|
51
51
|
.PP
|
52
52
|
Downloads the SSL\[sl]TLS certificate used by the URL:
|
53
53
|
.LP
|
54
54
|
.nf
|
55
|
-
ronin cert\-grab https:\[sl]\[sl]github\.com\[sl]
|
55
|
+
ronin cert\-grab https:\[sl]\[sl]github\.com\[sl]
|
56
56
|
.fi
|
57
57
|
.LP
|
58
58
|
.SH AUTHOR
|
data/man/ronin-cert-grab.1.md
CHANGED
@@ -28,15 +28,15 @@ Downloads SSL/TLS certificates for a SSL/TLS TCP or `https://` URL.
|
|
28
28
|
|
29
29
|
Downloads the SSL/TLS certificate for a SSL/TLS service:
|
30
30
|
|
31
|
-
|
31
|
+
ronin cert-grab github.com:443
|
32
32
|
|
33
33
|
Downloads the SSL/TLS certificate running on the IP and port:
|
34
34
|
|
35
|
-
|
35
|
+
ronin cert-grab 93.184.216.34:443
|
36
36
|
|
37
37
|
Downloads the SSL/TLS certificate used by the URL:
|
38
38
|
|
39
|
-
|
39
|
+
ronin cert-grab https://github.com/
|
40
40
|
|
41
41
|
## AUTHOR
|
42
42
|
|
data/man/ronin-decode.1
CHANGED
@@ -38,6 +38,10 @@ Process each line of input separately\.
|
|
38
38
|
Preserves newlines at the end of each line\.
|
39
39
|
.LP
|
40
40
|
.TP
|
41
|
+
\fB--base16\fR
|
42
|
+
Base16 decodes the data\.
|
43
|
+
.LP
|
44
|
+
.TP
|
41
45
|
\fB--base32\fR
|
42
46
|
Base32 decodes the data\.
|
43
47
|
.LP
|
@@ -46,6 +50,14 @@ Base32 decodes the data\.
|
|
46
50
|
Base64 decodes the data\. If the \fBstrict\fR or \fBurl\fR option value is given,
|
47
51
|
it will enable \fBstrict\fR or \fBurl\fR Base64 encoding mode, respectively\.
|
48
52
|
.LP
|
53
|
+
.TP
|
54
|
+
\fB-z\fR, \fB--zlib\fR
|
55
|
+
Zlib uncompresses the data\.
|
56
|
+
.LP
|
57
|
+
.TP
|
58
|
+
\fB-g\fR, \fB--gzip\fR
|
59
|
+
gzip uncompresses the data\.
|
60
|
+
.LP
|
49
61
|
.HP
|
50
62
|
\fB-c, \fR\-\-c\`
|
51
63
|
Decodes the data as a C string\.
|
@@ -79,10 +91,22 @@ Decodes the data as a Shell String\.
|
|
79
91
|
Decodes the data as a PowerShell String\.
|
80
92
|
.LP
|
81
93
|
.TP
|
94
|
+
\fB--punycode\fR
|
95
|
+
Decodes the data as Punycode\.
|
96
|
+
.LP
|
97
|
+
.TP
|
98
|
+
\fB-Q\fR, \fB--quoted-printable\fR
|
99
|
+
Decodes the data as Quoted Printable\.
|
100
|
+
.LP
|
101
|
+
.TP
|
82
102
|
\fB-R\fR, \fB--ruby\fR
|
83
103
|
Ruby decodes the data\.
|
84
104
|
.LP
|
85
105
|
.TP
|
106
|
+
\fB--uudecode\fR
|
107
|
+
uudecodes the data\.
|
108
|
+
.LP
|
109
|
+
.TP
|
86
110
|
\fB-x\fR, \fB--xml\fR
|
87
111
|
XML decodes the data\.
|
88
112
|
.LP
|
data/man/ronin-decode.1.md
CHANGED
@@ -28,6 +28,9 @@ Decodes each character of the given data from a variety of formats.
|
|
28
28
|
`-n`, `--keep-newlines`
|
29
29
|
Preserves newlines at the end of each line.
|
30
30
|
|
31
|
+
`--base16`
|
32
|
+
Base16 decodes the data.
|
33
|
+
|
31
34
|
`--base32`
|
32
35
|
Base32 decodes the data.
|
33
36
|
|
@@ -35,6 +38,12 @@ Decodes each character of the given data from a variety of formats.
|
|
35
38
|
Base64 decodes the data. If the `strict` or `url` option value is given,
|
36
39
|
it will enable `strict` or `url` Base64 encoding mode, respectively.
|
37
40
|
|
41
|
+
`-z`, `--zlib`
|
42
|
+
Zlib uncompresses the data.
|
43
|
+
|
44
|
+
`-g`, `--gzip`
|
45
|
+
gzip uncompresses the data.
|
46
|
+
|
38
47
|
`-c, `--c`
|
39
48
|
Decodes the data as a C string.
|
40
49
|
|
@@ -59,9 +68,18 @@ Decodes each character of the given data from a variety of formats.
|
|
59
68
|
`-P`, `--powershell`
|
60
69
|
Decodes the data as a PowerShell String.
|
61
70
|
|
71
|
+
`--punycode`
|
72
|
+
Decodes the data as Punycode.
|
73
|
+
|
74
|
+
`-Q`, `--quoted-printable`
|
75
|
+
Decodes the data as Quoted Printable.
|
76
|
+
|
62
77
|
`-R`, `--ruby`
|
63
78
|
Ruby decodes the data.
|
64
79
|
|
80
|
+
`--uudecode`
|
81
|
+
uudecodes the data.
|
82
|
+
|
65
83
|
`-x`, `--xml`
|
66
84
|
XML decodes the data.
|
67
85
|
|
data/man/ronin-encode.1
CHANGED
@@ -38,6 +38,10 @@ Process each line of input separately\.
|
|
38
38
|
Preserves newlines at the end of each line\.
|
39
39
|
.LP
|
40
40
|
.TP
|
41
|
+
\fB--base16\fR
|
42
|
+
Base16 encodes the data\.
|
43
|
+
.LP
|
44
|
+
.TP
|
41
45
|
\fB--base32\fR
|
42
46
|
Base32 encodes the data\.
|
43
47
|
.LP
|
@@ -46,6 +50,14 @@ Base32 encodes the data\.
|
|
46
50
|
Base64 encodes the data\. If the \fBstrict\fR or \fBurl\fR option value is given,
|
47
51
|
it will enable \fBstrict\fR or \fBurl\fR Base64 encoding mode, respectively\.
|
48
52
|
.LP
|
53
|
+
.TP
|
54
|
+
\fB-z\fR, \fB--zlib\fR
|
55
|
+
Zlib compresses the data\.
|
56
|
+
.LP
|
57
|
+
.TP
|
58
|
+
\fB-g\fR, \fB--gzip\fR
|
59
|
+
gzip compresses the data\.
|
60
|
+
.LP
|
49
61
|
.HP
|
50
62
|
\fB-c, \fR\-\-c\`
|
51
63
|
Encodes the data as a C string\.
|
@@ -79,6 +91,18 @@ Encodes the data as a Shell String\.
|
|
79
91
|
Encodes the data as a PowerShell String\.
|
80
92
|
.LP
|
81
93
|
.TP
|
94
|
+
\fB--punycode\fR
|
95
|
+
Encodes the data as Punycode\.
|
96
|
+
.LP
|
97
|
+
.TP
|
98
|
+
\fB-Q\fR, \fB--quoted-printable\fR
|
99
|
+
Decodes the data as Quoted Printable\.
|
100
|
+
.LP
|
101
|
+
.TP
|
102
|
+
\fB--uuencode\fR
|
103
|
+
uuencodes the data\.
|
104
|
+
.LP
|
105
|
+
.TP
|
82
106
|
\fB-R\fR, \fB--ruby\fR
|
83
107
|
Encodes the data as a Ruby String\.
|
84
108
|
.LP
|
data/man/ronin-encode.1.md
CHANGED
@@ -28,6 +28,9 @@ Encodes each character of the given data into a variety of formats.
|
|
28
28
|
`-n`, `--keep-newlines`
|
29
29
|
Preserves newlines at the end of each line.
|
30
30
|
|
31
|
+
`--base16`
|
32
|
+
Base16 encodes the data.
|
33
|
+
|
31
34
|
`--base32`
|
32
35
|
Base32 encodes the data.
|
33
36
|
|
@@ -35,6 +38,12 @@ Encodes each character of the given data into a variety of formats.
|
|
35
38
|
Base64 encodes the data. If the `strict` or `url` option value is given,
|
36
39
|
it will enable `strict` or `url` Base64 encoding mode, respectively.
|
37
40
|
|
41
|
+
`-z`, `--zlib`
|
42
|
+
Zlib compresses the data.
|
43
|
+
|
44
|
+
`-g`, `--gzip`
|
45
|
+
gzip compresses the data.
|
46
|
+
|
38
47
|
`-c, `--c`
|
39
48
|
Encodes the data as a C string.
|
40
49
|
|
@@ -59,6 +68,15 @@ Encodes each character of the given data into a variety of formats.
|
|
59
68
|
`-P`, `--powershell`
|
60
69
|
Encodes the data as a PowerShell String.
|
61
70
|
|
71
|
+
`--punycode`
|
72
|
+
Encodes the data as Punycode.
|
73
|
+
|
74
|
+
`-Q`, `--quoted-printable`
|
75
|
+
Decodes the data as Quoted Printable.
|
76
|
+
|
77
|
+
`--uuencode`
|
78
|
+
uuencodes the data.
|
79
|
+
|
62
80
|
`-R`, `--ruby`
|
63
81
|
Encodes the data as a Ruby String.
|
64
82
|
|
data/man/ronin-escape.1
CHANGED
@@ -70,6 +70,10 @@ Escapes the data as a Shell String\.
|
|
70
70
|
Escapes the data as a PowerShell String\.
|
71
71
|
.LP
|
72
72
|
.TP
|
73
|
+
\fB-Q\fR, \fB--quoted-printable\fR
|
74
|
+
Escapes the data as Quoted Printable\.
|
75
|
+
.LP
|
76
|
+
.TP
|
73
77
|
\fB-R\fR, \fB--ruby\fR
|
74
78
|
Escapes the data as a Ruby String\.
|
75
79
|
.LP
|
data/man/ronin-escape.1.md
CHANGED
@@ -52,6 +52,9 @@ Escapes each special character for a variety of encodings.
|
|
52
52
|
`-P`, `--powershell`
|
53
53
|
Escapes the data as a PowerShell String.
|
54
54
|
|
55
|
+
`-Q`, `--quoted-printable`
|
56
|
+
Escapes the data as Quoted Printable.
|
57
|
+
|
55
58
|
`-R`, `--ruby`
|
56
59
|
Escapes the data as a Ruby String.
|
57
60
|
|