ronin 2.0.5 → 2.1.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (169) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ruby.yml +3 -3
  3. data/.gitignore +1 -0
  4. data/.rubocop.yml +5 -1
  5. data/ChangeLog.md +56 -1
  6. data/Gemfile +66 -29
  7. data/README.md +162 -17
  8. data/Rakefile +9 -0
  9. data/data/completions/ronin +655 -0
  10. data/data/templates/dns_proxy.rb.erb +35 -0
  11. data/gemspec.yml +27 -13
  12. data/lib/ronin/cli/binary_template.rb +124 -0
  13. data/lib/ronin/cli/commands/archive.rb +104 -0
  14. data/lib/ronin/cli/commands/banner_grab.rb +2 -0
  15. data/lib/ronin/cli/commands/bitflip.rb +1 -1
  16. data/lib/ronin/cli/commands/bitsquat.rb +119 -0
  17. data/lib/ronin/cli/commands/cert_dump.rb +20 -4
  18. data/lib/ronin/cli/commands/cert_gen.rb +9 -19
  19. data/lib/ronin/cli/commands/cert_grab.rb +4 -3
  20. data/lib/ronin/cli/commands/completion.rb +115 -0
  21. data/lib/ronin/cli/commands/dns_proxy.rb +235 -0
  22. data/lib/ronin/cli/commands/http.rb +80 -8
  23. data/lib/ronin/cli/commands/ip.rb +101 -0
  24. data/lib/ronin/cli/commands/iprange.rb +25 -8
  25. data/lib/ronin/cli/commands/netcat.rb +2 -0
  26. data/lib/ronin/cli/commands/new/dns_listener.rb +37 -0
  27. data/lib/ronin/cli/commands/new/dns_proxy.rb +99 -0
  28. data/lib/ronin/cli/commands/new/exploit.rb +34 -0
  29. data/lib/ronin/cli/commands/new/http_listener.rb +37 -0
  30. data/lib/ronin/cli/commands/new/nokogiri.rb +33 -0
  31. data/lib/ronin/cli/commands/new/payload.rb +34 -0
  32. data/lib/ronin/cli/commands/new/project.rb +1 -1
  33. data/lib/ronin/cli/commands/new/script.rb +1 -1
  34. data/lib/ronin/cli/commands/new/web_app.rb +37 -0
  35. data/lib/ronin/cli/commands/new/web_server.rb +37 -0
  36. data/lib/ronin/cli/commands/new/web_spider.rb +37 -0
  37. data/lib/ronin/cli/commands/new.rb +3 -1
  38. data/lib/ronin/cli/commands/pack.rb +339 -0
  39. data/lib/ronin/cli/commands/public_suffix_list.rb +2 -0
  40. data/lib/ronin/cli/commands/tld_list.rb +2 -0
  41. data/lib/ronin/cli/commands/unarchive.rb +128 -0
  42. data/lib/ronin/cli/commands/unhexdump.rb +3 -1
  43. data/lib/ronin/cli/commands/unpack.rb +195 -0
  44. data/lib/ronin/cli/commands/url.rb +2 -0
  45. data/lib/ronin/cli/http_shell.rb +25 -0
  46. data/lib/ronin/cli.rb +10 -0
  47. data/lib/ronin/version.rb +1 -1
  48. data/man/ronin-archive.1.md +49 -0
  49. data/man/ronin-asn.1 +60 -77
  50. data/man/ronin-asn.1.md +25 -21
  51. data/man/ronin-banner-grab.1 +10 -21
  52. data/man/ronin-banner-grab.1.md +9 -5
  53. data/man/ronin-bitflip.1 +35 -61
  54. data/man/ronin-bitflip.1.md +30 -26
  55. data/man/ronin-bitsquat.1 +40 -0
  56. data/man/ronin-bitsquat.1.md +43 -0
  57. data/man/ronin-cert-dump.1 +44 -54
  58. data/man/ronin-cert-dump.1.md +18 -14
  59. data/man/ronin-cert-gen.1 +73 -94
  60. data/man/ronin-cert-gen.1.md +38 -34
  61. data/man/ronin-cert-grab.1 +29 -37
  62. data/man/ronin-cert-grab.1.md +12 -8
  63. data/man/ronin-completion.1 +78 -0
  64. data/man/ronin-completion.1.md +80 -0
  65. data/man/ronin-decode.1 +32 -63
  66. data/man/ronin-decode.1.md +29 -25
  67. data/man/ronin-decrypt.1 +42 -57
  68. data/man/ronin-decrypt.1.md +20 -16
  69. data/man/ronin-dns-proxy.1 +100 -0
  70. data/man/ronin-dns-proxy.1.md +70 -0
  71. data/man/ronin-dns.1 +10 -21
  72. data/man/ronin-dns.1.md +9 -5
  73. data/man/ronin-email-addr.1 +27 -40
  74. data/man/ronin-email-addr.1.md +15 -11
  75. data/man/ronin-encode.1 +93 -63
  76. data/man/ronin-encode.1.md +64 -26
  77. data/man/ronin-encrypt.1 +42 -57
  78. data/man/ronin-encrypt.1.md +20 -16
  79. data/man/ronin-entropy.1 +11 -21
  80. data/man/ronin-entropy.1.md +8 -4
  81. data/man/ronin-escape.1 +22 -46
  82. data/man/ronin-escape.1.md +22 -18
  83. data/man/ronin-extract.1 +74 -149
  84. data/man/ronin-extract.1.md +73 -69
  85. data/man/ronin-grep.1 +77 -155
  86. data/man/ronin-grep.1.md +76 -72
  87. data/man/ronin-help.1 +3 -14
  88. data/man/ronin-help.1.md +2 -2
  89. data/man/ronin-hexdump.1 +249 -265
  90. data/man/ronin-hexdump.1.md +93 -89
  91. data/man/ronin-highlight.1 +8 -18
  92. data/man/ronin-highlight.1.md +8 -4
  93. data/man/ronin-hmac.1 +17 -30
  94. data/man/ronin-hmac.1.md +14 -10
  95. data/man/ronin-homoglyph.1 +11 -22
  96. data/man/ronin-homoglyph.1.md +10 -6
  97. data/man/ronin-host.1 +23 -47
  98. data/man/ronin-host.1.md +22 -18
  99. data/man/ronin-http.1 +40 -69
  100. data/man/ronin-http.1.md +40 -30
  101. data/man/ronin-ip.1 +70 -80
  102. data/man/ronin-ip.1.md +44 -28
  103. data/man/ronin-iprange.1 +14 -22
  104. data/man/ronin-iprange.1.md +12 -5
  105. data/man/ronin-irb.1 +9 -17
  106. data/man/ronin-irb.1.md +7 -3
  107. data/man/ronin-md5.1 +13 -24
  108. data/man/ronin-md5.1.md +11 -7
  109. data/man/ronin-netcat.1 +25 -51
  110. data/man/ronin-netcat.1.md +25 -21
  111. data/man/ronin-new-dns-proxy.1 +45 -0
  112. data/man/ronin-new-dns-proxy.1.md +44 -0
  113. data/man/ronin-new-project.1 +32 -45
  114. data/man/ronin-new-project.1.md +11 -11
  115. data/man/ronin-new-script.1 +10 -22
  116. data/man/ronin-new-script.1.md +4 -4
  117. data/man/ronin-new.1 +56 -31
  118. data/man/ronin-new.1.md +48 -8
  119. data/man/ronin-pack.1 +977 -0
  120. data/man/ronin-pack.1.md +929 -0
  121. data/man/ronin-proxy.1 +37 -63
  122. data/man/ronin-proxy.1.md +29 -25
  123. data/man/ronin-public-suffix-list.1 +16 -32
  124. data/man/ronin-public-suffix-list.1.md +13 -9
  125. data/man/ronin-quote.1 +17 -36
  126. data/man/ronin-quote.1.md +17 -13
  127. data/man/ronin-rot.1 +26 -39
  128. data/man/ronin-rot.1.md +15 -11
  129. data/man/ronin-sha1.1 +13 -24
  130. data/man/ronin-sha1.1.md +11 -7
  131. data/man/ronin-sha256.1 +13 -24
  132. data/man/ronin-sha256.1.md +11 -7
  133. data/man/ronin-sha512.1 +13 -24
  134. data/man/ronin-sha512.1.md +11 -7
  135. data/man/ronin-strings.1 +30 -55
  136. data/man/ronin-strings.1.md +27 -23
  137. data/man/ronin-tips.1 +8 -16
  138. data/man/ronin-tips.1.md +7 -3
  139. data/man/ronin-tld-list.1 +16 -32
  140. data/man/ronin-tld-list.1.md +13 -9
  141. data/man/ronin-typo.1 +14 -28
  142. data/man/ronin-typo.1.md +13 -9
  143. data/man/ronin-typosquat.1 +15 -32
  144. data/man/ronin-typosquat.1.md +15 -11
  145. data/man/ronin-unarchive.1.md +41 -0
  146. data/man/ronin-unescape.1 +22 -46
  147. data/man/ronin-unescape.1.md +22 -18
  148. data/man/ronin-unhexdump.1 +81 -91
  149. data/man/ronin-unhexdump.1.md +16 -12
  150. data/man/ronin-unpack.1 +978 -0
  151. data/man/ronin-unpack.1.md +920 -0
  152. data/man/ronin-unquote.1 +17 -36
  153. data/man/ronin-unquote.1.md +17 -13
  154. data/man/ronin-url.1 +19 -40
  155. data/man/ronin-url.1.md +19 -15
  156. data/man/ronin-xor.1 +14 -28
  157. data/man/ronin-xor.1.md +13 -9
  158. data/man/ronin.1 +208 -29
  159. data/man/ronin.1.md +156 -11
  160. data/scripts/setup +58 -0
  161. metadata +162 -73
  162. data/lib/ronin/config.rb +0 -95
  163. /data/data/{new → templates}/project/.gitignore +0 -0
  164. /data/data/{new → templates}/project/.ruby-version.erb +0 -0
  165. /data/data/{new → templates}/project/Dockerfile.erb +0 -0
  166. /data/data/{new → templates}/project/Gemfile.erb +0 -0
  167. /data/data/{new → templates}/project/Rakefile +0 -0
  168. /data/data/{new → templates}/project/project.rb.erb +0 -0
  169. /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.5
