ronin 1.0.0 → 1.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. data/.yardopts +0 -1
  2. data/ChangeLog.md +67 -3
  3. data/Gemfile +20 -12
  4. data/README.md +3 -5
  5. data/gemspec.yml +5 -5
  6. data/lib/ronin/address.rb +8 -3
  7. data/lib/ronin/arch.rb +39 -14
  8. data/lib/ronin/author.rb +2 -0
  9. data/lib/ronin/auto_load.rb +67 -0
  10. data/lib/ronin/campaign.rb +15 -2
  11. data/lib/ronin/class_methods.rb +7 -1
  12. data/lib/ronin/config.rb +5 -0
  13. data/lib/ronin/credential.rb +14 -3
  14. data/lib/ronin/database/database.rb +38 -12
  15. data/lib/ronin/database/migrations.rb +3 -1
  16. data/lib/ronin/database/migrations/add_created_at_column_to_targets_table.rb +48 -0
  17. data/lib/ronin/database/migrations/add_updated_at_column_to_campaigns_table.rb +47 -0
  18. data/lib/ronin/database/migrations/create_licenses_table.rb +1 -1
  19. data/lib/ronin/database/migrations/create_passwords_table.rb +1 -1
  20. data/lib/ronin/database/migrations/{create_cached_files_table.rb → create_script_paths_table.rb} +4 -4
  21. data/lib/ronin/database/migrations/migration.rb +3 -6
  22. data/lib/ronin/database/migrations/migrations.rb +3 -3
  23. data/lib/ronin/email_address.rb +20 -3
  24. data/lib/ronin/environment.rb +0 -3
  25. data/lib/ronin/host_name.rb +20 -6
  26. data/lib/ronin/host_name_ip_address.rb +2 -3
  27. data/lib/ronin/installation.rb +92 -23
  28. data/lib/ronin/ip_address.rb +31 -8
  29. data/lib/ronin/ip_address_mac_address.rb +2 -3
  30. data/lib/ronin/license.rb +1 -1
  31. data/lib/ronin/mac_address.rb +6 -4
  32. data/lib/ronin/model/class_methods.rb +4 -0
  33. data/lib/ronin/model/has_authors/class_methods.rb +4 -0
  34. data/lib/ronin/model/has_authors/has_authors.rb +4 -0
  35. data/lib/ronin/model/has_description/class_methods.rb +2 -0
  36. data/lib/ronin/model/has_description/has_description.rb +2 -0
  37. data/lib/ronin/model/has_license/class_methods.rb +2 -0
  38. data/lib/ronin/model/has_license/has_license.rb +4 -0
  39. data/lib/ronin/model/has_name/class_methods.rb +2 -0
  40. data/lib/ronin/model/has_name/has_name.rb +4 -0
  41. data/lib/ronin/model/has_title/class_methods.rb +2 -0
  42. data/lib/ronin/model/has_title/has_title.rb +2 -0
  43. data/lib/ronin/model/has_unique_name/class_methods.rb +2 -0
  44. data/lib/ronin/model/has_unique_name/has_unique_name.rb +7 -1
  45. data/lib/ronin/model/has_version/class_methods.rb +4 -0
  46. data/lib/ronin/model/has_version/has_version.rb +2 -0
  47. data/lib/ronin/model/model.rb +2 -0
  48. data/lib/ronin/model/types.rb +1 -7
  49. data/lib/ronin/model/types/description.rb +2 -0
  50. data/lib/ronin/network/mixins/esmtp.rb +40 -25
  51. data/lib/ronin/network/mixins/http.rb +336 -73
  52. data/lib/ronin/network/mixins/imap.rb +38 -25
  53. data/lib/ronin/network/mixins/pop3.rb +34 -21
  54. data/lib/ronin/network/mixins/smtp.rb +40 -25
  55. data/lib/ronin/network/mixins/tcp.rb +66 -41
  56. data/lib/ronin/network/mixins/telnet.rb +43 -30
  57. data/lib/ronin/network/mixins/udp.rb +59 -40
  58. data/lib/ronin/open_port.rb +12 -5
  59. data/lib/ronin/organization.rb +1 -2
  60. data/lib/ronin/os.rb +10 -3
  61. data/lib/ronin/os_guess.rb +2 -3
  62. data/lib/ronin/password.rb +11 -3
  63. data/lib/ronin/port.rb +7 -2
  64. data/lib/ronin/{engine/exceptions/deploy_failed.rb → repositories.rb} +4 -6
  65. data/lib/ronin/repository.rb +110 -37
  66. data/lib/ronin/ronin.rb +4 -3
  67. data/lib/ronin/{engine.rb → script.rb} +2 -1
  68. data/lib/ronin/{engine → script}/buildable.rb +43 -29
  69. data/lib/ronin/script/class_methods.rb +84 -0
  70. data/lib/ronin/{engine → script}/deployable.rb +61 -40
  71. data/lib/ronin/{engine → script}/exceptions.rb +4 -3
  72. data/lib/ronin/script/exceptions/deploy_failed.rb +27 -0
  73. data/lib/ronin/{engine/exceptions/not_built.rb → script/exceptions/exception.rb} +2 -2
  74. data/lib/ronin/{engine/exceptions/verification_failed.rb → script/exceptions/not_built.rb} +4 -2
  75. data/lib/ronin/script/exceptions/test_failed.rb +27 -0
  76. data/lib/ronin/script/instance_methods.rb +217 -0
  77. data/lib/ronin/script/path.rb +277 -0
  78. data/lib/ronin/{engine/engine.rb → script/script.rb} +52 -15
  79. data/lib/ronin/{engine/verifiable.rb → script/testable.rb} +97 -68
  80. data/lib/ronin/service.rb +1 -2
  81. data/lib/ronin/service_credential.rb +1 -2
  82. data/lib/ronin/software.rb +3 -2
  83. data/lib/ronin/spec/database.rb +0 -4
  84. data/lib/ronin/target.rb +11 -3
  85. data/lib/ronin/tcp_port.rb +3 -2
  86. data/lib/ronin/udp_port.rb +2 -0
  87. data/lib/ronin/ui/cli/cli.rb +6 -0
  88. data/lib/ronin/ui/cli/command.rb +48 -12
  89. data/lib/ronin/ui/cli/commands/campaigns.rb +3 -3
  90. data/lib/ronin/ui/cli/commands/console.rb +2 -1
  91. data/lib/ronin/ui/cli/commands/creds.rb +3 -3
  92. data/lib/ronin/ui/cli/commands/database.rb +1 -17
  93. data/lib/ronin/ui/cli/commands/emails.rb +3 -3
  94. data/lib/ronin/ui/cli/commands/hosts.rb +3 -7
  95. data/lib/ronin/ui/cli/commands/ips.rb +3 -7
  96. data/lib/ronin/ui/cli/commands/repos.rb +5 -17
  97. data/lib/ronin/ui/cli/commands/urls.rb +3 -3
  98. data/lib/ronin/ui/cli/model_command.rb +82 -97
  99. data/lib/ronin/ui/cli/resources_command.rb +89 -0
  100. data/lib/ronin/ui/cli/script_command.rb +115 -0
  101. data/lib/ronin/ui/console.rb +17 -3
  102. data/lib/ronin/ui/output/helpers.rb +18 -0
  103. data/lib/ronin/ui/output/output.rb +20 -1
  104. data/lib/ronin/ui/output/terminal/color.rb +10 -0
  105. data/lib/ronin/ui/output/terminal/raw.rb +10 -0
  106. data/lib/ronin/ui/shell.rb +2 -0
  107. data/lib/ronin/url.rb +47 -12
  108. data/lib/ronin/url_query_param.rb +4 -0
  109. data/lib/ronin/url_scheme.rb +3 -3
  110. data/lib/ronin/user_name.rb +2 -0
  111. data/lib/ronin/version.rb +1 -1
  112. data/lib/ronin/web_credential.rb +6 -3
  113. data/spec/arch_spec.rb +3 -3
  114. data/spec/classes/my_script.rb +21 -0
  115. data/spec/helpers/repos/{test1 → installed}/ronin.yml +1 -1
  116. data/spec/helpers/repos/{hello/cache → installed/scripts}/.keep +0 -0
  117. data/spec/helpers/repos/local/lib/init.rb +1 -0
  118. data/spec/helpers/repos/{hello → local}/lib/stuff/another_test.rb +0 -0
  119. data/spec/helpers/repos/{hello → local}/lib/stuff/test.rb +0 -0
  120. data/spec/helpers/repos/{random → local}/ronin.yml +1 -1
  121. data/spec/helpers/repos/{random/cache → local/scripts}/.keep +0 -0
  122. data/spec/helpers/repos/{hello → remote}/ronin.yml +1 -1
  123. data/spec/helpers/repos/remote/scripts/.keep +0 -0
  124. data/spec/helpers/repos/{test2 → scripts}/ronin.yml +0 -0
  125. data/spec/helpers/repos/scripts/scripts/cached/cached.rb +10 -0
  126. data/spec/helpers/repos/scripts/scripts/cached/missing.rb +10 -0
  127. data/spec/helpers/repos/scripts/scripts/cached/modified.rb +10 -0
  128. data/spec/helpers/repos/scripts/scripts/cached/unmodified.rb +10 -0
  129. data/spec/helpers/repos/scripts/scripts/failures/exceptions.rb +11 -0
  130. data/spec/helpers/repos/{test2/cache/cacheable_model → scripts/scripts/failures}/load_errors.rb +3 -1
  131. data/spec/helpers/repos/{test2/cache/cacheable_model → scripts/scripts/failures}/name_errors.rb +1 -0
  132. data/spec/helpers/repos/scripts/scripts/failures/no_method_errors.rb +10 -0
  133. data/spec/helpers/repos/scripts/scripts/failures/syntax_errors.rb +11 -0
  134. data/spec/helpers/repos/scripts/scripts/failures/validation_errors.rb +11 -0
  135. data/spec/helpers/repos/scripts/scripts/my_scripts/test.rb +16 -0
  136. data/spec/model/spec_helper.rb +0 -2
  137. data/spec/repository_spec.rb +61 -81
  138. data/spec/ronin_spec.rb +2 -2
  139. data/spec/{engine → script}/buildable_spec.rb +9 -9
  140. data/spec/script/classes/buildable_class.rb +15 -0
  141. data/spec/script/classes/deployable_class.rb +13 -0
  142. data/spec/{engine/classes/engine_class.rb → script/classes/script_class.rb} +3 -3
  143. data/spec/{engine/classes/verifiable_class.rb → script/classes/testable_class.rb} +5 -5
  144. data/spec/{engine → script}/deployable_spec.rb +10 -10
  145. data/spec/{cached_file_spec.rb → script/path_spec.rb} +33 -72
  146. data/spec/script/script_spec.rb +130 -0
  147. data/spec/script/testable_spec.rb +117 -0
  148. data/spec/spec_helper.rb +15 -13
  149. metadata +114 -139
  150. data/lib/ronin/cached_file.rb +0 -247
  151. data/lib/ronin/engine/class_methods.rb +0 -135
  152. data/lib/ronin/engine/instance_methods.rb +0 -97
  153. data/lib/ronin/model/cacheable.rb +0 -21
  154. data/lib/ronin/model/cacheable/cacheable.rb +0 -273
  155. data/lib/ronin/model/cacheable/class_methods.rb +0 -60
  156. data/lib/ronin/ui/cli/engine_command.rb +0 -106
  157. data/spec/engine/classes/buildable_class.rb +0 -15
  158. data/spec/engine/classes/deployable_class.rb +0 -13
  159. data/spec/engine/engine_spec.rb +0 -55
  160. data/spec/engine/verifiable_spec.rb +0 -117
  161. data/spec/helpers/repos/hello/lib/init.rb +0 -1
  162. data/spec/helpers/repos/test1/cache/cacheable_model/one.rb +0 -15
  163. data/spec/helpers/repos/test2/cache/cacheable_model/exceptions.rb +0 -7
  164. data/spec/helpers/repos/test2/cache/cacheable_model/no_method_errors.rb +0 -9
  165. data/spec/helpers/repos/test2/cache/cacheable_model/syntax_errors.rb +0 -7
  166. data/spec/helpers/repos/test2/cache/cacheable_model/two.rb +0 -15
  167. data/spec/helpers/repos/test2/cache/cacheable_model/validation_errors.rb +0 -9
  168. data/spec/model/cacheable_spec.rb +0 -96
  169. data/spec/model/models/cacheable_model.rb +0 -13
