ronin 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.md +23 -0
- data/README.md +19 -13
- data/Rakefile +2 -1
- data/gemspec.yml +18 -17
- data/lib/bond/completions/ronin.rb +147 -0
- data/lib/ronin/auto_load.rb +30 -28
- data/lib/ronin/database/migrations/1.0.0.rb +1 -0
- data/lib/ronin/model/has_authors.rb +92 -2
- data/lib/ronin/model/has_description.rb +54 -2
- data/lib/ronin/model/has_license.rb +101 -2
- data/lib/ronin/model/has_name.rb +72 -2
- data/lib/ronin/model/has_title.rb +52 -2
- data/lib/ronin/model/has_unique_name.rb +93 -2
- data/lib/ronin/model/has_version.rb +58 -2
- data/lib/ronin/model/model.rb +91 -52
- data/lib/ronin/os.rb +30 -15
- data/lib/ronin/repository.rb +1 -1
- data/lib/ronin/ronin.rb +0 -15
- data/lib/ronin/script/script.rb +257 -2
- data/lib/ronin/ui/console.rb +2 -199
- data/lib/ronin/ui/console/commands.rb +164 -0
- data/lib/ronin/ui/console/console.rb +215 -0
- data/lib/ronin/ui/console/context.rb +95 -0
- data/lib/ronin/version.rb +1 -1
- data/spec/os_spec.rb +18 -13
- metadata +206 -239
- data/lib/ronin/class_methods.rb +0 -49
- data/lib/ronin/model/class_methods.rb +0 -58
- data/lib/ronin/model/has_authors/class_methods.rb +0 -60
- data/lib/ronin/model/has_authors/has_authors.rb +0 -70
- data/lib/ronin/model/has_description/class_methods.rb +0 -49
- data/lib/ronin/model/has_description/has_description.rb +0 -49
- data/lib/ronin/model/has_license/class_methods.rb +0 -68
- data/lib/ronin/model/has_license/has_license.rb +0 -71
- data/lib/ronin/model/has_name/class_methods.rb +0 -48
- data/lib/ronin/model/has_name/has_name.rb +0 -62
- data/lib/ronin/model/has_title/class_methods.rb +0 -48
- data/lib/ronin/model/has_title/has_title.rb +0 -48
- data/lib/ronin/model/has_unique_name/class_methods.rb +0 -51
- data/lib/ronin/model/has_unique_name/has_unique_name.rb +0 -78
- data/lib/ronin/model/has_version/class_methods.rb +0 -54
- data/lib/ronin/model/has_version/has_version.rb +0 -48
- data/lib/ronin/script/class_methods.rb +0 -84
- data/lib/ronin/script/instance_methods.rb +0 -217
@@ -0,0 +1,95 @@
|
|
1
|
+
#
|
2
|
+
# Copyright (c) 2006-2011 Hal Brodigan (postmodern.mod3 at gmail.com)
|
3
|
+
#
|
4
|
+
# This file is part of Ronin.
|
5
|
+
#
|
6
|
+
# Ronin is free software: you can redistribute it and/or modify
|
7
|
+
# it under the terms of the GNU General Public License as published by
|
8
|
+
# the Free Software Foundation, either version 3 of the License, or
|
9
|
+
# (at your option) any later version.
|
10
|
+
#
|
11
|
+
# Ronin is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU General Public License
|
17
|
+
# along with Ronin. If not, see <http://www.gnu.org/licenses/>.
|
18
|
+
#
|
19
|
+
|
20
|
+
module Ronin
|
21
|
+
module UI
|
22
|
+
module Console
|
23
|
+
#
|
24
|
+
# @since 1.2.0
|
25
|
+
#
|
26
|
+
class Context
|
27
|
+
|
28
|
+
#
|
29
|
+
# Creates a new {Console} context.
|
30
|
+
#
|
31
|
+
# @return [Class<Context>]
|
32
|
+
# A new context for the {Console}.
|
33
|
+
#
|
34
|
+
def self.new
|
35
|
+
class << super; self; end
|
36
|
+
end
|
37
|
+
|
38
|
+
class << self
|
39
|
+
#
|
40
|
+
# Catches missing constants and searches the {Ronin} namespace.
|
41
|
+
#
|
42
|
+
# @param [Symbol] name
|
43
|
+
# The constant name.
|
44
|
+
#
|
45
|
+
# @return [Object]
|
46
|
+
# The found constant.
|
47
|
+
#
|
48
|
+
# @raise [NameError]
|
49
|
+
# The constant could not be found within {Ronin}.
|
50
|
+
#
|
51
|
+
# @since 1.0.0
|
52
|
+
#
|
53
|
+
# @api semipublic
|
54
|
+
#
|
55
|
+
def self.const_missing(name)
|
56
|
+
Ronin.send(:const_missing,name)
|
57
|
+
end
|
58
|
+
|
59
|
+
#
|
60
|
+
# Populates the instance variables.
|
61
|
+
#
|
62
|
+
# @param [Hash] variables
|
63
|
+
# The variable naems and values.
|
64
|
+
#
|
65
|
+
def instance_variables=(variables)
|
66
|
+
variables.each do |name,value|
|
67
|
+
instance_variable_set("@#{name}".to_sym,value)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
#
|
72
|
+
# Inspects the console.
|
73
|
+
#
|
74
|
+
# @return [String]
|
75
|
+
# The inspected console.
|
76
|
+
#
|
77
|
+
# @since 1.0.0
|
78
|
+
#
|
79
|
+
# @api semipublic
|
80
|
+
#
|
81
|
+
def inspect
|
82
|
+
body = unless instance_variables.empty?
|
83
|
+
': ' << instance_variables.map { |name|
|
84
|
+
"#{name}=#{instance_variable_get(name).inspect}"
|
85
|
+
}.join(', ')
|
86
|
+
end
|
87
|
+
|
88
|
+
return "#<Ronin::UI::Console#{body}>"
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
data/lib/ronin/version.rb
CHANGED
data/spec/os_spec.rb
CHANGED
@@ -6,6 +6,20 @@ describe OS do
|
|
6
6
|
OS.new(:name => 'Linux', :version => '2.6.11')
|
7
7
|
end
|
8
8
|
|
9
|
+
describe "predefine" do
|
10
|
+
it "should provide methods for built-in OSes" do
|
11
|
+
os = OS.linux
|
12
|
+
|
13
|
+
os.name.should == 'Linux'
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should provide methods for creating OSes with versions" do
|
17
|
+
os = OS.linux('2.6.11')
|
18
|
+
|
19
|
+
os.version.should == '2.6.11'
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
9
23
|
it "should require a name" do
|
10
24
|
os = OS.new
|
11
25
|
os.should_not be_valid
|
@@ -14,12 +28,11 @@ describe OS do
|
|
14
28
|
os.should be_valid
|
15
29
|
end
|
16
30
|
|
17
|
-
it "should
|
18
|
-
|
19
|
-
end
|
31
|
+
it "should implicitly splat the name and version" do
|
32
|
+
name, version = subject
|
20
33
|
|
21
|
-
|
22
|
-
|
34
|
+
name.should == subject.name
|
35
|
+
version.should == subject.version
|
23
36
|
end
|
24
37
|
|
25
38
|
describe "#to_s" do
|
@@ -35,12 +48,4 @@ describe OS do
|
|
35
48
|
os.to_s.should == os.name
|
36
49
|
end
|
37
50
|
end
|
38
|
-
|
39
|
-
it "should implicitly splat the name and version" do
|
40
|
-
os = OS.new(:name => 'Linux', :version => '2.6.23')
|
41
|
-
name, version = os
|
42
|
-
|
43
|
-
name.should == os.name
|
44
|
-
version.should == os.version
|
45
|
-
end
|
46
51
|
end
|
metadata
CHANGED
@@ -1,341 +1,340 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ronin
|
3
|
-
version: !ruby/object:Gem::Version
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.2.0
|
4
5
|
prerelease:
|
5
|
-
version: 1.1.0
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- Postmodern
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2011-08-15 00:00:00.000000000 -07:00
|
13
|
+
default_executable: ronin
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
16
|
name: dm-sqlite-adapter
|
17
|
-
requirement: &
|
17
|
+
requirement: &20347180 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
|
-
requirements:
|
19
|
+
requirements:
|
20
20
|
- - ~>
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 1.1
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
26
|
-
- !ruby/object:Gem::Dependency
|
25
|
+
version_requirements: *20347180
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
27
|
name: dm-core
|
28
|
-
requirement: &
|
28
|
+
requirement: &20346120 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
|
-
requirements:
|
30
|
+
requirements:
|
31
31
|
- - ~>
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.1
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
37
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *20346120
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
38
|
name: dm-types
|
39
|
-
requirement: &
|
39
|
+
requirement: &20344860 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
|
-
requirements:
|
41
|
+
requirements:
|
42
42
|
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
version: 1.1
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '1.1'
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
|
-
version_requirements: *
|
48
|
-
- !ruby/object:Gem::Dependency
|
47
|
+
version_requirements: *20344860
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
49
|
name: dm-constraints
|
50
|
-
requirement: &
|
50
|
+
requirement: &20314520 !ruby/object:Gem::Requirement
|
51
51
|
none: false
|
52
|
-
requirements:
|
52
|
+
requirements:
|
53
53
|
- - ~>
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: 1.1
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.1'
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
|
-
version_requirements: *
|
59
|
-
- !ruby/object:Gem::Dependency
|
58
|
+
version_requirements: *20314520
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
60
|
name: dm-migrations
|
61
|
-
requirement: &
|
61
|
+
requirement: &20313780 !ruby/object:Gem::Requirement
|
62
62
|
none: false
|
63
|
-
requirements:
|
63
|
+
requirements:
|
64
64
|
- - ~>
|
65
|
-
- !ruby/object:Gem::Version
|
66
|
-
version: 1.1
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '1.1'
|
67
67
|
type: :runtime
|
68
68
|
prerelease: false
|
69
|
-
version_requirements: *
|
70
|
-
- !ruby/object:Gem::Dependency
|
69
|
+
version_requirements: *20313780
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
71
|
name: dm-validations
|
72
|
-
requirement: &
|
72
|
+
requirement: &20312700 !ruby/object:Gem::Requirement
|
73
73
|
none: false
|
74
|
-
requirements:
|
74
|
+
requirements:
|
75
75
|
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: 1.1
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '1.1'
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
|
-
version_requirements: *
|
81
|
-
- !ruby/object:Gem::Dependency
|
80
|
+
version_requirements: *20312700
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
82
|
name: dm-serializer
|
83
|
-
requirement: &
|
83
|
+
requirement: &20311780 !ruby/object:Gem::Requirement
|
84
84
|
none: false
|
85
|
-
requirements:
|
85
|
+
requirements:
|
86
86
|
- - ~>
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: 1.1
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '1.1'
|
89
89
|
type: :runtime
|
90
90
|
prerelease: false
|
91
|
-
version_requirements: *
|
92
|
-
- !ruby/object:Gem::Dependency
|
91
|
+
version_requirements: *20311780
|
92
|
+
- !ruby/object:Gem::Dependency
|
93
93
|
name: dm-aggregates
|
94
|
-
requirement: &
|
94
|
+
requirement: &20311000 !ruby/object:Gem::Requirement
|
95
95
|
none: false
|
96
|
-
requirements:
|
96
|
+
requirements:
|
97
97
|
- - ~>
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: 1.1
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1.1'
|
100
100
|
type: :runtime
|
101
101
|
prerelease: false
|
102
|
-
version_requirements: *
|
103
|
-
- !ruby/object:Gem::Dependency
|
102
|
+
version_requirements: *20311000
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
104
|
name: dm-timestamps
|
105
|
-
requirement: &
|
105
|
+
requirement: &20310260 !ruby/object:Gem::Requirement
|
106
106
|
none: false
|
107
|
-
requirements:
|
107
|
+
requirements:
|
108
108
|
- - ~>
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 1.1
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.1'
|
111
111
|
type: :runtime
|
112
112
|
prerelease: false
|
113
|
-
version_requirements: *
|
114
|
-
- !ruby/object:Gem::Dependency
|
113
|
+
version_requirements: *20310260
|
114
|
+
- !ruby/object:Gem::Dependency
|
115
115
|
name: dm-is-predefined
|
116
|
-
requirement: &
|
116
|
+
requirement: &20309640 !ruby/object:Gem::Requirement
|
117
117
|
none: false
|
118
|
-
requirements:
|
119
|
-
- - ">="
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
version: 0.3.1
|
118
|
+
requirements:
|
122
119
|
- - ~>
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version:
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0.4'
|
125
122
|
type: :runtime
|
126
123
|
prerelease: false
|
127
|
-
version_requirements: *
|
128
|
-
- !ruby/object:Gem::Dependency
|
124
|
+
version_requirements: *20309640
|
125
|
+
- !ruby/object:Gem::Dependency
|
129
126
|
name: uri-query_params
|
130
|
-
requirement: &
|
127
|
+
requirement: &20308720 !ruby/object:Gem::Requirement
|
131
128
|
none: false
|
132
|
-
requirements:
|
133
|
-
- -
|
134
|
-
- !ruby/object:Gem::Version
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
135
132
|
version: 0.5.2
|
136
133
|
- - ~>
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version:
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0.5'
|
139
136
|
type: :runtime
|
140
137
|
prerelease: false
|
141
|
-
version_requirements: *
|
142
|
-
- !ruby/object:Gem::Dependency
|
138
|
+
version_requirements: *20308720
|
139
|
+
- !ruby/object:Gem::Dependency
|
143
140
|
name: open_namespace
|
144
|
-
requirement: &
|
141
|
+
requirement: &20307500 !ruby/object:Gem::Requirement
|
145
142
|
none: false
|
146
|
-
requirements:
|
143
|
+
requirements:
|
147
144
|
- - ~>
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version:
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0.3'
|
150
147
|
type: :runtime
|
151
148
|
prerelease: false
|
152
|
-
version_requirements: *
|
153
|
-
- !ruby/object:Gem::Dependency
|
149
|
+
version_requirements: *20307500
|
150
|
+
- !ruby/object:Gem::Dependency
|
154
151
|
name: parameters
|
155
|
-
requirement: &
|
152
|
+
requirement: &20306620 !ruby/object:Gem::Requirement
|
156
153
|
none: false
|
157
|
-
requirements:
|
158
|
-
- -
|
159
|
-
- !ruby/object:Gem::Version
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
160
157
|
version: 0.2.3
|
161
158
|
- - ~>
|
162
|
-
- !ruby/object:Gem::Version
|
163
|
-
version:
|
159
|
+
- !ruby/object:Gem::Version
|
160
|
+
version: '0.2'
|
164
161
|
type: :runtime
|
165
162
|
prerelease: false
|
166
|
-
version_requirements: *
|
167
|
-
- !ruby/object:Gem::Dependency
|
163
|
+
version_requirements: *20306620
|
164
|
+
- !ruby/object:Gem::Dependency
|
168
165
|
name: data_paths
|
169
|
-
requirement: &
|
166
|
+
requirement: &20276080 !ruby/object:Gem::Requirement
|
170
167
|
none: false
|
171
|
-
requirements:
|
168
|
+
requirements:
|
172
169
|
- - ~>
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version:
|
170
|
+
- !ruby/object:Gem::Version
|
171
|
+
version: '0.3'
|
175
172
|
type: :runtime
|
176
173
|
prerelease: false
|
177
|
-
version_requirements: *
|
178
|
-
- !ruby/object:Gem::Dependency
|
174
|
+
version_requirements: *20276080
|
175
|
+
- !ruby/object:Gem::Dependency
|
179
176
|
name: object_loader
|
180
|
-
requirement: &
|
177
|
+
requirement: &20275260 !ruby/object:Gem::Requirement
|
181
178
|
none: false
|
182
|
-
requirements:
|
179
|
+
requirements:
|
183
180
|
- - ~>
|
184
|
-
- !ruby/object:Gem::Version
|
185
|
-
version:
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '1.0'
|
186
183
|
type: :runtime
|
187
184
|
prerelease: false
|
188
|
-
version_requirements: *
|
189
|
-
- !ruby/object:Gem::Dependency
|
185
|
+
version_requirements: *20275260
|
186
|
+
- !ruby/object:Gem::Dependency
|
190
187
|
name: env
|
191
|
-
requirement: &
|
188
|
+
requirement: &20274340 !ruby/object:Gem::Requirement
|
192
189
|
none: false
|
193
|
-
requirements:
|
190
|
+
requirements:
|
194
191
|
- - ~>
|
195
|
-
- !ruby/object:Gem::Version
|
196
|
-
version:
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '0.2'
|
197
194
|
type: :runtime
|
198
195
|
prerelease: false
|
199
|
-
version_requirements: *
|
200
|
-
- !ruby/object:Gem::Dependency
|
196
|
+
version_requirements: *20274340
|
197
|
+
- !ruby/object:Gem::Dependency
|
201
198
|
name: pullr
|
202
|
-
requirement: &
|
199
|
+
requirement: &20273260 !ruby/object:Gem::Requirement
|
203
200
|
none: false
|
204
|
-
requirements:
|
205
|
-
- -
|
206
|
-
- !ruby/object:Gem::Version
|
201
|
+
requirements:
|
202
|
+
- - ! '>='
|
203
|
+
- !ruby/object:Gem::Version
|
207
204
|
version: 0.1.2
|
208
205
|
- - ~>
|
209
|
-
- !ruby/object:Gem::Version
|
210
|
-
version:
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: '0.1'
|
211
208
|
type: :runtime
|
212
209
|
prerelease: false
|
213
|
-
version_requirements: *
|
214
|
-
- !ruby/object:Gem::Dependency
|
210
|
+
version_requirements: *20273260
|
211
|
+
- !ruby/object:Gem::Dependency
|
215
212
|
name: ripl
|
216
|
-
requirement: &
|
213
|
+
requirement: &20271640 !ruby/object:Gem::Requirement
|
217
214
|
none: false
|
218
|
-
requirements:
|
215
|
+
requirements:
|
219
216
|
- - ~>
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
version:
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: '0.3'
|
222
219
|
type: :runtime
|
223
220
|
prerelease: false
|
224
|
-
version_requirements: *
|
225
|
-
- !ruby/object:Gem::Dependency
|
221
|
+
version_requirements: *20271640
|
222
|
+
- !ruby/object:Gem::Dependency
|
226
223
|
name: ripl-multi_line
|
227
|
-
requirement: &
|
224
|
+
requirement: &20269900 !ruby/object:Gem::Requirement
|
228
225
|
none: false
|
229
|
-
requirements:
|
226
|
+
requirements:
|
230
227
|
- - ~>
|
231
|
-
- !ruby/object:Gem::Version
|
232
|
-
version:
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '0.2'
|
233
230
|
type: :runtime
|
234
231
|
prerelease: false
|
235
|
-
version_requirements: *
|
236
|
-
- !ruby/object:Gem::Dependency
|
232
|
+
version_requirements: *20269900
|
233
|
+
- !ruby/object:Gem::Dependency
|
237
234
|
name: ripl-auto_indent
|
238
|
-
requirement: &
|
235
|
+
requirement: &20243300 !ruby/object:Gem::Requirement
|
239
236
|
none: false
|
240
|
-
requirements:
|
237
|
+
requirements:
|
241
238
|
- - ~>
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
version:
|
239
|
+
- !ruby/object:Gem::Version
|
240
|
+
version: '0.1'
|
244
241
|
type: :runtime
|
245
242
|
prerelease: false
|
246
|
-
version_requirements: *
|
247
|
-
- !ruby/object:Gem::Dependency
|
243
|
+
version_requirements: *20243300
|
244
|
+
- !ruby/object:Gem::Dependency
|
248
245
|
name: ripl-short_errors
|
249
|
-
requirement: &
|
246
|
+
requirement: &20242120 !ruby/object:Gem::Requirement
|
250
247
|
none: false
|
251
|
-
requirements:
|
248
|
+
requirements:
|
252
249
|
- - ~>
|
253
|
-
- !ruby/object:Gem::Version
|
254
|
-
version:
|
250
|
+
- !ruby/object:Gem::Version
|
251
|
+
version: '0.1'
|
255
252
|
type: :runtime
|
256
253
|
prerelease: false
|
257
|
-
version_requirements: *
|
258
|
-
- !ruby/object:Gem::Dependency
|
254
|
+
version_requirements: *20242120
|
255
|
+
- !ruby/object:Gem::Dependency
|
259
256
|
name: ripl-color_result
|
260
|
-
requirement: &
|
257
|
+
requirement: &20240980 !ruby/object:Gem::Requirement
|
261
258
|
none: false
|
262
|
-
requirements:
|
259
|
+
requirements:
|
263
260
|
- - ~>
|
264
|
-
- !ruby/object:Gem::Version
|
265
|
-
version:
|
261
|
+
- !ruby/object:Gem::Version
|
262
|
+
version: '0.3'
|
266
263
|
type: :runtime
|
267
264
|
prerelease: false
|
268
|
-
version_requirements: *
|
269
|
-
- !ruby/object:Gem::Dependency
|
265
|
+
version_requirements: *20240980
|
266
|
+
- !ruby/object:Gem::Dependency
|
270
267
|
name: thor
|
271
|
-
requirement: &
|
268
|
+
requirement: &20240060 !ruby/object:Gem::Requirement
|
272
269
|
none: false
|
273
|
-
requirements:
|
270
|
+
requirements:
|
274
271
|
- - ~>
|
275
|
-
- !ruby/object:Gem::Version
|
272
|
+
- !ruby/object:Gem::Version
|
276
273
|
version: 0.14.3
|
277
274
|
type: :runtime
|
278
275
|
prerelease: false
|
279
|
-
version_requirements: *
|
280
|
-
- !ruby/object:Gem::Dependency
|
276
|
+
version_requirements: *20240060
|
277
|
+
- !ruby/object:Gem::Dependency
|
281
278
|
name: ronin-support
|
282
|
-
requirement: &
|
279
|
+
requirement: &20239020 !ruby/object:Gem::Requirement
|
283
280
|
none: false
|
284
|
-
requirements:
|
281
|
+
requirements:
|
285
282
|
- - ~>
|
286
|
-
- !ruby/object:Gem::Version
|
287
|
-
version:
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: '0.2'
|
288
285
|
type: :runtime
|
289
286
|
prerelease: false
|
290
|
-
version_requirements: *
|
291
|
-
- !ruby/object:Gem::Dependency
|
287
|
+
version_requirements: *20239020
|
288
|
+
- !ruby/object:Gem::Dependency
|
292
289
|
name: bundler
|
293
|
-
requirement: &
|
290
|
+
requirement: &20236000 !ruby/object:Gem::Requirement
|
294
291
|
none: false
|
295
|
-
requirements:
|
292
|
+
requirements:
|
296
293
|
- - ~>
|
297
|
-
- !ruby/object:Gem::Version
|
294
|
+
- !ruby/object:Gem::Version
|
298
295
|
version: 1.0.10
|
299
296
|
type: :development
|
300
297
|
prerelease: false
|
301
|
-
version_requirements: *
|
302
|
-
- !ruby/object:Gem::Dependency
|
298
|
+
version_requirements: *20236000
|
299
|
+
- !ruby/object:Gem::Dependency
|
303
300
|
name: yard
|
304
|
-
requirement: &
|
301
|
+
requirement: &20235100 !ruby/object:Gem::Requirement
|
305
302
|
none: false
|
306
|
-
requirements:
|
303
|
+
requirements:
|
307
304
|
- - ~>
|
308
|
-
- !ruby/object:Gem::Version
|
305
|
+
- !ruby/object:Gem::Version
|
309
306
|
version: 0.7.0
|
310
307
|
type: :development
|
311
308
|
prerelease: false
|
312
|
-
version_requirements: *
|
313
|
-
- !ruby/object:Gem::Dependency
|
309
|
+
version_requirements: *20235100
|
310
|
+
- !ruby/object:Gem::Dependency
|
314
311
|
name: yard-dm
|
315
|
-
requirement: &
|
312
|
+
requirement: &20234020 !ruby/object:Gem::Requirement
|
316
313
|
none: false
|
317
|
-
requirements:
|
314
|
+
requirements:
|
318
315
|
- - ~>
|
319
|
-
- !ruby/object:Gem::Version
|
316
|
+
- !ruby/object:Gem::Version
|
320
317
|
version: 0.1.1
|
321
318
|
type: :development
|
322
319
|
prerelease: false
|
323
|
-
version_requirements: *
|
324
|
-
- !ruby/object:Gem::Dependency
|
320
|
+
version_requirements: *20234020
|
321
|
+
- !ruby/object:Gem::Dependency
|
325
322
|
name: yard-dm-is-predefined
|
326
|
-
requirement: &
|
323
|
+
requirement: &20233320 !ruby/object:Gem::Requirement
|
327
324
|
none: false
|
328
|
-
requirements:
|
325
|
+
requirements:
|
329
326
|
- - ~>
|
330
|
-
- !ruby/object:Gem::Version
|
327
|
+
- !ruby/object:Gem::Version
|
331
328
|
version: 0.2.0
|
332
329
|
type: :development
|
333
330
|
prerelease: false
|
334
|
-
version_requirements: *
|
335
|
-
description: Ronin is a Ruby platform for exploit development and security research.
|
336
|
-
|
331
|
+
version_requirements: *20233320
|
332
|
+
description: Ronin is a Ruby platform for exploit development and security research.
|
333
|
+
Ronin allows for the rapid development and distribution of code, exploits or payloads
|
334
|
+
over many common Source-Code-Management (SCM) systems.
|
335
|
+
email:
|
337
336
|
- postmodern.mod3@gmail.com
|
338
|
-
executables:
|
337
|
+
executables:
|
339
338
|
- ronin-repos
|
340
339
|
- ronin-emails
|
341
340
|
- ronin-ips
|
@@ -349,12 +348,11 @@ executables:
|
|
349
348
|
- ronin
|
350
349
|
- ronin-console
|
351
350
|
extensions: []
|
352
|
-
|
353
|
-
extra_rdoc_files:
|
351
|
+
extra_rdoc_files:
|
354
352
|
- README.md
|
355
353
|
- ChangeLog.md
|
356
354
|
- COPYING.txt
|
357
|
-
files:
|
355
|
+
files:
|
358
356
|
- .document
|
359
357
|
- .gemtest
|
360
358
|
- .rspec
|
@@ -377,6 +375,7 @@ files:
|
|
377
375
|
- bin/ronin-repos
|
378
376
|
- bin/ronin-urls
|
379
377
|
- gemspec.yml
|
378
|
+
- lib/bond/completions/ronin.rb
|
380
379
|
- lib/ronin.rb
|
381
380
|
- lib/ronin/address.rb
|
382
381
|
- lib/ronin/arch.rb
|
@@ -384,7 +383,6 @@ files:
|
|
384
383
|
- lib/ronin/auto_load.rb
|
385
384
|
- lib/ronin/bootstrap.rb
|
386
385
|
- lib/ronin/campaign.rb
|
387
|
-
- lib/ronin/class_methods.rb
|
388
386
|
- lib/ronin/config.rb
|
389
387
|
- lib/ronin/credential.rb
|
390
388
|
- lib/ronin/database.rb
|
@@ -414,28 +412,13 @@ files:
|
|
414
412
|
- lib/ronin/license.rb
|
415
413
|
- lib/ronin/mac_address.rb
|
416
414
|
- lib/ronin/model.rb
|
417
|
-
- lib/ronin/model/class_methods.rb
|
418
415
|
- lib/ronin/model/has_authors.rb
|
419
|
-
- lib/ronin/model/has_authors/class_methods.rb
|
420
|
-
- lib/ronin/model/has_authors/has_authors.rb
|
421
416
|
- lib/ronin/model/has_description.rb
|
422
|
-
- lib/ronin/model/has_description/class_methods.rb
|
423
|
-
- lib/ronin/model/has_description/has_description.rb
|
424
417
|
- lib/ronin/model/has_license.rb
|
425
|
-
- lib/ronin/model/has_license/class_methods.rb
|
426
|
-
- lib/ronin/model/has_license/has_license.rb
|
427
418
|
- lib/ronin/model/has_name.rb
|
428
|
-
- lib/ronin/model/has_name/class_methods.rb
|
429
|
-
- lib/ronin/model/has_name/has_name.rb
|
430
419
|
- lib/ronin/model/has_title.rb
|
431
|
-
- lib/ronin/model/has_title/class_methods.rb
|
432
|
-
- lib/ronin/model/has_title/has_title.rb
|
433
420
|
- lib/ronin/model/has_unique_name.rb
|
434
|
-
- lib/ronin/model/has_unique_name/class_methods.rb
|
435
|
-
- lib/ronin/model/has_unique_name/has_unique_name.rb
|
436
421
|
- lib/ronin/model/has_version.rb
|
437
|
-
- lib/ronin/model/has_version/class_methods.rb
|
438
|
-
- lib/ronin/model/has_version/has_version.rb
|
439
422
|
- lib/ronin/model/model.rb
|
440
423
|
- lib/ronin/model/types.rb
|
441
424
|
- lib/ronin/model/types/description.rb
|
@@ -459,14 +442,12 @@ files:
|
|
459
442
|
- lib/ronin/ronin.rb
|
460
443
|
- lib/ronin/script.rb
|
461
444
|
- lib/ronin/script/buildable.rb
|
462
|
-
- lib/ronin/script/class_methods.rb
|
463
445
|
- lib/ronin/script/deployable.rb
|
464
446
|
- lib/ronin/script/exceptions.rb
|
465
447
|
- lib/ronin/script/exceptions/deploy_failed.rb
|
466
448
|
- lib/ronin/script/exceptions/exception.rb
|
467
449
|
- lib/ronin/script/exceptions/not_built.rb
|
468
450
|
- lib/ronin/script/exceptions/test_failed.rb
|
469
|
-
- lib/ronin/script/instance_methods.rb
|
470
451
|
- lib/ronin/script/path.rb
|
471
452
|
- lib/ronin/script/script.rb
|
472
453
|
- lib/ronin/script/testable.rb
|
@@ -500,6 +481,9 @@ files:
|
|
500
481
|
- lib/ronin/ui/cli/resources_command.rb
|
501
482
|
- lib/ronin/ui/cli/script_command.rb
|
502
483
|
- lib/ronin/ui/console.rb
|
484
|
+
- lib/ronin/ui/console/commands.rb
|
485
|
+
- lib/ronin/ui/console/console.rb
|
486
|
+
- lib/ronin/ui/console/context.rb
|
503
487
|
- lib/ronin/ui/output.rb
|
504
488
|
- lib/ronin/ui/output/helpers.rb
|
505
489
|
- lib/ronin/ui/output/output.rb
|
@@ -590,55 +574,38 @@ files:
|
|
590
574
|
- spec/url_scheme_spec.rb
|
591
575
|
- spec/url_spec.rb
|
592
576
|
- spec/vendor_spec.rb
|
577
|
+
has_rdoc: yard
|
593
578
|
homepage: http://github.com/ronin-ruby/ronin
|
594
|
-
licenses:
|
579
|
+
licenses:
|
595
580
|
- GPL-3
|
596
|
-
post_install_message:
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
601
|
-
|
602
|
-
$ ronin help
|
603
|
-
|
604
|
-
To jump into the Ronin Ruby Console:
|
605
|
-
|
606
|
-
$ ronin
|
607
|
-
|
608
|
-
Additional functionality can be added to Ronin by installing additional
|
609
|
-
libraries:
|
610
|
-
|
611
|
-
* ronin-asm * ronin-php
|
612
|
-
* ronin-dorks * ronin-scanners
|
613
|
-
* ronin-exploits * ronin-sql
|
614
|
-
* ronin-gen * ronin-web
|
615
|
-
|
616
|
-
*************************************************************************
|
617
|
-
|
581
|
+
post_install_message: ! "*************************************************************************\n\n
|
582
|
+
\ Thank you for installing Ronin!\n\n To list the available commands:\n\n $
|
583
|
+
ronin help\n\n To start the Ronin Console:\n\n $ ronin\n\n Additional functionality
|
584
|
+
can be added to Ronin by installing additional\n libraries:\n\n * ronin-asm
|
585
|
+
\ * ronin-php\n * ronin-dorks * ronin-scanners\n *
|
586
|
+
ronin-exploits * ronin-sql\n * ronin-gen * ronin-web\n\n*************************************************************************\n"
|
618
587
|
rdoc_options: []
|
619
|
-
|
620
|
-
require_paths:
|
588
|
+
require_paths:
|
621
589
|
- lib
|
622
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
590
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
623
591
|
none: false
|
624
|
-
requirements:
|
625
|
-
- -
|
626
|
-
- !ruby/object:Gem::Version
|
592
|
+
requirements:
|
593
|
+
- - ! '>='
|
594
|
+
- !ruby/object:Gem::Version
|
627
595
|
version: 1.8.7
|
628
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
596
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
629
597
|
none: false
|
630
|
-
requirements:
|
631
|
-
- -
|
632
|
-
- !ruby/object:Gem::Version
|
598
|
+
requirements:
|
599
|
+
- - ! '>='
|
600
|
+
- !ruby/object:Gem::Version
|
633
601
|
version: 1.3.6
|
634
602
|
requirements: []
|
635
|
-
|
636
603
|
rubyforge_project: ronin
|
637
|
-
rubygems_version: 1.
|
604
|
+
rubygems_version: 1.6.2
|
638
605
|
signing_key:
|
639
606
|
specification_version: 3
|
640
607
|
summary: A Ruby platform for exploit development and security research.
|
641
|
-
test_files:
|
608
|
+
test_files:
|
642
609
|
- spec/mac_address_spec.rb
|
643
610
|
- spec/script/script_spec.rb
|
644
611
|
- spec/script/buildable_spec.rb
|