4
+ version: 2.1.0.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Postmodern
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-19 00:00:00.000000000 Z
11
+ date: 2024-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: open_namespace
@@ -58,122 +58,182 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.0'
62
- - - ">="
61
+ version: '1.1'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: ronin-support
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
63
74
  - !ruby/object:Gem::Version
64
- version: 1.0.3
75
+ version: 1.1.0.rc1
65
76
  type: :runtime
66
77
  prerelease: false
67
78
  version_requirements: !ruby/object:Gem::Requirement
68
79
  requirements:
69
80
  - - "~>"
70
81
  - !ruby/object:Gem::Version
71
- version: '1.0'
72
- - - ">="
82
+ version: 1.1.0.rc1
83
+ - !ruby/object:Gem::Dependency
84
+ name: ronin-dns-proxy
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.1.0.rc1
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
73
95
  - !ruby/object:Gem::Version
74
- version: 1.0.3
96
+ version: 0.1.0.rc1
75
97
  - !ruby/object:Gem::Dependency
76
- name: ronin-support
98
+ name: ronin-core
77
99
  requirement: !ruby/object:Gem::Requirement
78
100
  requirements:
79
101
  - - "~>"
80
102
  - !ruby/object:Gem::Version
81
- version: '1.0'
82
- - - ">="
103
+ version: 0.2.0.rc1
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
83
109
  - !ruby/object:Gem::Version
