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
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.0
|
4
|
+
version: 2.1.0
|
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: 2024-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: open_namespace
|
@@ -58,50 +58,35 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
62
|
-
- - ">="
|
63
|
-
- !ruby/object:Gem::Version
|
64
|
-
version: 1.0.3
|
61
|
+
version: '1.1'
|
65
62
|
type: :runtime
|
66
63
|
prerelease: false
|
67
64
|
version_requirements: !ruby/object:Gem::Requirement
|
68
65
|
requirements:
|
69
66
|
- - "~>"
|
70
67
|
- !ruby/object:Gem::Version
|
71
|
-
version: '1.
|
72
|
-
- - ">="
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: 1.0.3
|
68
|
+
version: '1.1'
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: ronin-support
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
78
72
|
requirements:
|
79
73
|
- - "~>"
|
80
74
|
- !ruby/object:Gem::Version
|
81
|
-
version: '1.
|
82
|
-
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: 1.0.3
|
75
|
+
version: '1.1'
|
85
76
|
type: :runtime
|
86
77
|
prerelease: false
|
87
78
|
version_requirements: !ruby/object:Gem::Requirement
|
88
79
|
requirements:
|
89
80
|
- - "~>"
|
90
81
|
- !ruby/object:Gem::Version
|
91
|
-
version: '1.
|
92
|
-
- - ">="
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: 1.0.3
|
82
|
+
version: '1.1'
|
95
83
|
- !ruby/object:Gem::Dependency
|
96
|
-
name: ronin-
|
84
|
+
name: ronin-dns-proxy
|
97
85
|
requirement: !ruby/object:Gem::Requirement
|
98
86
|
requirements:
|
99
87
|
- - "~>"
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0.1'
|
102
|
-
- - ">="
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 0.1.2
|
105
90
|
type: :runtime
|
106
91
|
prerelease: false
|
107
92
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -109,11 +94,36 @@ dependencies:
|
|
109
94
|
- - "~>"
|
110
95
|
- !ruby/object:Gem::Version
|
111
96
|
version: '0.1'
|
112
|
-
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: ronin-core
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0.2'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
113
109
|
- !ruby/object:Gem::Version
|
114
|
-
version: 0.
|
110
|
+
version: '0.2'
|
115
111
|
- !ruby/object:Gem::Dependency
|
116
112
|
name: ronin-repos
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0.2'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0.2'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: ronin-wordlists
|
117
127
|
requirement: !ruby/object:Gem::Requirement
|
118
128
|
requirements:
|
119
129
|
- - "~>"
|
@@ -128,6 +138,20 @@ dependencies:
|
|
128
138
|
version: '0.1'
|
129
139
|
- !ruby/object:Gem::Dependency
|
130
140
|
name: ronin-db
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0.2'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - "~>"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0.2'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: ronin-listener
|
131
155
|
requirement: !ruby/object:Gem::Requirement
|
132
156
|
requirements:
|
133
157
|
- - "~>"
|
@@ -141,7 +165,7 @@ dependencies:
|
|
141
165
|
- !ruby/object:Gem::Version
|
142
166
|
version: '0.1'
|
143
167
|
- !ruby/object:Gem::Dependency
|
144
|
-
name: ronin-
|
168
|
+
name: ronin-nmap
|
145
169
|
requirement: !ruby/object:Gem::Requirement
|
146
170
|
requirements:
|
147
171
|
- - "~>"
|
@@ -155,25 +179,61 @@ dependencies:
|
|
155
179
|
- !ruby/object:Gem::Version
|
156
180
|
version: '0.1'
|
157
181
|
- !ruby/object:Gem::Dependency
|
158
|
-
name: ronin-
|
182
|
+
name: ronin-masscan
|
159
183
|
requirement: !ruby/object:Gem::Requirement
|
160
184
|
requirements:
|
161
185
|
- - "~>"
|
162
186
|
- !ruby/object:Gem::Version
|
163
|
-
version: '1
|
164
|
-
|
187
|
+
version: '0.1'
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
165
193
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
194
|
+
version: '0.1'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: ronin-recon
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0.1'
|
167
202
|
type: :runtime
|
168
203
|
prerelease: false
|
169
204
|
version_requirements: !ruby/object:Gem::Requirement
|
170
205
|
requirements:
|
171
206
|
- - "~>"
|
172
207
|
- !ruby/object:Gem::Version
|
173
|
-
version: '1
|
174
|
-
|
208
|
+
version: '0.1'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: ronin-fuzzer
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
175
214
|
- !ruby/object:Gem::Version
|
176
|
-
version:
|
215
|
+
version: '0.2'
|
216
|
+
type: :runtime
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0.2'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: ronin-web
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '2.0'
|
230
|
+
type: :runtime
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - "~>"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '2.0'
|
177
237
|
- !ruby/object:Gem::Dependency
|
178
238
|
name: ronin-code-asm
|
179
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -208,60 +268,56 @@ dependencies:
|
|
208
268
|
requirements:
|
209
269
|
- - "~>"
|
210
270
|
- !ruby/object:Gem::Version
|
211
|
-
version: '0.
|
212
|
-
- - ">="
|
213
|
-
- !ruby/object:Gem::Version
|
214
|
-
version: 0.1.1
|
271
|
+
version: '0.2'
|
215
272
|
type: :runtime
|
216
273
|
prerelease: false
|
217
274
|
version_requirements: !ruby/object:Gem::Requirement
|
218
275
|
requirements:
|
219
276
|
- - "~>"
|
220
277
|
- !ruby/object:Gem::Version
|
221
|
-
version: '0.
|
222
|
-
- - ">="
|
223
|
-
- !ruby/object:Gem::Version
|
224
|
-
version: 0.1.1
|
278
|
+
version: '0.2'
|
225
279
|
- !ruby/object:Gem::Dependency
|
226
280
|
name: ronin-exploits
|
227
281
|
requirement: !ruby/object:Gem::Requirement
|
228
282
|
requirements:
|
229
283
|
- - "~>"
|
230
284
|
- !ruby/object:Gem::Version
|
231
|
-
version: '1.
|
232
|
-
- - ">="
|
233
|
-
- !ruby/object:Gem::Version
|
234
|
-
version: 1.0.1
|
285
|
+
version: '1.1'
|
235
286
|
type: :runtime
|
236
287
|
prerelease: false
|
237
288
|
version_requirements: !ruby/object:Gem::Requirement
|
238
289
|
requirements:
|
239
290
|
- - "~>"
|
240
291
|
- !ruby/object:Gem::Version
|
241
|
-
version: '1.
|
242
|
-
- - ">="
|
243
|
-
- !ruby/object:Gem::Version
|
244
|
-
version: 1.0.1
|
292
|
+
version: '1.1'
|
245
293
|
- !ruby/object:Gem::Dependency
|
246
294
|
name: ronin-vulns
|
247
295
|
requirement: !ruby/object:Gem::Requirement
|
248
296
|
requirements:
|
249
297
|
- - "~>"
|
250
298
|
- !ruby/object:Gem::Version
|
251
|
-
version: '0.
|
252
|
-
- - ">="
|
253
|
-
- !ruby/object:Gem::Version
|
254
|
-
version: 0.1.2
|
299
|
+
version: '0.2'
|
255
300
|
type: :runtime
|
256
301
|
prerelease: false
|
257
302
|
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - "~>"
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0.2'
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: ronin-app
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
258
310
|
requirements:
|
259
311
|
- - "~>"
|
260
312
|
- !ruby/object:Gem::Version
|
261
313
|
version: '0.1'
|
262
|
-
|
314
|
+
type: :runtime
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - "~>"
|
263
319
|
- !ruby/object:Gem::Version
|
264
|
-
version: 0.1
|
320
|
+
version: '0.1'
|
265
321
|
- !ruby/object:Gem::Dependency
|
266
322
|
name: bundler
|
267
323
|
requirement: !ruby/object:Gem::Requirement
|
@@ -277,11 +333,12 @@ dependencies:
|
|
277
333
|
- !ruby/object:Gem::Version
|
278
334
|
version: '2.0'
|
279
335
|
description: Ronin is a free and Open Source Ruby toolkit for security research and
|
280
|
-
development.Ronin contains many different CLI commands and Ruby libraries for a
|
336
|
+
development. Ronin contains many different CLI commands and Ruby libraries for a
|
281
337
|
variety of security tasks, such as encoding/decoding data, filter IPs/hosts/URLs,
|
282
338
|
querying ASNs, querying DNS, HTTP, scanning for web vulnerabilities, spidering websites,
|
283
|
-
|
284
|
-
new exploits, managing local databases, fuzzing data,
|
339
|
+
installing 3rd-party repositories of exploits and/or payloads, running exploits,
|
340
|
+
developing new exploits, managing local databases, fuzzing data, performing recon,
|
341
|
+
and much more.
|
285
342
|
email: postmodern.mod3@gmail.com
|
286
343
|
executables:
|
287
344
|
- ronin
|
@@ -306,13 +363,15 @@ files:
|
|
306
363
|
- README.md
|
307
364
|
- Rakefile
|
308
365
|
- bin/ronin
|
309
|
-
- data/
|
310
|
-
- data/
|
311
|
-
- data/
|
312
|
-
- data/
|
313
|
-
- data/
|
314
|
-
- data/
|
315
|
-
- data/
|
366
|
+
- data/completions/ronin
|
367
|
+
- data/templates/dns_proxy.rb.erb
|
368
|
+
- data/templates/project/.gitignore
|
369
|
+
- data/templates/project/.ruby-version.erb
|
370
|
+
- data/templates/project/Dockerfile.erb
|
371
|
+
- data/templates/project/Gemfile.erb
|
372
|
+
- data/templates/project/Rakefile
|
373
|
+
- data/templates/project/project.rb.erb
|
374
|
+
- data/templates/script.rb.erb
|
316
375
|
- data/tips/cli/console.txt
|
317
376
|
- data/tips/cli/help.txt
|
318
377
|
- data/tips/ruby/array_join.txt
|
@@ -382,18 +441,23 @@ files:
|
|
382
441
|
- gemspec.yml
|
383
442
|
- lib/ronin.rb
|
384
443
|
- lib/ronin/cli.rb
|
444
|
+
- lib/ronin/cli/binary_template.rb
|
385
445
|
- lib/ronin/cli/char_set_options.rb
|
386
446
|
- lib/ronin/cli/cipher_command.rb
|
387
447
|
- lib/ronin/cli/command.rb
|
448
|
+
- lib/ronin/cli/commands/archive.rb
|
388
449
|
- lib/ronin/cli/commands/asn.rb
|
389
450
|
- lib/ronin/cli/commands/banner_grab.rb
|
390
451
|
- lib/ronin/cli/commands/bitflip.rb
|
452
|
+
- lib/ronin/cli/commands/bitsquat.rb
|
391
453
|
- lib/ronin/cli/commands/cert_dump.rb
|
392
454
|
- lib/ronin/cli/commands/cert_gen.rb
|
393
455
|
- lib/ronin/cli/commands/cert_grab.rb
|
456
|
+
- lib/ronin/cli/commands/completion.rb
|
394
457
|
- lib/ronin/cli/commands/decode.rb
|
395
458
|
- lib/ronin/cli/commands/decrypt.rb
|
396
459
|
- lib/ronin/cli/commands/dns.rb
|
460
|
+
- lib/ronin/cli/commands/dns_proxy.rb
|
397
461
|
- lib/ronin/cli/commands/email_addr.rb
|
398
462
|
- lib/ronin/cli/commands/encode.rb
|
399
463
|
- lib/ronin/cli/commands/encrypt.rb
|
@@ -413,8 +477,18 @@ files:
|
|
413
477
|
- lib/ronin/cli/commands/md5.rb
|
414
478
|
- lib/ronin/cli/commands/netcat.rb
|
415
479
|
- lib/ronin/cli/commands/new.rb
|
480
|
+
- lib/ronin/cli/commands/new/dns_listener.rb
|
481
|
+
- lib/ronin/cli/commands/new/dns_proxy.rb
|
482
|
+
- lib/ronin/cli/commands/new/exploit.rb
|
483
|
+
- lib/ronin/cli/commands/new/http_listener.rb
|
484
|
+
- lib/ronin/cli/commands/new/nokogiri.rb
|
485
|
+
- lib/ronin/cli/commands/new/payload.rb
|
416
486
|
- lib/ronin/cli/commands/new/project.rb
|
417
487
|
- lib/ronin/cli/commands/new/script.rb
|
488
|
+
- lib/ronin/cli/commands/new/web_app.rb
|
489
|
+
- lib/ronin/cli/commands/new/web_server.rb
|
490
|
+
- lib/ronin/cli/commands/new/web_spider.rb
|
491
|
+
- lib/ronin/cli/commands/pack.rb
|
418
492
|
- lib/ronin/cli/commands/proxy.rb
|
419
493
|
- lib/ronin/cli/commands/public_suffix_list.rb
|
420
494
|
- lib/ronin/cli/commands/quote.rb
|
@@ -427,8 +501,10 @@ files:
|
|
427
501
|
- lib/ronin/cli/commands/tld_list.rb
|
428
502
|
- lib/ronin/cli/commands/typo.rb
|
429
503
|
- lib/ronin/cli/commands/typosquat.rb
|
504
|
+
- lib/ronin/cli/commands/unarchive.rb
|
430
505
|
- lib/ronin/cli/commands/unescape.rb
|
431
506
|
- lib/ronin/cli/commands/unhexdump.rb
|
507
|
+
- lib/ronin/cli/commands/unpack.rb
|
432
508
|
- lib/ronin/cli/commands/unquote.rb
|
433
509
|
- lib/ronin/cli/commands/url.rb
|
434
510
|
- lib/ronin/cli/commands/xor.rb
|
@@ -446,26 +522,32 @@ files:
|
|
446
522
|
- lib/ronin/cli/string_processor_command.rb
|
447
523
|
- lib/ronin/cli/typo_options.rb
|
448
524
|
- lib/ronin/cli/value_processor_command.rb
|
449
|
-
- lib/ronin/config.rb
|
450
525
|
- lib/ronin/root.rb
|
451
526
|
- lib/ronin/ui.rb
|
452
527
|
- lib/ronin/version.rb
|
528
|
+
- man/ronin-archive.1.md
|
453
529
|
- man/ronin-asn.1
|
454
530
|
- man/ronin-asn.1.md
|
455
531
|
- man/ronin-banner-grab.1
|
456
532
|
- man/ronin-banner-grab.1.md
|
457
533
|
- man/ronin-bitflip.1
|
458
534
|
- man/ronin-bitflip.1.md
|
535
|
+
- man/ronin-bitsquat.1
|
536
|
+
- man/ronin-bitsquat.1.md
|
459
537
|
- man/ronin-cert-dump.1
|
460
538
|
- man/ronin-cert-dump.1.md
|
461
539
|
- man/ronin-cert-gen.1
|
462
540
|
- man/ronin-cert-gen.1.md
|
463
541
|
- man/ronin-cert-grab.1
|
464
542
|
- man/ronin-cert-grab.1.md
|
543
|
+
- man/ronin-completion.1
|
544
|
+
- man/ronin-completion.1.md
|
465
545
|
- man/ronin-decode.1
|
466
546
|
- man/ronin-decode.1.md
|
467
547
|
- man/ronin-decrypt.1
|
468
548
|
- man/ronin-decrypt.1.md
|
549
|
+
- man/ronin-dns-proxy.1
|
550
|
+
- man/ronin-dns-proxy.1.md
|
469
551
|
- man/ronin-dns.1
|
470
552
|
- man/ronin-dns.1.md
|
471
553
|
- man/ronin-email-addr.1
|
@@ -506,12 +588,16 @@ files:
|
|
506
588
|
- man/ronin-md5.1.md
|
507
589
|
- man/ronin-netcat.1
|
508
590
|
- man/ronin-netcat.1.md
|
591
|
+
- man/ronin-new-dns-proxy.1
|
592
|
+
- man/ronin-new-dns-proxy.1.md
|
509
593
|
- man/ronin-new-project.1
|
510
594
|
- man/ronin-new-project.1.md
|
511
595
|
- man/ronin-new-script.1
|
512
596
|
- man/ronin-new-script.1.md
|
513
597
|
- man/ronin-new.1
|
514
598
|
- man/ronin-new.1.md
|
599
|
+
- man/ronin-pack.1
|
600
|
+
- man/ronin-pack.1.md
|
515
601
|
- man/ronin-proxy.1
|
516
602
|
- man/ronin-proxy.1.md
|
517
603
|
- man/ronin-public-suffix-list.1
|
@@ -536,10 +622,13 @@ files:
|
|
536
622
|
- man/ronin-typo.1.md
|
537
623
|
- man/ronin-typosquat.1
|
538
624
|
- man/ronin-typosquat.1.md
|
625
|
+
- man/ronin-unarchive.1.md
|
539
626
|
- man/ronin-unescape.1
|
540
627
|
- man/ronin-unescape.1.md
|
541
628
|
- man/ronin-unhexdump.1
|
542
629
|
- man/ronin-unhexdump.1.md
|
630
|
+
- man/ronin-unpack.1
|
631
|
+
- man/ronin-unpack.1.md
|
543
632
|
- man/ronin-unquote.1
|
544
633
|
- man/ronin-unquote.1.md
|
545
634
|
- man/ronin-url.1
|
@@ -549,6 +638,7 @@ files:
|
|
549
638
|
- man/ronin.1
|
550
639
|
- man/ronin.1.md
|
551
640
|
- ronin.gemspec
|
641
|
+
- scripts/setup
|
552
642
|
homepage: https://ronin-rb.dev
|
553
643
|
licenses:
|
554
644
|
- GPL-3.0
|
@@ -574,14 +664,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
574
664
|
requirements:
|
575
665
|
- - ">="
|
576
666
|
- !ruby/object:Gem::Version
|
577
|
-
version: 3.
|
667
|
+
version: 3.1.0
|
578
668
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
579
669
|
requirements:
|
580
670
|
- - ">="
|
581
671
|
- !ruby/object:Gem::Version
|
582
672
|
version: '0'
|
583
673
|
requirements: []
|
584
|
-
rubygems_version: 3.
|
674
|
+
rubygems_version: 3.5.11
|
585
675
|
signing_key:
|
586
676
|
specification_version: 4
|
587
677
|
summary: A Ruby toolkit for security research and development.
|
data/lib/ronin/config.rb
DELETED
@@ -1,95 +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 'fileutils'
|
20
|
-
|
21
|
-
module Ronin
|
22
|
-
#
|
23
|
-
# Configuration information for Ronin.
|
24
|
-
#
|
25
|
-
# @api semipublic
|
26
|
-
#
|
27
|
-
module Config
|
28
|
-
# The users home directory
|
29
|
-
HOME = Gem.user_home
|
30
|
-
|
31
|
-
# Ronin home directory
|
32
|
-
PATH = File.join(HOME,'.ronin')
|
33
|
-
|
34
|
-
# Configuration files directory
|
35
|
-
CONFIG_DIR = File.join(PATH,'config')
|
36
|
-
|
37
|
-
# Temporary file directory
|
38
|
-
TMP_DIR = File.join(PATH,'tmp')
|
39
|
-
|
40
|
-
# Directories which contain binaries
|
41
|
-
BIN_DIRS = ENV.fetch('PATH','').split(File::PATH_SEPARATOR)
|
42
|
-
|
43
|
-
[PATH, CONFIG_DIR, TMP_DIR].each do |dir|
|
44
|
-
FileUtils.mkdir(dir) unless File.directory?(dir)
|
45
|
-
end
|
46
|
-
|
47
|
-
#
|
48
|
-
# Loads the Ronin configuration file.
|
49
|
-
#
|
50
|
-
# @param [Symbol, String, nil] name
|
51
|
-
# The optional name of the file to load within {CONFIG_DIR}.
|
52
|
-
#
|
53
|
-
# @example Load the config file at `~/.ronin/config.rb`
|
54
|
-
# Config.load
|
55
|
-
# # => true
|
56
|
-
#
|
57
|
-
# @example Load the config file at `~/.ronin/config/sql.rb`
|
58
|
-
# Config.load :sql
|
59
|
-
# # => true
|
60
|
-
#
|
61
|
-
# @api semipublic
|
62
|
-
#
|
63
|
-
def self.load(name=nil)
|
64
|
-
dir, file = if name then [CONFIG_DIR, "#{name}.rb"]
|
65
|
-
else [PATH, 'config.rb']
|
66
|
-
end
|
67
|
-
|
68
|
-
path = File.expand_path(File.join(dir,file))
|
69
|
-
require path if File.file?(path)
|
70
|
-
end
|
71
|
-
|
72
|
-
#
|
73
|
-
# Auto-creates a directory within {TMP_DIR}.
|
74
|
-
#
|
75
|
-
# @param [String] sub_path
|
76
|
-
# The sub-path within {TMP_DIR}.
|
77
|
-
#
|
78
|
-
# @return [String]
|
79
|
-
# The full path within {TMP_DIR}.
|
80
|
-
#
|
81
|
-
# @api semipublic
|
82
|
-
#
|
83
|
-
def self.tmp_dir(sub_path=nil)
|
84
|
-
if sub_path
|
85
|
-
sub_path = File.expand_path(File.join('',sub_path))
|
86
|
-
path = File.join(TMP_DIR,sub_path)
|
87
|
-
|
88
|
-
FileUtils.mkdir_p(path) unless File.directory?(path)
|
89
|
-
return path
|
90
|
-
end
|
91
|
-
|
92
|
-
return TMP_DIR
|
93
|
-
end
|
94
|
-
end
|
95
|
-
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|