data/spec/spec_helper.rb CHANGED
@@ -7,31 +7,33 @@ include Ronin
7
7
 
8
8
  RSpec.configure do |spec|
9
9
  spec.before(:suite) do
10
+ MyScript.auto_migrate!
11
+
10
12
  Repository.create(
11
- :path => File.join(Helpers::Repositories::DIR,'hello'),
12
- :name => 'hello',
13
+ :path => File.join(Helpers::Repositories::DIR,'local'),
14
+ :name => 'local',
13
15
  :domain => Repository::LOCAL_DOMAIN
14
16
  )
15
17
 
16
18
  Repository.create(
17
- :path => File.join(Helpers::Repositories::DIR,'random'),
18
- :uri => 'git@github.com/path/to/random.git',
19
- :installed => true,
20
- :name => 'random',
21
- :domain => 'github.com'
19
+ :path => File.join(Helpers::Repositories::DIR,'remote'),
20
+ :uri => 'git@example.com/path/to/remote.git',
21
+ :name => 'remote',
22
+ :domain => 'example.com'
22
23
  )
23
24
 
24
25
  Repository.create(
25
- :path => File.join(Helpers::Repositories::DIR,'test1'),
26
- :uri => 'git@github.com/path/to/test1.git',
27
- :name => 'test1',
26
+ :path => File.join(Helpers::Repositories::DIR,'installed'),
27
+ :uri => 'git@github.com/path/to/installed.git',
28
+ :installed => true,
29
+ :name => 'installed',
28
30
  :domain => 'github.com'
29
31
  )