84
- version: 1.0.3
110
+ version: 0.2.0.rc1
111
+ - !ruby/object:Gem::Dependency
112
+ name: ronin-repos
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.2.0.rc1
85
118
  type: :runtime
86
119
  prerelease: false
87
120
  version_requirements: !ruby/object:Gem::Requirement
88
121
  requirements:
89
122
  - - "~>"
90
123
  - !ruby/object:Gem::Version
91
- version: '1.0'
92
- - - ">="
124
+ version: 0.2.0.rc1
125
+ - !ruby/object:Gem::Dependency
126
+ name: ronin-wordlists
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
93
130
  - !ruby/object:Gem::Version
94
- version: 1.0.3
131
+ version: 0.1.0.rc1
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.1.0.rc1
95
139
  - !ruby/object:Gem::Dependency
96
- name: ronin-core
140
+ name: ronin-db
97
141
  requirement: !ruby/object:Gem::Requirement
98
142
  requirements:
99
143
  - - "~>"
100
144
  - !ruby/object:Gem::Version
101
- version: '0.1'
102
- - - ">="
145
+ version: 0.2.0.rc1
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
103
151
  - !ruby/object:Gem::Version
104
- version: 0.1.2
152
+ version: 0.2.0.rc1
153
+ - !ruby/object:Gem::Dependency
154
+ name: ronin-listener
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 0.1.0.rc1
105
160
  type: :runtime
