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.
- data/.yardopts +0 -1
- data/ChangeLog.md +67 -3
- data/Gemfile +20 -12
- data/README.md +3 -5
- data/gemspec.yml +5 -5
- data/lib/ronin/address.rb +8 -3
- data/lib/ronin/arch.rb +39 -14
- data/lib/ronin/author.rb +2 -0
- data/lib/ronin/auto_load.rb +67 -0
- data/lib/ronin/campaign.rb +15 -2
- data/lib/ronin/class_methods.rb +7 -1
- data/lib/ronin/config.rb +5 -0
- data/lib/ronin/credential.rb +14 -3
- data/lib/ronin/database/database.rb +38 -12
- data/lib/ronin/database/migrations.rb +3 -1
- data/lib/ronin/database/migrations/add_created_at_column_to_targets_table.rb +48 -0
- data/lib/ronin/database/migrations/add_updated_at_column_to_campaigns_table.rb +47 -0
- data/lib/ronin/database/migrations/create_licenses_table.rb +1 -1
- data/lib/ronin/database/migrations/create_passwords_table.rb +1 -1
- data/lib/ronin/database/migrations/{create_cached_files_table.rb → create_script_paths_table.rb} +4 -4
- data/lib/ronin/database/migrations/migration.rb +3 -6
- data/lib/ronin/database/migrations/migrations.rb +3 -3
- data/lib/ronin/email_address.rb +20 -3
- data/lib/ronin/environment.rb +0 -3
- data/lib/ronin/host_name.rb +20 -6
- data/lib/ronin/host_name_ip_address.rb +2 -3
- data/lib/ronin/installation.rb +92 -23
- data/lib/ronin/ip_address.rb +31 -8
- data/lib/ronin/ip_address_mac_address.rb +2 -3
- data/lib/ronin/license.rb +1 -1
- data/lib/ronin/mac_address.rb +6 -4
- data/lib/ronin/model/class_methods.rb +4 -0
- data/lib/ronin/model/has_authors/class_methods.rb +4 -0
- data/lib/ronin/model/has_authors/has_authors.rb +4 -0
- data/lib/ronin/model/has_description/class_methods.rb +2 -0
- data/lib/ronin/model/has_description/has_description.rb +2 -0
- data/lib/ronin/model/has_license/class_methods.rb +2 -0
- data/lib/ronin/model/has_license/has_license.rb +4 -0
- data/lib/ronin/model/has_name/class_methods.rb +2 -0
- data/lib/ronin/model/has_name/has_name.rb +4 -0
- data/lib/ronin/model/has_title/class_methods.rb +2 -0
- data/lib/ronin/model/has_title/has_title.rb +2 -0
- data/lib/ronin/model/has_unique_name/class_methods.rb +2 -0
- data/lib/ronin/model/has_unique_name/has_unique_name.rb +7 -1
- data/lib/ronin/model/has_version/class_methods.rb +4 -0
- data/lib/ronin/model/has_version/has_version.rb +2 -0
- data/lib/ronin/model/model.rb +2 -0
- data/lib/ronin/model/types.rb +1 -7
- data/lib/ronin/model/types/description.rb +2 -0
- data/lib/ronin/network/mixins/esmtp.rb +40 -25
- data/lib/ronin/network/mixins/http.rb +336 -73
- data/lib/ronin/network/mixins/imap.rb +38 -25
- data/lib/ronin/network/mixins/pop3.rb +34 -21
- data/lib/ronin/network/mixins/smtp.rb +40 -25
- data/lib/ronin/network/mixins/tcp.rb +66 -41
- data/lib/ronin/network/mixins/telnet.rb +43 -30
- data/lib/ronin/network/mixins/udp.rb +59 -40
- data/lib/ronin/open_port.rb +12 -5
- data/lib/ronin/organization.rb +1 -2
- data/lib/ronin/os.rb +10 -3
- data/lib/ronin/os_guess.rb +2 -3
- data/lib/ronin/password.rb +11 -3
- data/lib/ronin/port.rb +7 -2
- data/lib/ronin/{engine/exceptions/deploy_failed.rb → repositories.rb} +4 -6
- data/lib/ronin/repository.rb +110 -37
- data/lib/ronin/ronin.rb +4 -3
- data/lib/ronin/{engine.rb → script.rb} +2 -1
- data/lib/ronin/{engine → script}/buildable.rb +43 -29
- data/lib/ronin/script/class_methods.rb +84 -0
- data/lib/ronin/{engine → script}/deployable.rb +61 -40
- data/lib/ronin/{engine → script}/exceptions.rb +4 -3
- data/lib/ronin/script/exceptions/deploy_failed.rb +27 -0
- data/lib/ronin/{engine/exceptions/not_built.rb → script/exceptions/exception.rb} +2 -2
- data/lib/ronin/{engine/exceptions/verification_failed.rb → script/exceptions/not_built.rb} +4 -2
- data/lib/ronin/script/exceptions/test_failed.rb +27 -0
- data/lib/ronin/script/instance_methods.rb +217 -0
- data/lib/ronin/script/path.rb +277 -0
- data/lib/ronin/{engine/engine.rb → script/script.rb} +52 -15
- data/lib/ronin/{engine/verifiable.rb → script/testable.rb} +97 -68
- data/lib/ronin/service.rb +1 -2
- data/lib/ronin/service_credential.rb +1 -2
- data/lib/ronin/software.rb +3 -2
- data/lib/ronin/spec/database.rb +0 -4
- data/lib/ronin/target.rb +11 -3
- data/lib/ronin/tcp_port.rb +3 -2
- data/lib/ronin/udp_port.rb +2 -0
- data/lib/ronin/ui/cli/cli.rb +6 -0
- data/lib/ronin/ui/cli/command.rb +48 -12
- data/lib/ronin/ui/cli/commands/campaigns.rb +3 -3
- data/lib/ronin/ui/cli/commands/console.rb +2 -1
- data/lib/ronin/ui/cli/commands/creds.rb +3 -3
- data/lib/ronin/ui/cli/commands/database.rb +1 -17
- data/lib/ronin/ui/cli/commands/emails.rb +3 -3
- data/lib/ronin/ui/cli/commands/hosts.rb +3 -7
- data/lib/ronin/ui/cli/commands/ips.rb +3 -7
- data/lib/ronin/ui/cli/commands/repos.rb +5 -17
- data/lib/ronin/ui/cli/commands/urls.rb +3 -3
- data/lib/ronin/ui/cli/model_command.rb +82 -97
- data/lib/ronin/ui/cli/resources_command.rb +89 -0
- data/lib/ronin/ui/cli/script_command.rb +115 -0
- data/lib/ronin/ui/console.rb +17 -3
- data/lib/ronin/ui/output/helpers.rb +18 -0
- data/lib/ronin/ui/output/output.rb +20 -1
- data/lib/ronin/ui/output/terminal/color.rb +10 -0
- data/lib/ronin/ui/output/terminal/raw.rb +10 -0
- data/lib/ronin/ui/shell.rb +2 -0
- data/lib/ronin/url.rb +47 -12
- data/lib/ronin/url_query_param.rb +4 -0
- data/lib/ronin/url_scheme.rb +3 -3
- data/lib/ronin/user_name.rb +2 -0
- data/lib/ronin/version.rb +1 -1
- data/lib/ronin/web_credential.rb +6 -3
- data/spec/arch_spec.rb +3 -3
- data/spec/classes/my_script.rb +21 -0
- data/spec/helpers/repos/{test1 → installed}/ronin.yml +1 -1
- data/spec/helpers/repos/{hello/cache → installed/scripts}/.keep +0 -0
- data/spec/helpers/repos/local/lib/init.rb +1 -0
- data/spec/helpers/repos/{hello → local}/lib/stuff/another_test.rb +0 -0
- data/spec/helpers/repos/{hello → local}/lib/stuff/test.rb +0 -0
- data/spec/helpers/repos/{random → local}/ronin.yml +1 -1
- data/spec/helpers/repos/{random/cache → local/scripts}/.keep +0 -0
- data/spec/helpers/repos/{hello → remote}/ronin.yml +1 -1
- data/spec/helpers/repos/remote/scripts/.keep +0 -0
- data/spec/helpers/repos/{test2 → scripts}/ronin.yml +0 -0
- data/spec/helpers/repos/scripts/scripts/cached/cached.rb +10 -0
- data/spec/helpers/repos/scripts/scripts/cached/missing.rb +10 -0
- data/spec/helpers/repos/scripts/scripts/cached/modified.rb +10 -0
- data/spec/helpers/repos/scripts/scripts/cached/unmodified.rb +10 -0
- data/spec/helpers/repos/scripts/scripts/failures/exceptions.rb +11 -0
- data/spec/helpers/repos/{test2/cache/cacheable_model → scripts/scripts/failures}/load_errors.rb +3 -1
- data/spec/helpers/repos/{test2/cache/cacheable_model → scripts/scripts/failures}/name_errors.rb +1 -0
- data/spec/helpers/repos/scripts/scripts/failures/no_method_errors.rb +10 -0
- data/spec/helpers/repos/scripts/scripts/failures/syntax_errors.rb +11 -0
- data/spec/helpers/repos/scripts/scripts/failures/validation_errors.rb +11 -0
- data/spec/helpers/repos/scripts/scripts/my_scripts/test.rb +16 -0
- data/spec/model/spec_helper.rb +0 -2
- data/spec/repository_spec.rb +61 -81
- data/spec/ronin_spec.rb +2 -2
- data/spec/{engine → script}/buildable_spec.rb +9 -9
- data/spec/script/classes/buildable_class.rb +15 -0
- data/spec/script/classes/deployable_class.rb +13 -0
- data/spec/{engine/classes/engine_class.rb → script/classes/script_class.rb} +3 -3
- data/spec/{engine/classes/verifiable_class.rb → script/classes/testable_class.rb} +5 -5
- data/spec/{engine → script}/deployable_spec.rb +10 -10
- data/spec/{cached_file_spec.rb → script/path_spec.rb} +33 -72
- data/spec/script/script_spec.rb +130 -0
- data/spec/script/testable_spec.rb +117 -0
- data/spec/spec_helper.rb +15 -13
- metadata +114 -139
- data/lib/ronin/cached_file.rb +0 -247
- data/lib/ronin/engine/class_methods.rb +0 -135
- data/lib/ronin/engine/instance_methods.rb +0 -97
- data/lib/ronin/model/cacheable.rb +0 -21
- data/lib/ronin/model/cacheable/cacheable.rb +0 -273
- data/lib/ronin/model/cacheable/class_methods.rb +0 -60
- data/lib/ronin/ui/cli/engine_command.rb +0 -106
- data/spec/engine/classes/buildable_class.rb +0 -15
- data/spec/engine/classes/deployable_class.rb +0 -13
- data/spec/engine/engine_spec.rb +0 -55
- data/spec/engine/verifiable_spec.rb +0 -117
- data/spec/helpers/repos/hello/lib/init.rb +0 -1
- data/spec/helpers/repos/test1/cache/cacheable_model/one.rb +0 -15
- data/spec/helpers/repos/test2/cache/cacheable_model/exceptions.rb +0 -7
- data/spec/helpers/repos/test2/cache/cacheable_model/no_method_errors.rb +0 -9
- data/spec/helpers/repos/test2/cache/cacheable_model/syntax_errors.rb +0 -7
- data/spec/helpers/repos/test2/cache/cacheable_model/two.rb +0 -15
- data/spec/helpers/repos/test2/cache/cacheable_model/validation_errors.rb +0 -9
- data/spec/model/cacheable_spec.rb +0 -96
- 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,'
|
12
|
-
:name => '
|
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,'
|
18
|
-
:uri => 'git@
|
19
|
-
:
|
20
|
-
:
|
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,'
|
26
|
-
:uri => 'git@github.com/path/to/
|
27
|
-
:
|
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,'
|
33
|
-
:uri => 'git@github.com/path/to/
|
34
|
-
:name => '
|
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.
|
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-
|
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:
|
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.
|
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:
|
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.
|
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.
|
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-
|
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.
|
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-
|
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-
|
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.
|
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:
|
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:
|
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:
|
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.
|
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: &
|
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: *
|
312
|
+
version_requirements: *id026
|
331
313
|
- !ruby/object:Gem::Dependency
|
332
314
|
name: yard
|
333
|
-
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: *
|
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: &
|
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: *
|
334
|
+
version_requirements: *id028
|
364
335
|
- !ruby/object:Gem::Dependency
|
365
336
|
name: yard-dm-is-predefined
|
366
|
-
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: *
|
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-
|
351
|
+
- ronin-emails
|
388
352
|
- ronin-ips
|
389
|
-
- ronin-
|
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/
|
590
|
-
- spec/
|
591
|
-
- spec/
|
592
|
-
- spec/
|
593
|
-
- spec/
|
594
|
-
- spec/
|
595
|
-
- spec/
|
596
|
-
- spec/
|
597
|
-
- spec/helpers/repos/
|
598
|
-
- spec/helpers/repos/
|
599
|
-
- spec/helpers/repos/
|
600
|
-
- spec/helpers/repos/
|
601
|
-
- spec/helpers/repos/
|
602
|
-
- spec/helpers/repos/
|
603
|
-
- spec/helpers/repos/
|
604
|
-
- spec/helpers/repos/
|
605
|
-
- spec/helpers/repos/
|
606
|
-
- spec/helpers/repos/
|
607
|
-
- spec/helpers/repos/
|
608
|
-
- spec/helpers/repos/
|
609
|
-
- spec/helpers/repos/
|
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.
|
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/
|
704
|
-
- spec/
|
705
|
-
- spec/
|
706
|
-
- spec/
|
707
|
-
- spec/
|
708
|
-
- spec/
|
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/
|
718
|
-
- spec/
|
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/
|
721
|
-
- spec/model/
|
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/
|
728
|
-
- spec/
|
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/
|
734
|
-
- spec/
|
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
|