30
32
 
31
33
  Repository.create(
32
- :path => File.join(Helpers::Repositories::DIR,'test2'),
33
- :uri => 'git@github.com/path/to/test2.git',
34
- :name => 'test2',
34
+ :path => File.join(Helpers::Repositories::DIR,'scripts'),
35
+ :uri => 'git@github.com/path/to/scripts.git',
36
+ :name => 'scripts',
35
37
  :domain => 'github.com'
36
38
  )
37
39
  end
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ronin
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.0.0
4
+ prerelease: 6
5
+ version: 1.1.0.rc1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Postmodern
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-03-25 00:00:00 -04:00
14
- default_executable: ronin
13
+ date: 2011-05-17 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: dm-do-adapter
@@ -181,12 +180,9 @@ dependencies:
181
180
  requirement: &id015 !ruby/object:Gem::Requirement
182
181
  none: false
183
182
  requirements:
184
- - - ">="
185
- - !ruby/object:Gem::Version
186
- version: 0.2.1
187
183
  - - ~>
188
184
  - !ruby/object:Gem::Version
189
- version: "0.2"
185
+ version: 0.3.0.rc1
190
186
  type: :runtime
191
187
  prerelease: false
192
188
  version_requirements: *id015
@@ -206,12 +202,9 @@ dependencies:
206
202
  requirement: &id017 !ruby/object:Gem::Requirement