106
161
  prerelease: false
107
162
  version_requirements: !ruby/object:Gem::Requirement
108
163
  requirements:
109
164
  - - "~>"
110
165
  - !ruby/object:Gem::Version
111
- version: '0.1'
112
- - - ">="
166
+ version: 0.1.0.rc1
167
+ - !ruby/object:Gem::Dependency
168
+ name: ronin-nmap
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: 0.1.0.rc1
174
+ type: :runtime
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
113
179
  - !ruby/object:Gem::Version
114
- version: 0.1.2
180
+ version: 0.1.0.rc1
115
181
  - !ruby/object:Gem::Dependency
116
- name: ronin-repos
182
+ name: ronin-masscan
117
183
  requirement: !ruby/object:Gem::Requirement
118
184
  requirements:
119
185
  - - "~>"
120
186
  - !ruby/object:Gem::Version
121
- version: '0.1'
187
+ version: 0.1.0.rc1
122
188
  type: :runtime
123
189
  prerelease: false
124
190
  version_requirements: !ruby/object:Gem::Requirement
125
191
  requirements:
126
192
  - - "~>"
127
193
  - !ruby/object:Gem::Version
128
- version: '0.1'
194
+ version: 0.1.0.rc1
129
195
  - !ruby/object:Gem::Dependency
130
- name: ronin-db
196
+ name: ronin-recon
131
197
  requirement: !ruby/object:Gem::Requirement
132
198
  requirements:
133
199
  - - "~>"
134
200
  - !ruby/object:Gem::Version
135
- version: '0.1'
201
+ version: 0.1.0.rc1
136
202
  type: :runtime
137
203
  prerelease: false
138
204
  version_requirements: !ruby/object:Gem::Requirement
139
205
  requirements:
140
206
  - - "~>"
141
207
  - !ruby/object:Gem::Version
142
- version: '0.1'
208
+ version: 0.1.0.rc1
143
209
  - !ruby/object:Gem::Dependency
144
210
  name: ronin-fuzzer
145
211
  requirement: !ruby/object:Gem::Requirement
146
212
  requirements:
147
213
  - - "~>"
148
214
  - !ruby/object:Gem::Version
