ronin 1.3.0 → 1.4.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.md +51 -1
- data/Gemfile +1 -1
- data/README.md +36 -41
- data/bin/ronin-install +25 -0
- data/bin/ronin-uninstall +25 -0
- data/bin/ronin-update +25 -0
- data/gemspec.yml +4 -4
- data/lib/bond/completions/ronin.rb +6 -5
- data/lib/ronin/address.rb +0 -2
- data/lib/ronin/auto_load.rb +4 -5
- data/lib/ronin/campaign.rb +1 -0
- data/lib/ronin/credential.rb +6 -5
- data/lib/ronin/database/database.rb +1 -0
- data/lib/ronin/email_address.rb +28 -3
- data/lib/ronin/environment.rb +3 -6
- data/lib/ronin/host_name.rb +1 -3
- data/lib/ronin/host_name_ip_address.rb +0 -2
- data/lib/ronin/ip_address.rb +1 -4
- data/lib/ronin/ip_address_mac_address.rb +0 -2
- data/lib/ronin/mac_address.rb +0 -2
- data/lib/ronin/model/has_unique_name.rb +17 -0
- data/lib/ronin/open_port.rb +0 -4
- data/lib/ronin/organization.rb +0 -1
- data/lib/ronin/os.rb +0 -2
- data/lib/ronin/os_guess.rb +0 -2
- data/lib/ronin/password.rb +17 -1
- data/lib/ronin/port.rb +34 -1
- data/lib/ronin/repository.rb +31 -25
- data/lib/ronin/script/buildable.rb +19 -4
- data/lib/ronin/script/deployable.rb +7 -8
- data/lib/ronin/script/exceptions.rb +1 -0
- data/lib/ronin/script/exceptions/build_failed.rb +27 -0
- data/lib/ronin/script/path.rb +28 -11
- data/lib/ronin/script/script.rb +17 -14
- data/lib/ronin/script/testable.rb +3 -3
- data/lib/ronin/service.rb +0 -1
- data/lib/ronin/service_credential.rb +0 -1
- data/lib/ronin/software.rb +0 -1
- data/lib/ronin/target.rb +0 -2
- data/lib/ronin/tcp_port.rb +0 -1
- data/lib/ronin/ui/cli/class_command.rb +130 -0
- data/lib/ronin/ui/cli/command.rb +344 -159
- data/lib/ronin/ui/cli/commands/campaigns.rb +39 -29
- data/lib/ronin/ui/cli/commands/console.rb +24 -15
- data/lib/ronin/ui/cli/commands/creds.rb +14 -12
- data/lib/ronin/ui/cli/commands/database.rb +63 -46
- data/lib/ronin/ui/cli/commands/emails.rb +15 -15
- data/lib/ronin/ui/cli/commands/help.rb +6 -5
- data/lib/ronin/ui/cli/commands/hosts.rb +24 -24
- data/lib/ronin/ui/cli/commands/install.rb +104 -0
- data/lib/ronin/ui/cli/commands/ips.rb +23 -23
- data/lib/ronin/ui/cli/commands/repos.rb +69 -182
- data/lib/ronin/ui/cli/commands/uninstall.rb +65 -0
- data/lib/ronin/ui/cli/commands/update.rb +100 -0
- data/lib/ronin/ui/cli/commands/urls.rb +24 -24
- data/lib/ronin/ui/cli/model_command.rb +8 -6
- data/lib/ronin/ui/cli/printing.rb +167 -0
- data/lib/ronin/ui/cli/resources_command.rb +21 -13
- data/lib/ronin/ui/cli/script_command.rb +126 -24
- data/lib/ronin/ui/console/commands.rb +4 -1
- data/lib/ronin/ui/console/console.rb +1 -1
- data/lib/ronin/ui/console/context.rb +1 -1
- data/lib/ronin/url.rb +24 -5
- data/lib/ronin/url_query_param.rb +0 -1
- data/lib/ronin/version.rb +1 -1
- data/lib/ronin/web_credential.rb +0 -5
- data/spec/email_address_spec.rb +17 -0
- data/spec/installation_spec.rb +24 -34
- data/spec/model/has_authors_spec.rb +1 -1
- data/spec/model/has_description_spec.rb +1 -1
- data/spec/model/has_license_spec.rb +1 -1
- data/spec/model/has_name_spec.rb +1 -1
- data/spec/model/has_title_spec.rb +1 -1
- data/spec/model/has_version_spec.rb +1 -1
- data/spec/model/model_spec.rb +1 -1
- data/spec/repository_spec.rb +9 -9
- data/spec/script/script_spec.rb +2 -4
- data/spec/spec_helper.rb +16 -0
- data/spec/ui/cli/classes/test_command.rb +7 -3
- data/spec/ui/cli/command_spec.rb +37 -5
- metadata +82 -73
- data/spec/model/spec_helper.rb +0 -20
data/spec/model/model_spec.rb
CHANGED
data/spec/repository_spec.rb
CHANGED
@@ -35,48 +35,48 @@ describe Repository do
|
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
38
|
-
describe "add
|
38
|
+
describe "add" do
|
39
39
|
it "should not add Repositorys without a path property" do
|
40
40
|
lambda {
|
41
|
-
subject.add
|
41
|
+
subject.add
|
42
42
|
}.should raise_error(ArgumentError)
|
43
43
|
end
|
44
44
|
|
45
45
|
it "should not add Repositorys that do not point to a directory" do
|
46
46
|
lambda {
|
47
|
-
subject.add
|
47
|
+
subject.add(:path => 'path/to/nowhere')
|
48
48
|
}.should raise_error(RepositoryNotFound)
|
49
49
|
end
|
50
50
|
|
51
51
|
it "should not allow adding an Repository from the same path twice" do
|
52
52
|
lambda {
|
53
|
-
subject.add
|
53
|
+
subject.add(:path => repository('local').path)
|
54
54
|
}.should raise_error(DuplicateRepository)
|
55
55
|
end
|
56
56
|
|
57
57
|
it "should not allow adding an Repository that was already installed" do
|
58
58
|
lambda {
|
59
|
-
subject.add
|
59
|
+
subject.add(:path => repository('installed').path)
|
60
60
|
}.should raise_error(DuplicateRepository)
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
-
describe "install
|
64
|
+
describe "install" do
|
65
65
|
it "should not allow installing an Repository with no URI" do
|
66
66
|
lambda {
|
67
|
-
subject.install
|
67
|
+
subject.install
|
68
68
|
}.should raise_error(ArgumentError)
|
69
69
|
end
|
70
70
|
|
71
71
|
it "should not allow installing an Repository that was already added" do
|
72
72
|
lambda {
|
73
|
-
subject.install
|
73
|
+
subject.install(:uri => repository('remote').uri)
|
74
74
|
}.should raise_error(DuplicateRepository)
|
75
75
|
end
|
76
76
|
|
77
77
|
it "should not allow installing an Repository from the same URI twice" do
|
78
78
|
lambda {
|
79
|
-
subject.install
|
79
|
+
subject.install(:uri => repository('installed').uri)
|
80
80
|
}.should raise_error(DuplicateRepository)
|
81
81
|
end
|
82
82
|
end
|
data/spec/script/script_spec.rb
CHANGED
@@ -73,10 +73,8 @@ describe Script do
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
-
it "should have an
|
77
|
-
|
78
|
-
|
79
|
-
resource.script_type.should == 'MyScript'
|
76
|
+
it "should have an short-name" do
|
77
|
+
subject.short_name.should == 'MyScript'
|
80
78
|
end
|
81
79
|
|
82
80
|
describe "load_from" do
|
data/spec/spec_helper.rb
CHANGED
@@ -1,4 +1,11 @@
|
|
1
1
|
require 'rspec'
|
2
|
+
require 'model/models/basic_model'
|
3
|
+
require 'model/models/custom_model'
|
4
|
+
require 'model/models/authored_model'
|
5
|
+
require 'model/models/described_model'
|
6
|
+
require 'model/models/licensed_model'
|
7
|
+
require 'model/models/named_model'
|
8
|
+
require 'model/models/titled_model'
|
2
9
|
require 'helpers/repositories'
|
3
10
|
|
4
11
|
require 'ronin/spec/database'
|
@@ -7,8 +14,17 @@ include Ronin
|
|
7
14
|
|
8
15
|
RSpec.configure do |spec|
|
9
16
|
spec.before(:suite) do
|
17
|
+
BasicModel.auto_migrate!
|
18
|
+
CustomModel.auto_migrate!
|
19
|
+
AuthoredModel.auto_migrate!
|
20
|
+
DescribedModel.auto_migrate!
|
21
|
+
LicensedModel.auto_migrate!
|
22
|
+
NamedModel.auto_migrate!
|
23
|
+
TitledModel.auto_migrate!
|
10
24
|
MyScript.auto_migrate!
|
25
|
+
end
|
11
26
|
|
27
|
+
spec.before(:suite) do
|
12
28
|
Repository.create(
|
13
29
|
:path => File.join(Helpers::Repositories::DIR,'local'),
|
14
30
|
:name => 'local',
|
@@ -2,12 +2,16 @@ require 'ronin/ui/cli/command'
|
|
2
2
|
|
3
3
|
class TestCommand < Ronin::UI::CLI::Command
|
4
4
|
|
5
|
-
|
5
|
+
summary 'Tests the default task'
|
6
6
|
|
7
|
-
|
7
|
+
option :foo
|
8
|
+
|
9
|
+
argument :path
|
10
|
+
|
11
|
+
argument :files, :type => Array
|
8
12
|
|
9
13
|
def execute
|
10
|
-
if
|
14
|
+
if @foo
|
11
15
|
'foo task'
|
12
16
|
else
|
13
17
|
'default task'
|
data/spec/ui/cli/command_spec.rb
CHANGED
@@ -10,14 +10,46 @@ describe UI::CLI::Command do
|
|
10
10
|
subject.command_name.should == 'test_command'
|
11
11
|
end
|
12
12
|
|
13
|
-
|
14
|
-
|
13
|
+
describe "#run" do
|
14
|
+
it "should allow running the command with options" do
|
15
|
+
command = subject.new
|
16
|
+
value = 'bar'
|
17
|
+
|
18
|
+
command.run(:foo => value)
|
19
|
+
|
20
|
+
command.foo.should == value
|
21
|
+
end
|
15
22
|
end
|
16
23
|
|
17
|
-
|
18
|
-
|
24
|
+
describe "#start" do
|
25
|
+
subject { TestCommand.new }
|
26
|
+
|
27
|
+
it "should parse options" do
|
28
|
+
value = 'baz'
|
29
|
+
subject.start(['--foo', value])
|
30
|
+
|
31
|
+
subject.foo.should == value
|
32
|
+
end
|
33
|
+
|
34
|
+
it "should parse additional arguments" do
|
35
|
+
path = 'to/file.txt'
|
36
|
+
|
37
|
+
subject.start([path])
|
38
|
+
|
39
|
+
subject.path.should == path
|
40
|
+
end
|
41
|
+
|
42
|
+
it "should parse additional arguments into an Array/Set argument" do
|
43
|
+
value = 'bax'
|
44
|
+
path = 'to/file.txt'
|
45
|
+
files = ['one.txt', 'two.txt']
|
46
|
+
|
47
|
+
subject.start(['--foo', value, path, *files])
|
19
48
|
|
20
|
-
|
49
|
+
subject.foo.should == value
|
50
|
+
subject.path.should == path
|
51
|
+
subject.files.should == files
|
52
|
+
end
|
21
53
|
end
|
22
54
|
|
23
55
|
it "should have zero indentation by default" do
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.4.0.rc1
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Postmodern
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-12-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dm-sqlite-adapter
|
16
|
-
requirement: &
|
16
|
+
requirement: &12946100 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '1.2'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *12946100
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: dm-core
|
27
|
-
requirement: &
|
27
|
+
requirement: &12945320 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '1.2'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *12945320
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: dm-types
|
38
|
-
requirement: &
|
38
|
+
requirement: &12944360 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '1.2'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *12944360
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: dm-constraints
|
49
|
-
requirement: &
|
49
|
+
requirement: &12943840 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '1.2'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *12943840
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: dm-migrations
|
60
|
-
requirement: &
|
60
|
+
requirement: &12943340 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '1.2'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *12943340
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: dm-validations
|
71
|
-
requirement: &
|
71
|
+
requirement: &12942740 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ~>
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '1.2'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *12942740
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: dm-serializer
|
82
|
-
requirement: &
|
82
|
+
requirement: &12942260 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '1.2'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *12942260
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: dm-aggregates
|
93
|
-
requirement: &
|
93
|
+
requirement: &12941760 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ~>
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '1.2'
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *12941760
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: dm-timestamps
|
104
|
-
requirement: &
|
104
|
+
requirement: &12941260 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '1.2'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *12941260
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: dm-is-predefined
|
115
|
-
requirement: &
|
115
|
+
requirement: &12940760 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ~>
|
@@ -120,35 +120,32 @@ dependencies:
|
|
120
120
|
version: '0.4'
|
121
121
|
type: :runtime
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *12940760
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: uri-query_params
|
126
|
-
requirement: &
|
126
|
+
requirement: &12940280 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ~>
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: '0.
|
132
|
-
- - ! '>='
|
133
|
-
- !ruby/object:Gem::Version
|
134
|
-
version: 0.5.2
|
131
|
+
version: '0.6'
|
135
132
|
type: :runtime
|
136
133
|
prerelease: false
|
137
|
-
version_requirements: *
|
134
|
+
version_requirements: *12940280
|
138
135
|
- !ruby/object:Gem::Dependency
|
139
136
|
name: open_namespace
|
140
|
-
requirement: &
|
137
|
+
requirement: &12939760 !ruby/object:Gem::Requirement
|
141
138
|
none: false
|
142
139
|
requirements:
|
143
140
|
- - ~>
|
144
141
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0.
|
142
|
+
version: '0.4'
|
146
143
|
type: :runtime
|
147
144
|
prerelease: false
|
148
|
-
version_requirements: *
|
145
|
+
version_requirements: *12939760
|
149
146
|
- !ruby/object:Gem::Dependency
|
150
147
|
name: data_paths
|
151
|
-
requirement: &
|
148
|
+
requirement: &12939260 !ruby/object:Gem::Requirement
|
152
149
|
none: false
|
153
150
|
requirements:
|
154
151
|
- - ~>
|
@@ -156,10 +153,10 @@ dependencies:
|
|
156
153
|
version: '0.3'
|
157
154
|
type: :runtime
|
158
155
|
prerelease: false
|
159
|
-
version_requirements: *
|
156
|
+
version_requirements: *12939260
|
160
157
|
- !ruby/object:Gem::Dependency
|
161
158
|
name: object_loader
|
162
|
-
requirement: &
|
159
|
+
requirement: &12938660 !ruby/object:Gem::Requirement
|
163
160
|
none: false
|
164
161
|
requirements:
|
165
162
|
- - ~>
|
@@ -167,10 +164,21 @@ dependencies:
|
|
167
164
|
version: '1.0'
|
168
165
|
type: :runtime
|
169
166
|
prerelease: false
|
170
|
-
version_requirements: *
|
167
|
+
version_requirements: *12938660
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: parameters
|
170
|
+
requirement: &12937940 !ruby/object:Gem::Requirement
|
171
|
+
none: false
|
172
|
+
requirements:
|
173
|
+
- - ~>
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '0.4'
|
176
|
+
type: :runtime
|
177
|
+
prerelease: false
|
178
|
+
version_requirements: *12937940
|
171
179
|
- !ruby/object:Gem::Dependency
|
172
180
|
name: env
|
173
|
-
requirement: &
|
181
|
+
requirement: &12936920 !ruby/object:Gem::Requirement
|
174
182
|
none: false
|
175
183
|
requirements:
|
176
184
|
- - ~>
|
@@ -178,10 +186,10 @@ dependencies:
|
|
178
186
|
version: '0.2'
|
179
187
|
type: :runtime
|
180
188
|
prerelease: false
|
181
|
-
version_requirements: *
|
189
|
+
version_requirements: *12936920
|
182
190
|
- !ruby/object:Gem::Dependency
|
183
191
|
name: pullr
|
184
|
-
requirement: &
|
192
|
+
requirement: &12936340 !ruby/object:Gem::Requirement
|
185
193
|
none: false
|
186
194
|
requirements:
|
187
195
|
- - ~>
|
@@ -192,10 +200,10 @@ dependencies:
|
|
192
200
|
version: 0.1.2
|
193
201
|
type: :runtime
|
194
202
|
prerelease: false
|
195
|
-
version_requirements: *
|
203
|
+
version_requirements: *12936340
|
196
204
|
- !ruby/object:Gem::Dependency
|
197
205
|
name: ripl
|
198
|
-
requirement: &
|
206
|
+
requirement: &12935480 !ruby/object:Gem::Requirement
|
199
207
|
none: false
|
200
208
|
requirements:
|
201
209
|
- - ~>
|
@@ -203,10 +211,10 @@ dependencies:
|
|
203
211
|
version: '0.3'
|
204
212
|
type: :runtime
|
205
213
|
prerelease: false
|
206
|
-
version_requirements: *
|
214
|
+
version_requirements: *12935480
|
207
215
|
- !ruby/object:Gem::Dependency
|
208
216
|
name: ripl-multi_line
|
209
|
-
requirement: &
|
217
|
+
requirement: &12935000 !ruby/object:Gem::Requirement
|
210
218
|
none: false
|
211
219
|
requirements:
|
212
220
|
- - ~>
|
@@ -214,10 +222,10 @@ dependencies:
|
|
214
222
|
version: '0.2'
|
215
223
|
type: :runtime
|
216
224
|
prerelease: false
|
217
|
-
version_requirements: *
|
225
|
+
version_requirements: *12935000
|
218
226
|
- !ruby/object:Gem::Dependency
|
219
227
|
name: ripl-auto_indent
|
220
|
-
requirement: &
|
228
|
+
requirement: &12934520 !ruby/object:Gem::Requirement
|
221
229
|
none: false
|
222
230
|
requirements:
|
223
231
|
- - ~>
|
@@ -225,10 +233,10 @@ dependencies:
|
|
225
233
|
version: '0.1'
|
226
234
|
type: :runtime
|
227
235
|
prerelease: false
|
228
|
-
version_requirements: *
|
236
|
+
version_requirements: *12934520
|
229
237
|
- !ruby/object:Gem::Dependency
|
230
238
|
name: ripl-short_errors
|
231
|
-
requirement: &
|
239
|
+
requirement: &12934000 !ruby/object:Gem::Requirement
|
232
240
|
none: false
|
233
241
|
requirements:
|
234
242
|
- - ~>
|
@@ -236,10 +244,10 @@ dependencies:
|
|
236
244
|
version: '0.1'
|
237
245
|
type: :runtime
|
238
246
|
prerelease: false
|
239
|
-
version_requirements: *
|
247
|
+
version_requirements: *12934000
|
240
248
|
- !ruby/object:Gem::Dependency
|
241
249
|
name: ripl-color_result
|
242
|
-
requirement: &
|
250
|
+
requirement: &12933480 !ruby/object:Gem::Requirement
|
243
251
|
none: false
|
244
252
|
requirements:
|
245
253
|
- - ~>
|
@@ -247,32 +255,21 @@ dependencies:
|
|
247
255
|
version: '0.3'
|
248
256
|
type: :runtime
|
249
257
|
prerelease: false
|
250
|
-
version_requirements: *
|
251
|
-
- !ruby/object:Gem::Dependency
|
252
|
-
name: thor
|
253
|
-
requirement: &27226480 !ruby/object:Gem::Requirement
|
254
|
-
none: false
|
255
|
-
requirements:
|
256
|
-
- - ~>
|
257
|
-
- !ruby/object:Gem::Version
|
258
|
-
version: 0.14.3
|
259
|
-
type: :runtime
|
260
|
-
prerelease: false
|
261
|
-
version_requirements: *27226480
|
258
|
+
version_requirements: *12933480
|
262
259
|
- !ruby/object:Gem::Dependency
|
263
260
|
name: ronin-support
|
264
|
-
requirement: &
|
261
|
+
requirement: &12932980 !ruby/object:Gem::Requirement
|
265
262
|
none: false
|
266
263
|
requirements:
|
267
264
|
- - ~>
|
268
265
|
- !ruby/object:Gem::Version
|
269
|
-
version:
|
266
|
+
version: 0.4.0.rc1
|
270
267
|
type: :runtime
|
271
268
|
prerelease: false
|
272
|
-
version_requirements: *
|
269
|
+
version_requirements: *12932980
|
273
270
|
- !ruby/object:Gem::Dependency
|
274
271
|
name: bundler
|
275
|
-
requirement: &
|
272
|
+
requirement: &12932340 !ruby/object:Gem::Requirement
|
276
273
|
none: false
|
277
274
|
requirements:
|
278
275
|
- - ~>
|
@@ -280,10 +277,10 @@ dependencies:
|
|
280
277
|
version: 1.0.10
|
281
278
|
type: :development
|
282
279
|
prerelease: false
|
283
|
-
version_requirements: *
|
280
|
+
version_requirements: *12932340
|
284
281
|
- !ruby/object:Gem::Dependency
|
285
282
|
name: yard
|
286
|
-
requirement: &
|
283
|
+
requirement: &12931660 !ruby/object:Gem::Requirement
|
287
284
|
none: false
|
288
285
|
requirements:
|
289
286
|
- - ~>
|
@@ -291,10 +288,10 @@ dependencies:
|
|
291
288
|
version: 0.7.0
|
292
289
|
type: :development
|
293
290
|
prerelease: false
|
294
|
-
version_requirements: *
|
291
|
+
version_requirements: *12931660
|
295
292
|
- !ruby/object:Gem::Dependency
|
296
293
|
name: yard-dm
|
297
|
-
requirement: &
|
294
|
+
requirement: &12930700 !ruby/object:Gem::Requirement
|
298
295
|
none: false
|
299
296
|
requirements:
|
300
297
|
- - ~>
|
@@ -302,10 +299,10 @@ dependencies:
|
|
302
299
|
version: 0.1.1
|
303
300
|
type: :development
|
304
301
|
prerelease: false
|
305
|
-
version_requirements: *
|
302
|
+
version_requirements: *12930700
|
306
303
|
- !ruby/object:Gem::Dependency
|
307
304
|
name: yard-dm-is-predefined
|
308
|
-
requirement: &
|
305
|
+
requirement: &12913700 !ruby/object:Gem::Requirement
|
309
306
|
none: false
|
310
307
|
requirements:
|
311
308
|
- - ~>
|
@@ -313,7 +310,7 @@ dependencies:
|
|
313
310
|
version: 0.2.0
|
314
311
|
type: :development
|
315
312
|
prerelease: false
|
316
|
-
version_requirements: *
|
313
|
+
version_requirements: *12913700
|
317
314
|
description: Ronin is a Ruby platform for exploit development and security research.
|
318
315
|
Ronin allows for the rapid development and distribution of code, exploits or payloads
|
319
316
|
over many common Source-Code-Management (SCM) systems.
|
@@ -328,8 +325,11 @@ executables:
|
|
328
325
|
- ronin-exec
|
329
326
|
- ronin-help
|
330
327
|
- ronin-hosts
|
328
|
+
- ronin-install
|
331
329
|
- ronin-ips
|
332
330
|
- ronin-repos
|
331
|
+
- ronin-uninstall
|
332
|
+
- ronin-update
|
333
333
|
- ronin-urls
|
334
334
|
extensions: []
|
335
335
|
extra_rdoc_files: []
|
@@ -353,8 +353,11 @@ files:
|
|
353
353
|
- bin/ronin-exec
|
354
354
|
- bin/ronin-help
|
355
355
|
- bin/ronin-hosts
|
356
|
+
- bin/ronin-install
|
356
357
|
- bin/ronin-ips
|
357
358
|
- bin/ronin-repos
|
359
|
+
- bin/ronin-uninstall
|
360
|
+
- bin/ronin-update
|
358
361
|
- bin/ronin-urls
|
359
362
|
- gemspec.yml
|
360
363
|
- lib/bond/completions/ronin.rb
|
@@ -418,6 +421,7 @@ files:
|
|
418
421
|
- lib/ronin/script/buildable.rb
|
419
422
|
- lib/ronin/script/deployable.rb
|
420
423
|
- lib/ronin/script/exceptions.rb
|
424
|
+
- lib/ronin/script/exceptions/build_failed.rb
|
421
425
|
- lib/ronin/script/exceptions/deploy_failed.rb
|
422
426
|
- lib/ronin/script/exceptions/exception.rb
|
423
427
|
- lib/ronin/script/exceptions/not_built.rb
|
@@ -434,6 +438,7 @@ files:
|
|
434
438
|
- lib/ronin/udp_port.rb
|
435
439
|
- lib/ronin/ui.rb
|
436
440
|
- lib/ronin/ui/cli.rb
|
441
|
+
- lib/ronin/ui/cli/class_command.rb
|
437
442
|
- lib/ronin/ui/cli/cli.rb
|
438
443
|
- lib/ronin/ui/cli/command.rb
|
439
444
|
- lib/ronin/ui/cli/commands.rb
|
@@ -445,12 +450,16 @@ files:
|
|
445
450
|
- lib/ronin/ui/cli/commands/exec.rb
|
446
451
|
- lib/ronin/ui/cli/commands/help.rb
|
447
452
|
- lib/ronin/ui/cli/commands/hosts.rb
|
453
|
+
- lib/ronin/ui/cli/commands/install.rb
|
448
454
|
- lib/ronin/ui/cli/commands/ips.rb
|
449
455
|
- lib/ronin/ui/cli/commands/repos.rb
|
456
|
+
- lib/ronin/ui/cli/commands/uninstall.rb
|
457
|
+
- lib/ronin/ui/cli/commands/update.rb
|
450
458
|
- lib/ronin/ui/cli/commands/urls.rb
|
451
459
|
- lib/ronin/ui/cli/exceptions.rb
|
452
460
|
- lib/ronin/ui/cli/exceptions/unknown_command.rb
|
453
461
|
- lib/ronin/ui/cli/model_command.rb
|
462
|
+
- lib/ronin/ui/cli/printing.rb
|
454
463
|
- lib/ronin/ui/cli/resources_command.rb
|
455
464
|
- lib/ronin/ui/cli/script_command.rb
|
456
465
|
- lib/ronin/ui/console.rb
|
@@ -515,7 +524,6 @@ files:
|
|
515
524
|
- spec/model/models/named_model.rb
|
516
525
|
- spec/model/models/titled_model.rb
|
517
526
|
- spec/model/models/versioned_model.rb
|
518
|
-
- spec/model/spec_helper.rb
|
519
527
|
- spec/os_spec.rb
|
520
528
|
- spec/password_spec.rb
|
521
529
|
- spec/port_spec.rb
|
@@ -604,3 +612,4 @@ test_files:
|
|
604
612
|
- spec/url_scheme_spec.rb
|
605
613
|
- spec/url_spec.rb
|
606
614
|
- spec/vendor_spec.rb
|
615
|
+
has_rdoc:
|