207
203
  none: false
208
204
  requirements:
209
- - - ">="
210
- - !ruby/object:Gem::Version
211
- version: 0.1.2
212
205
  - - ~>
213
206
  - !ruby/object:Gem::Version
214
- version: "0.1"
207
+ version: "0.2"
215
208
  type: :runtime
216
209
  prerelease: false
217
210
  version_requirements: *id017
@@ -230,40 +223,40 @@ dependencies:
230
223
  prerelease: false
231
224
  version_requirements: *id018
232
225
  - !ruby/object:Gem::Dependency
233
- name: hexdump
226
+ name: ripl
234
227
  requirement: &id019 !ruby/object:Gem::Requirement
235
228
  none: false
236
229
  requirements:
237
230
  - - ~>
238
231
  - !ruby/object:Gem::Version
239
- version: "0.1"
232
+ version: "0.3"
240
233
  type: :runtime
241
234
  prerelease: false
242
235
  version_requirements: *id019
243
236
  - !ruby/object:Gem::Dependency
244
- name: ripl
237
+ name: ripl-multi_line
245
238
  requirement: &id020 !ruby/object:Gem::Requirement
246
239
  none: false
247
240
  requirements:
248
241
  - - ~>
249
242
  - !ruby/object:Gem::Version
250
- version: "0.3"
243
+ version: "0.2"
251
244
  type: :runtime
252
245
  prerelease: false
253
246
  version_requirements: *id020
254
247
  - !ruby/object:Gem::Dependency
255
- name: ripl-multi_line
248
+ name: ripl-auto_indent
256
249
  requirement: &id021 !ruby/object:Gem::Requirement
257
250
  none: false
258
251
  requirements:
259
252
  - - ~>
260
253
  - !ruby/object:Gem::Version
261
- version: "0.2"
254
+ version: "0.1"
262
255
  type: :runtime
263
256
  prerelease: false
264
257
  version_requirements: *id021
265
258
  - !ruby/object:Gem::Dependency
266
- name: ripl-auto_indent
259
+ name: ripl-short_errors
267
260
  requirement: &id022 !ruby/object:Gem::Requirement
268
261
  none: false
269
262
  requirements:
@@ -274,52 +267,41 @@ dependencies:
274
267
  prerelease: false
275
268
  version_requirements: *id022
276
269
  - !ruby/object:Gem::Dependency
277
- name: ripl-short_errors
270
+ name: ripl-color_result
278
271
  requirement: &id023 !ruby/object:Gem::Requirement
279
272
  none: false
280
273
  requirements:
281
274
  - - ~>
282
275
  - !ruby/object:Gem::Version
283
- version: "0.1"
276
+ version: "0.3"
284
277
  type: :runtime
285
278
  prerelease: false
286
279
  version_requirements: *id023
287
280
  - !ruby/object:Gem::Dependency
288
- name: ripl-color_result
281
+ name: thor
289
282
  requirement: &id024 !ruby/object:Gem::Requirement
290
283
  none: false
291
284
  requirements:
292
285
  - - ~>
293
286
  - !ruby/object:Gem::Version
294
- version: "0.3"
287
+ version: 0.14.3
295
288
  type: :runtime
296
289
  prerelease: false
297
290
  version_requirements: *id024