149
- version: '0.1'
215
+ version: 0.2.0.rc1
150
216
  type: :runtime
151
217
  prerelease: false
152
218
  version_requirements: !ruby/object:Gem::Requirement
153
219
  requirements:
154
220
  - - "~>"
155
221
  - !ruby/object:Gem::Version
156
- version: '0.1'
222
+ version: 0.2.0.rc1
157
223
  - !ruby/object:Gem::Dependency
158
224
  name: ronin-web
159
225
  requirement: !ruby/object:Gem::Requirement
160
226
  requirements:
161
227
  - - "~>"
162
228
  - !ruby/object:Gem::Version
163
- version: '1.0'
164
- - - ">="
165
- - !ruby/object:Gem::Version
166
- version: 1.0.1
229
+ version: 2.0.0.rc1
167
230
  type: :runtime
168
231
  prerelease: false
169
232
  version_requirements: !ruby/object:Gem::Requirement
170
233
  requirements:
171
234
  - - "~>"
172
235
  - !ruby/object:Gem::Version
173
- version: '1.0'
174
- - - ">="
175
- - !ruby/object:Gem::Version
176
- version: 1.0.1
236
+ version: 2.0.0.rc1
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.1'
212
- - - ">="
213
- - !ruby/object:Gem::Version
214
- version: 0.1.1
271
+ version: 0.2.0.rc1
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.1'
222
- - - ">="
223
- - !ruby/object:Gem::Version
224
- version: 0.1.1
278
+ version: 0.2.0.rc1
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.0'
232
- - - ">="
233
- - !ruby/object:Gem::Version
234
- version: 1.0.1
285
+ version: 1.1.0.rc1
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.0'
242
- - - ">="
243
- - !ruby/object:Gem::Version
244
- version: 1.0.1
292
+ version: 1.1.0.rc1
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.1'
252
- - - ">="
253
- - !ruby/object:Gem::Version
254
- version: 0.1.2
299
+ version: 0.2.0.rc1
255
300
  type: :runtime
256
301
  prerelease: false
257
302
  version_requirements: !ruby/object:Gem::Requirement
258
303
  requirements:
259
304
  - - "~>"
260
305
  - !ruby/object:Gem::Version
261
- version: '0.1'
262
- - - ">="
306
+ version: 0.2.0.rc1
307
+ - !ruby/object:Gem::Dependency
308
+ name: ronin-app
309
+ requirement: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - "~>"
312
+ - !ruby/object:Gem::Version
313
+ version: 0.1.0.rc1
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.2
320
+ version: 0.1.0.rc1
265
321
  - !ruby/object:Gem::Dependency
266
322
  name: bundler
267
323
  requirement: !ruby/object:Gem::Requirement
@@ -277,11 +333,11 @@ 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
339
  install 3rd party repositories of exploits and/or payloads, run exploits, generating
284
- new exploits, managing local databases, fuzzing data, and much more.
340
+ new exploits, managing local databases, fuzzing data, perform recon, and much more.
285
341
  email: postmodern.mod3@gmail.com
286
342
  executables:
287
343
  - ronin
@@ -306,13 +362,15 @@ files:
306
362
  - README.md
307
363
  - Rakefile
308
364
  - bin/ronin
309
- - data/new/project/.gitignore
310
- - data/new/project/.ruby-version.erb
311
- - data/new/project/Dockerfile.erb
312
- - data/new/project/Gemfile.erb
313
- - data/new/project/Rakefile
314
- - data/new/project/project.rb.erb
315
- - data/new/script.rb.erb
365
+ - data/completions/ronin
366
+ - data/templates/dns_proxy.rb.erb
367
+ - data/templates/project/.gitignore
368
+ - data/templates/project/.ruby-version.erb
369
+ - data/templates/project/Dockerfile.erb
370
+ - data/templates/project/Gemfile.erb
371
+ - data/templates/project/Rakefile
372
+ - data/templates/project/project.rb.erb
373
+ - data/templates/script.rb.erb
316
374
  - data/tips/cli/console.txt