298
291
  - !ruby/object:Gem::Dependency
299
- name: thor
292
+ name: ronin-support
300
293
  requirement: &id025 !ruby/object:Gem::Requirement
301
294
  none: false
302
295
  requirements:
303
296
  - - ~>
304
297
  - !ruby/object:Gem::Version
305
- version: 0.14.3
298
+ version: 0.2.0.rc1
306
299
  type: :runtime
307
300
  prerelease: false
308
301
  version_requirements: *id025
309
- - !ruby/object:Gem::Dependency
310
- name: ronin-support
311
- requirement: &id026 !ruby/object:Gem::Requirement
312
- none: false
313
- requirements:
314
- - - ~>
315
- - !ruby/object:Gem::Version
316
- version: "0.1"
317
- type: :runtime
318
- prerelease: false
319
- version_requirements: *id026
320
302
  - !ruby/object:Gem::Dependency
321
303
  name: bundler
322
- requirement: &id027 !ruby/object:Gem::Requirement
304
+ requirement: &id026 !ruby/object:Gem::Requirement
323
305
  none: false
324
306
  requirements:
325
307
  - - ~>
@@ -327,10 +309,10 @@ dependencies:
327
309
  version: 1.0.10
328
310
  type: :development
329
311
  prerelease: false
330
- version_requirements: *id027
312
+ version_requirements: *id026
331
313
  - !ruby/object:Gem::Dependency
332
314
  name: yard
333
- requirement: &id028 !ruby/object:Gem::Requirement
315
+ requirement: &id027 !ruby/object:Gem::Requirement
334
316
  none: false
335
317
  requirements:
336
318
  - - ~>
@@ -338,21 +320,10 @@ dependencies:
338
320
  version: 0.6.4
339
321
  type: :development
340
322
  prerelease: false
341
- version_requirements: *id028
342
- - !ruby/object:Gem::Dependency
343
- name: yard-parameters
344
- requirement: &id029 !ruby/object:Gem::Requirement
345
- none: false
346
- requirements:
347
- - - ~>
348
- - !ruby/object:Gem::Version
349
- version: 0.1.0
350
- type: :development
351
- prerelease: false
352
- version_requirements: *id029
323
+ version_requirements: *id027
353
324
  - !ruby/object:Gem::Dependency
354
325
  name: yard-dm
355
- requirement: &id030 !ruby/object:Gem::Requirement
326
+ requirement: &id028 !ruby/object:Gem::Requirement
356
327
  none: false
357
328
  requirements:
358
329
  - - ~>
@@ -360,10 +331,10 @@ dependencies:
360
331
  version: 0.1.1
361
332
  type: :development
362
333
  prerelease: false
363
- version_requirements: *id030
334
+ version_requirements: *id028
364
335
  - !ruby/object:Gem::Dependency
365
336
  name: yard-dm-is-predefined
366
- requirement: &id031 !ruby/object:Gem::Requirement
337
+ requirement: &id029 !ruby/object:Gem::Requirement
367
338
  none: false
368
339
  requirements:
369
340
  - - ~>
@@ -371,23 +342,23 @@ dependencies:
371
342
  version: 0.2.0
372
343
  type: :development
373
344
  prerelease: false
374
- version_requirements: *id031
345
+ version_requirements: *id029
375
346
  description: Ronin is a Ruby platform for exploit development and security research. Ronin allows for the rapid development and distribution of code, exploits or payloads over many common Source-Code-Management (SCM) systems.
376
347
  email:
377
348
  - postmodern.mod3@gmail.com
378
349
  executables:
379
- - ronin-hosts
380
- - ronin-help
381
- - ronin-emails
382
- - ronin
383
- - ronin-console
384
- - ronin-campaigns
385
- - ronin-exec
386
350
  - ronin-repos
387
- - ronin-creds
351
+ - ronin-emails
388
352
  - ronin-ips
389
- - ronin-database
353
+ - ronin-help
390
354
  - ronin-urls
355
+ - ronin-hosts
356
+ - ronin-exec
357
+ - ronin-database
358
+ - ronin-campaigns
359
+ - ronin-creds
360
+ - ronin
361
+ - ronin-console
391
362
  extensions: []
392
363
 
393
364
  extra_rdoc_files:
@@ -421,8 +392,8 @@ files:
421
392
  - lib/ronin/address.rb
422
393
  - lib/ronin/arch.rb
423
394
  - lib/ronin/author.rb
395
+ - lib/ronin/auto_load.rb
424
396
  - lib/ronin/bootstrap.rb
425
- - lib/ronin/cached_file.rb
426
397
  - lib/ronin/campaign.rb
427
398
  - lib/ronin/class_methods.rb
428
399
  - lib/ronin/config.rb
@@ -433,10 +404,11 @@ files:
433
404
  - lib/ronin/database/exceptions/invalid_config.rb
434
405
  - lib/ronin/database/exceptions/unknown_repository.rb
435
406
  - lib/ronin/database/migrations.rb
407
+ - lib/ronin/database/migrations/add_created_at_column_to_targets_table.rb
408
+ - lib/ronin/database/migrations/add_updated_at_column_to_campaigns_table.rb
436
409
  - lib/ronin/database/migrations/create_addresses_table.rb
437
410
  - lib/ronin/database/migrations/create_arches_table.rb
438
411
  - lib/ronin/database/migrations/create_authors_table.rb
439
- - lib/ronin/database/migrations/create_cached_files_table.rb
440
412
  - lib/ronin/database/migrations/create_campaigns_table.rb
441
413
  - lib/ronin/database/migrations/create_countries_table.rb
442
414
  - lib/ronin/database/migrations/create_credentials_table.rb
@@ -452,6 +424,7 @@ files:
452
424
  - lib/ronin/database/migrations/create_ports_table.rb
453
425
  - lib/ronin/database/migrations/create_proxies_table.rb
454
426
  - lib/ronin/database/migrations/create_repositories_table.rb
427
+ - lib/ronin/database/migrations/create_script_paths_table.rb
455
428
  - lib/ronin/database/migrations/create_services_table.rb
456
429
  - lib/ronin/database/migrations/create_softwares_table.rb
457
430
  - lib/ronin/database/migrations/create_targets_table.rb
@@ -467,17 +440,6 @@ files:
467
440
  - lib/ronin/database/migrations/migration.rb
468
441
  - lib/ronin/database/migrations/migrations.rb
469
442
  - lib/ronin/email_address.rb
470
- - lib/ronin/engine.rb
471
- - lib/ronin/engine/buildable.rb
472
- - lib/ronin/engine/class_methods.rb
473
- - lib/ronin/engine/deployable.rb
474
- - lib/ronin/engine/engine.rb
475
- - lib/ronin/engine/exceptions.rb
476
- - lib/ronin/engine/exceptions/deploy_failed.rb
477
- - lib/ronin/engine/exceptions/not_built.rb
478
- - lib/ronin/engine/exceptions/verification_failed.rb
479
- - lib/ronin/engine/instance_methods.rb
480
- - lib/ronin/engine/verifiable.rb
481
443
  - lib/ronin/environment.rb
482
444
  - lib/ronin/exceptions.rb
483
445
  - lib/ronin/exceptions/duplicate_repository.rb
@@ -490,9 +452,6 @@ files:
490
452
  - lib/ronin/license.rb
491
453
  - lib/ronin/mac_address.rb
492
454
  - lib/ronin/model.rb
493
- - lib/ronin/model/cacheable.rb
494
- - lib/ronin/model/cacheable/cacheable.rb
495
- - lib/ronin/model/cacheable/class_methods.rb
496
455
  - lib/ronin/model/class_methods.rb
497
456
  - lib/ronin/model/has_authors.rb
498
457
  - lib/ronin/model/has_authors/class_methods.rb
@@ -533,8 +492,22 @@ files:
533
492
  - lib/ronin/os_guess.rb
534
493
  - lib/ronin/password.rb
535
494
  - lib/ronin/port.rb
495
+ - lib/ronin/repositories.rb
536
496
  - lib/ronin/repository.rb
537
497
  - lib/ronin/ronin.rb
498
+ - lib/ronin/script.rb
499
+ - lib/ronin/script/buildable.rb
500
+ - lib/ronin/script/class_methods.rb
501
+ - lib/ronin/script/deployable.rb
502
+ - lib/ronin/script/exceptions.rb
503
+ - lib/ronin/script/exceptions/deploy_failed.rb
504
+ - lib/ronin/script/exceptions/exception.rb
505
+ - lib/ronin/script/exceptions/not_built.rb
506
+ - lib/ronin/script/exceptions/test_failed.rb
507
+ - lib/ronin/script/instance_methods.rb
508
+ - lib/ronin/script/path.rb
509
+ - lib/ronin/script/script.rb
510
+ - lib/ronin/script/testable.rb
538
511
  - lib/ronin/service.rb
539
512
  - lib/ronin/service_credential.rb
540
513
  - lib/ronin/software.rb
@@ -559,10 +532,11 @@ files:
559
532
  - lib/ronin/ui/cli/commands/ips.rb
560
533
  - lib/ronin/ui/cli/commands/repos.rb
561
534
  - lib/ronin/ui/cli/commands/urls.rb
562
- - lib/ronin/ui/cli/engine_command.rb
563
535
  - lib/ronin/ui/cli/exceptions.rb