317
375
  - data/tips/cli/help.txt
318
376
  - data/tips/ruby/array_join.txt
@@ -382,18 +440,23 @@ files:
382
440
  - gemspec.yml
383
441
  - lib/ronin.rb
384
442
  - lib/ronin/cli.rb
443
+ - lib/ronin/cli/binary_template.rb
385
444
  - lib/ronin/cli/char_set_options.rb
386
445
  - lib/ronin/cli/cipher_command.rb
387
446
  - lib/ronin/cli/command.rb
447
+ - lib/ronin/cli/commands/archive.rb
388
448
  - lib/ronin/cli/commands/asn.rb
389
449
  - lib/ronin/cli/commands/banner_grab.rb
390
450
  - lib/ronin/cli/commands/bitflip.rb
451
+ - lib/ronin/cli/commands/bitsquat.rb
391
452
  - lib/ronin/cli/commands/cert_dump.rb
392
453
  - lib/ronin/cli/commands/cert_gen.rb
393
454
  - lib/ronin/cli/commands/cert_grab.rb
455
+ - lib/ronin/cli/commands/completion.rb
394
456
  - lib/ronin/cli/commands/decode.rb
395
457
  - lib/ronin/cli/commands/decrypt.rb
396
458
  - lib/ronin/cli/commands/dns.rb
459
+ - lib/ronin/cli/commands/dns_proxy.rb
397
460
  - lib/ronin/cli/commands/email_addr.rb
398
461
  - lib/ronin/cli/commands/encode.rb
399
462
  - lib/ronin/cli/commands/encrypt.rb
@@ -413,8 +476,18 @@ files:
413
476
  - lib/ronin/cli/commands/md5.rb
414
477
  - lib/ronin/cli/commands/netcat.rb
415
478
  - lib/ronin/cli/commands/new.rb
479
+ - lib/ronin/cli/commands/new/dns_listener.rb
480
+ - lib/ronin/cli/commands/new/dns_proxy.rb
481
+ - lib/ronin/cli/commands/new/exploit.rb
482
+ - lib/ronin/cli/commands/new/http_listener.rb
483
+ - lib/ronin/cli/commands/new/nokogiri.rb
484
+ - lib/ronin/cli/commands/new/payload.rb
416
485
  - lib/ronin/cli/commands/new/project.rb
417
486
  - lib/ronin/cli/commands/new/script.rb
487
+ - lib/ronin/cli/commands/new/web_app.rb
488
+ - lib/ronin/cli/commands/new/web_server.rb
489
+ - lib/ronin/cli/commands/new/web_spider.rb
490
+ - lib/ronin/cli/commands/pack.rb
418
491
  - lib/ronin/cli/commands/proxy.rb
419
492
  - lib/ronin/cli/commands/public_suffix_list.rb
420
493
  - lib/ronin/cli/commands/quote.rb
@@ -427,8 +500,10 @@ files:
427
500
  - lib/ronin/cli/commands/tld_list.rb
428
501
  - lib/ronin/cli/commands/typo.rb
429
502
  - lib/ronin/cli/commands/typosquat.rb
503
+ - lib/ronin/cli/commands/unarchive.rb
430
504
  - lib/ronin/cli/commands/unescape.rb
431
505
  - lib/ronin/cli/commands/unhexdump.rb
506
+ - lib/ronin/cli/commands/unpack.rb
432
507
  - lib/ronin/cli/commands/unquote.rb
433
508
  - lib/ronin/cli/commands/url.rb
434
509
  - lib/ronin/cli/commands/xor.rb
@@ -446,26 +521,32 @@ files:
446
521
  - lib/ronin/cli/string_processor_command.rb
447
522
  - lib/ronin/cli/typo_options.rb
448
523
  - lib/ronin/cli/value_processor_command.rb