564
536
  - lib/ronin/ui/cli/exceptions/unknown_command.rb
565
537
  - lib/ronin/ui/cli/model_command.rb
538
+ - lib/ronin/ui/cli/resources_command.rb
539
+ - lib/ronin/ui/cli/script_command.rb
566
540
  - lib/ronin/ui/console.rb
567
541
  - lib/ronin/ui/output.rb
568
542
  - lib/ronin/ui/output/helpers.rb
@@ -581,43 +555,38 @@ files:
581
555
  - ronin.gemspec
582
556
  - spec/arch_spec.rb
583
557
  - spec/author_spec.rb
584
- - spec/cached_file_spec.rb
585
558
  - spec/campaign_spec.rb
559
+ - spec/classes/my_script.rb
586
560
  - spec/credential_spec.rb
587
561
  - spec/database_spec.rb
588
562
  - spec/email_address_spec.rb
589
- - spec/engine/buildable_spec.rb
590
- - spec/engine/classes/buildable_class.rb
591
- - spec/engine/classes/deployable_class.rb
592
- - spec/engine/classes/engine_class.rb
593
- - spec/engine/classes/verifiable_class.rb
594
- - spec/engine/deployable_spec.rb
595
- - spec/engine/engine_spec.rb
596
- - spec/engine/verifiable_spec.rb
597
- - spec/helpers/repos/hello/cache/.keep
598
- - spec/helpers/repos/hello/lib/init.rb
599
- - spec/helpers/repos/hello/lib/stuff/another_test.rb
600
- - spec/helpers/repos/hello/lib/stuff/test.rb
601
- - spec/helpers/repos/hello/ronin.yml
602
- - spec/helpers/repos/random/cache/.keep
603
- - spec/helpers/repos/random/ronin.yml
604
- - spec/helpers/repos/test1/cache/cacheable_model/one.rb
605
- - spec/helpers/repos/test1/ronin.yml
606
- - spec/helpers/repos/test2/cache/cacheable_model/exceptions.rb
607
- - spec/helpers/repos/test2/cache/cacheable_model/load_errors.rb
608
- - spec/helpers/repos/test2/cache/cacheable_model/name_errors.rb
609
- - spec/helpers/repos/test2/cache/cacheable_model/no_method_errors.rb
610
- - spec/helpers/repos/test2/cache/cacheable_model/syntax_errors.rb
611
- - spec/helpers/repos/test2/cache/cacheable_model/two.rb
612
- - spec/helpers/repos/test2/cache/cacheable_model/validation_errors.rb
613
- - spec/helpers/repos/test2/ronin.yml
563
+ - spec/helpers/repos/installed/ronin.yml
564
+ - spec/helpers/repos/installed/scripts/.keep
565
+ - spec/helpers/repos/local/lib/init.rb
566
+ - spec/helpers/repos/local/lib/stuff/another_test.rb
567
+ - spec/helpers/repos/local/lib/stuff/test.rb
568
+ - spec/helpers/repos/local/ronin.yml
569
+ - spec/helpers/repos/local/scripts/.keep
570
+ - spec/helpers/repos/remote/ronin.yml
571
+ - spec/helpers/repos/remote/scripts/.keep
572
+ - spec/helpers/repos/scripts/ronin.yml
573
+ - spec/helpers/repos/scripts/scripts/cached/cached.rb
574
+ - spec/helpers/repos/scripts/scripts/cached/missing.rb
575
+ - spec/helpers/repos/scripts/scripts/cached/modified.rb
576
+ - spec/helpers/repos/scripts/scripts/cached/unmodified.rb
577
+ - spec/helpers/repos/scripts/scripts/failures/exceptions.rb
578
+ - spec/helpers/repos/scripts/scripts/failures/load_errors.rb
579
+ - spec/helpers/repos/scripts/scripts/failures/name_errors.rb
580
+ - spec/helpers/repos/scripts/scripts/failures/no_method_errors.rb
581
+ - spec/helpers/repos/scripts/scripts/failures/syntax_errors.rb
582
+ - spec/helpers/repos/scripts/scripts/failures/validation_errors.rb
583
+ - spec/helpers/repos/scripts/scripts/my_scripts/test.rb
614
584
  - spec/helpers/repositories.rb
615
585
  - spec/host_name_spec.rb
616
586
  - spec/installation_spec.rb
617
587
  - spec/ip_address.rb
618
588
  - spec/license_spec.rb
619
589
  - spec/mac_address_spec.rb
620
- - spec/model/cacheable_spec.rb
621
590
  - spec/model/has_authors_spec.rb
622
591
  - spec/model/has_description_spec.rb
623
592
  - spec/model/has_license_spec.rb
@@ -627,7 +596,6 @@ files:
627
596
  - spec/model/model_spec.rb
628
597
  - spec/model/models/authored_model.rb
629
598
  - spec/model/models/basic_model.rb
630
- - spec/model/models/cacheable_model.rb
631
599
  - spec/model/models/custom_model.rb
632
600
  - spec/model/models/described_model.rb
633
601
  - spec/model/models/licensed_model.rb
@@ -640,6 +608,15 @@ files:
640
608
  - spec/port_spec.rb
641
609
  - spec/repository_spec.rb
642
610
  - spec/ronin_spec.rb
611
+ - spec/script/buildable_spec.rb
612
+ - spec/script/classes/buildable_class.rb
613
+ - spec/script/classes/deployable_class.rb
614
+ - spec/script/classes/script_class.rb
615
+ - spec/script/classes/testable_class.rb
616
+ - spec/script/deployable_spec.rb
617
+ - spec/script/path_spec.rb
618
+ - spec/script/script_spec.rb
619
+ - spec/script/testable_spec.rb
643
620
  - spec/service_spec.rb
644
621
  - spec/software_spec.rb
645
622
  - spec/spec_helper.rb
@@ -650,7 +627,6 @@ files:
650
627
  - spec/url_scheme_spec.rb
651
628
  - spec/url_spec.rb
652
629
  - spec/vendor_spec.rb
653
- has_rdoc: yard
654
630
  homepage: http://github.com/ronin-ruby/ronin
655
631
  licenses:
656
632
  - GPL-3
@@ -695,44 +671,43 @@ required_rubygems_version: !ruby/object:Gem::Requirement
695
671
  requirements: []
696
672
 
697
673
  rubyforge_project: ronin
698
- rubygems_version: 1.6.2
674
+ rubygems_version: 1.8.1
699
675
  signing_key:
700
676
  specification_version: 3
701
677
  summary: A Ruby platform for exploit development and security research.
702
678
  test_files:
703
- - spec/port_spec.rb
704
- - spec/credential_spec.rb
705
- - spec/ui/cli/command_spec.rb
706
- - spec/ui/output_spec.rb
707
- - spec/installation_spec.rb
708
- - spec/vendor_spec.rb
709
- - spec/campaign_spec.rb
710
- - spec/engine/engine_spec.rb
711
- - spec/engine/buildable_spec.rb
712
- - spec/engine/verifiable_spec.rb
713
- - spec/engine/deployable_spec.rb
714
- - spec/arch_spec.rb
715
- - spec/os_spec.rb
679
+ - spec/mac_address_spec.rb
680
+ - spec/script/script_spec.rb
681
+ - spec/script/buildable_spec.rb
682
+ - spec/script/path_spec.rb
683
+ - spec/script/testable_spec.rb
684
+ - spec/script/deployable_spec.rb
716
685
  - spec/database_spec.rb
717
- - spec/password_spec.rb
718
- - spec/model/cacheable_spec.rb
686
+ - spec/author_spec.rb
687
+ - spec/vendor_spec.rb
688
+ - spec/url_spec.rb
689
+ - spec/port_spec.rb
719
690
  - spec/model/has_version_spec.rb
720
- - spec/model/has_authors_spec.rb
721
- - spec/model/model_spec.rb
691
+ - spec/model/has_license_spec.rb
692
+ - spec/model/has_description_spec.rb
722
693
  - spec/model/has_title_spec.rb
694
+ - spec/model/model_spec.rb
695
+ - spec/model/has_authors_spec.rb
723
696
  - spec/model/has_name_spec.rb
724
- - spec/model/has_description_spec.rb
725
- - spec/model/has_license_spec.rb
726
697
  - spec/license_spec.rb
727
- - spec/author_spec.rb
728
- - spec/service_spec.rb
698
+ - spec/campaign_spec.rb
699
+ - spec/password_spec.rb
700
+ - spec/arch_spec.rb
701
+ - spec/repository_spec.rb
702
+ - spec/url_scheme_spec.rb
729
703
  - spec/software_spec.rb
730
- - spec/email_address_spec.rb
731
- - spec/mac_address_spec.rb
732
704
  - spec/url_query_param_spec.rb
733
- - spec/url_scheme_spec.rb
734
- - spec/url_spec.rb
735
- - spec/repository_spec.rb
736
- - spec/cached_file_spec.rb
737
- - spec/host_name_spec.rb
705
+ - spec/ui/cli/command_spec.rb
706
+ - spec/ui/output_spec.rb
738
707
  - spec/ronin_spec.rb
708
+ - spec/os_spec.rb
709
+ - spec/service_spec.rb
710
+ - spec/installation_spec.rb
711
+ - spec/host_name_spec.rb
712
+ - spec/email_address_spec.rb
713
+ - spec/credential_spec.rb