449
- - lib/ronin/config.rb
450
524
  - lib/ronin/root.rb
451
525
  - lib/ronin/ui.rb
452
526
  - lib/ronin/version.rb
527
+ - man/ronin-archive.1.md
453
528
  - man/ronin-asn.1
454
529
  - man/ronin-asn.1.md
455
530
  - man/ronin-banner-grab.1
456
531
  - man/ronin-banner-grab.1.md
457
532
  - man/ronin-bitflip.1
458
533
  - man/ronin-bitflip.1.md
534
+ - man/ronin-bitsquat.1
535
+ - man/ronin-bitsquat.1.md
459
536
  - man/ronin-cert-dump.1
460
537
  - man/ronin-cert-dump.1.md
461
538
  - man/ronin-cert-gen.1
462
539
  - man/ronin-cert-gen.1.md
463
540
  - man/ronin-cert-grab.1
464
541
  - man/ronin-cert-grab.1.md
542
+ - man/ronin-completion.1
543
+ - man/ronin-completion.1.md
465
544
  - man/ronin-decode.1
466
545
  - man/ronin-decode.1.md
467
546
  - man/ronin-decrypt.1
468
547
  - man/ronin-decrypt.1.md
548
+ - man/ronin-dns-proxy.1
549
+ - man/ronin-dns-proxy.1.md
469
550
  - man/ronin-dns.1
470
551
  - man/ronin-dns.1.md
471
552
  - man/ronin-email-addr.1
@@ -506,12 +587,16 @@ files:
506
587
  - man/ronin-md5.1.md
507
588
  - man/ronin-netcat.1
508
589
  - man/ronin-netcat.1.md
590
+ - man/ronin-new-dns-proxy.1
591
+ - man/ronin-new-dns-proxy.1.md
509
592
  - man/ronin-new-project.1
510
593
  - man/ronin-new-project.1.md
511
594
  - man/ronin-new-script.1
512
595
  - man/ronin-new-script.1.md
513
596
  - man/ronin-new.1
514
597
  - man/ronin-new.1.md
598
+ - man/ronin-pack.1
599
+ - man/ronin-pack.1.md
515
600
  - man/ronin-proxy.1
516
601
  - man/ronin-proxy.1.md
517
602
  - man/ronin-public-suffix-list.1
@@ -536,10 +621,13 @@ files:
536
621
  - man/ronin-typo.1.md
537
622
  - man/ronin-typosquat.1
538
623
  - man/ronin-typosquat.1.md
624
+ - man/ronin-unarchive.1.md
539
625
  - man/ronin-unescape.1
540
626
  - man/ronin-unescape.1.md
541
627
  - man/ronin-unhexdump.1
542
628
  - man/ronin-unhexdump.1.md
629
+ - man/ronin-unpack.1
630
+ - man/ronin-unpack.1.md
543
631
  - man/ronin-unquote.1
544
632
  - man/ronin-unquote.1.md
545
633
  - man/ronin-url.1
@@ -549,6 +637,7 @@ files:
549
637
  - man/ronin.1
550
638
  - man/ronin.1.md
551
639
  - ronin.gemspec
640
+ - scripts/setup
552
641
  homepage: https://ronin-rb.dev
553
642
  licenses:
554
643
  - GPL-3.0
@@ -574,14 +663,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
574
663
  requirements:
575
664
  - - ">="
576
665
  - !ruby/object:Gem::Version
577
- version: 3.0.0
666
+ version: 3.1.0
578
667
  required_rubygems_version: !ruby/object:Gem::Requirement
579
668
  requirements:
580
669
  - - ">="
581
670
  - !ruby/object:Gem::Version
582
671
  version: '0'
583
672
  requirements: []
584
- rubygems_version: 3.3.26
673
+ rubygems_version: 3.3.27
585
674
  signing_key:
586
675
  specification_version: 4
587
676
  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