ronin-db-activerecord 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +1 -0
- data/ChangeLog.md +5 -1
- data/README.md +1 -1
- data/gemspec.yml +2 -2
- data/lib/ronin/db/address.rb +4 -4
- data/lib/ronin/db/advisory.rb +10 -10
- data/lib/ronin/db/arch.rb +3 -3
- data/lib/ronin/db/asn.rb +4 -4
- data/lib/ronin/db/cert.rb +8 -8
- data/lib/ronin/db/cert_issuer.rb +3 -3
- data/lib/ronin/db/cert_name.rb +6 -6
- data/lib/ronin/db/cert_organization.rb +2 -2
- data/lib/ronin/db/cert_subject.rb +4 -4
- data/lib/ronin/db/cert_subject_alt_name.rb +4 -4
- data/lib/ronin/db/credential.rb +9 -9
- data/lib/ronin/db/dns_query.rb +3 -3
- data/lib/ronin/db/dns_record.rb +3 -3
- data/lib/ronin/db/email_address.rb +10 -10
- data/lib/ronin/db/host_name.rb +10 -10
- data/lib/ronin/db/host_name_ip_address.rb +2 -2
- data/lib/ronin/db/http_header_name.rb +3 -3
- data/lib/ronin/db/http_query_param.rb +4 -4
- data/lib/ronin/db/http_query_param_name.rb +3 -3
- data/lib/ronin/db/http_request.rb +2 -2
- data/lib/ronin/db/http_request_header.rb +4 -4
- data/lib/ronin/db/http_response.rb +3 -3
- data/lib/ronin/db/http_response_header.rb +4 -4
- data/lib/ronin/db/ip_address.rb +15 -15
- data/lib/ronin/db/ip_address_mac_address.rb +2 -2
- data/lib/ronin/db/mac_address.rb +7 -7
- data/lib/ronin/db/migrations.rb +1 -1
- data/lib/ronin/db/model/has_name.rb +2 -2
- data/lib/ronin/db/model/has_unique_name.rb +2 -2
- data/lib/ronin/db/model/importable.rb +1 -1
- data/lib/ronin/db/model/last_scanned_at.rb +1 -1
- data/lib/ronin/db/model.rb +1 -1
- data/lib/ronin/db/models.rb +57 -57
- data/lib/ronin/db/note.rb +19 -19
- data/lib/ronin/db/open_port.rb +10 -10
- data/lib/ronin/db/organization.rb +13 -13
- data/lib/ronin/db/organization_customer.rb +4 -4
- data/lib/ronin/db/organization_department.rb +7 -7
- data/lib/ronin/db/organization_email_address.rb +4 -4
- data/lib/ronin/db/organization_host_name.rb +4 -4
- data/lib/ronin/db/organization_ip_address.rb +4 -4
- data/lib/ronin/db/organization_member.rb +6 -6
- data/lib/ronin/db/organization_phone_number.rb +4 -4
- data/lib/ronin/db/organization_street_address.rb +4 -4
- data/lib/ronin/db/os.rb +5 -5
- data/lib/ronin/db/os_guess.rb +4 -4
- data/lib/ronin/db/password.rb +5 -5
- data/lib/ronin/db/person.rb +9 -9
- data/lib/ronin/db/personal_connection.rb +4 -4
- data/lib/ronin/db/personal_email_address.rb +4 -4
- data/lib/ronin/db/personal_phone_number.rb +5 -5
- data/lib/ronin/db/personal_street_address.rb +4 -4
- data/lib/ronin/db/phone_number.rb +9 -9
- data/lib/ronin/db/port.rb +4 -4
- data/lib/ronin/db/service.rb +5 -5
- data/lib/ronin/db/service_credential.rb +4 -4
- data/lib/ronin/db/software.rb +5 -5
- data/lib/ronin/db/software_vendor.rb +3 -3
- data/lib/ronin/db/street_address.rb +7 -7
- data/lib/ronin/db/url.rb +14 -14
- data/lib/ronin/db/url_query_param.rb +4 -4
- data/lib/ronin/db/url_query_param_name.rb +3 -3
- data/lib/ronin/db/url_scheme.rb +3 -3
- data/lib/ronin/db/user_name.rb +8 -8
- data/lib/ronin/db/vulnerability.rb +6 -6
- data/lib/ronin/db/web_credential.rb +4 -4
- data/lib/ronin/db/web_vuln.rb +3 -3
- metadata +4 -4
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative 'model'
|
22
22
|
|
23
23
|
require 'active_record'
|
24
24
|
|
@@ -74,5 +74,5 @@ module Ronin
|
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
|
78
|
-
|
77
|
+
require_relative 'http_header_name'
|
78
|
+
require_relative 'http_response'
|
data/lib/ronin/db/ip_address.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative 'address'
|
22
22
|
|
23
23
|
require 'active_record'
|
24
24
|
require 'ipaddr'
|
@@ -381,16 +381,16 @@ module Ronin
|
|
381
381
|
end
|
382
382
|
end
|
383
383
|
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
384
|
+
require_relative 'ip_address_mac_address'
|
385
|
+
require_relative 'mac_address'
|
386
|
+
require_relative 'host_name_ip_address'
|
387
|
+
require_relative 'host_name'
|
388
|
+
require_relative 'open_port'
|
389
|
+
require_relative 'port'
|
390
|
+
require_relative 'os_guess'
|
391
|
+
require_relative 'os'
|
392
|
+
require_relative 'asn'
|
393
|
+
require_relative 'vulnerability'
|
394
|
+
require_relative 'advisory'
|
395
|
+
require_relative 'organization_ip_address'
|
396
|
+
require_relative 'note'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative 'model'
|
22
22
|
|
23
23
|
require 'active_record'
|
24
24
|
|
data/lib/ronin/db/mac_address.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative 'address'
|
22
22
|
|
23
23
|
require 'active_record'
|
24
24
|
require 'strscan'
|
@@ -111,8 +111,8 @@ module Ronin
|
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
114
|
+
require_relative 'ip_address_mac_address'
|
115
|
+
require_relative 'ip_address'
|
116
|
+
require_relative 'vulnerability'
|
117
|
+
require_relative 'advisory'
|
118
|
+
require_relative 'note'
|
data/lib/ronin/db/migrations.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative '../model'
|
22
22
|
|
23
23
|
module Ronin
|
24
24
|
module DB
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative 'has_name'
|
22
22
|
|
23
23
|
module Ronin
|
24
24
|
module DB
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
data/lib/ronin/db/model.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
data/lib/ronin/db/models.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,62 +18,62 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
21
|
+
require_relative 'address'
|
22
|
+
require_relative 'arch'
|
23
|
+
require_relative 'credential'
|
24
|
+
require_relative 'email_address'
|
25
|
+
require_relative 'host_name'
|
26
|
+
require_relative 'host_name_ip_address'
|
27
|
+
require_relative 'ip_address'
|
28
|
+
require_relative 'ip_address_mac_address'
|
29
|
+
require_relative 'mac_address'
|
30
|
+
require_relative 'open_port'
|
31
|
+
require_relative 'organization'
|
32
|
+
require_relative 'organization_street_address'
|
33
|
+
require_relative 'organization_customer'
|
34
|
+
require_relative 'organization_department'
|
35
|
+
require_relative 'organization_phone_number'
|
36
|
+
require_relative 'organization_email_address'
|
37
|
+
require_relative 'organization_host_name'
|
38
|
+
require_relative 'organization_ip_address'
|
39
|
+
require_relative 'os'
|
40
|
+
require_relative 'os_guess'
|
41
|
+
require_relative 'password'
|
42
|
+
require_relative 'person'
|
43
|
+
require_relative 'personal_phone_number'
|
44
|
+
require_relative 'personal_email_address'
|
45
|
+
require_relative 'personal_street_address'
|
46
|
+
require_relative 'personal_connection'
|
47
|
+
require_relative 'port'
|
48
|
+
require_relative 'service'
|
49
|
+
require_relative 'service_credential'
|
50
|
+
require_relative 'software'
|
51
|
+
require_relative 'url_query_param_name'
|
52
|
+
require_relative 'url_query_param'
|
53
|
+
require_relative 'url_scheme'
|
54
|
+
require_relative 'url'
|
55
|
+
require_relative 'web_vuln'
|
56
|
+
require_relative 'user_name'
|
57
|
+
require_relative 'software_vendor'
|
58
|
+
require_relative 'web_credential'
|
59
|
+
require_relative 'asn'
|
60
|
+
require_relative 'http_query_param_name'
|
61
|
+
require_relative 'http_query_param'
|
62
|
+
require_relative 'http_header_name'
|
63
|
+
require_relative 'http_request_header'
|
64
|
+
require_relative 'http_response_header'
|
65
|
+
require_relative 'http_request'
|
66
|
+
require_relative 'http_response'
|
67
|
+
require_relative 'advisory'
|
68
|
+
require_relative 'vulnerability'
|
69
|
+
require_relative 'cert_name'
|
70
|
+
require_relative 'cert_issuer'
|
71
|
+
require_relative 'cert_subject'
|
72
|
+
require_relative 'cert_subject_alt_name'
|
73
|
+
require_relative 'cert'
|
74
|
+
require_relative 'dns_query'
|
75
|
+
require_relative 'dns_record'
|
76
|
+
require_relative 'note'
|
77
77
|
|
78
78
|
module Ronin
|
79
79
|
module DB
|
data/lib/ronin/db/note.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative 'model'
|
22
22
|
|
23
23
|
require 'active_record'
|
24
24
|
|
@@ -180,20 +180,20 @@ module Ronin
|
|
180
180
|
end
|
181
181
|
end
|
182
182
|
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
183
|
+
require_relative 'mac_address'
|
184
|
+
require_relative 'ip_address'
|
185
|
+
require_relative 'host_name'
|
186
|
+
require_relative 'port'
|
187
|
+
require_relative 'service'
|
188
|
+
require_relative 'open_port'
|
189
|
+
require_relative 'cert'
|
190
|
+
require_relative 'url'
|
191
|
+
require_relative 'user_name'
|
192
|
+
require_relative 'email_address'
|
193
|
+
require_relative 'password'
|
194
|
+
require_relative 'credential'
|
195
|
+
require_relative 'advisory'
|
196
|
+
require_relative 'street_address'
|
197
|
+
require_relative 'phone_number'
|
198
|
+
require_relative 'person'
|
199
|
+
require_relative 'organization'
|
data/lib/ronin/db/open_port.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,8 +18,8 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
22
|
-
|
21
|
+
require_relative 'model'
|
22
|
+
require_relative 'model/last_scanned_at'
|
23
23
|
|
24
24
|
require 'active_record'
|
25
25
|
|
@@ -240,10 +240,10 @@ module Ronin
|
|
240
240
|
end
|
241
241
|
end
|
242
242
|
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
243
|
+
require_relative 'ip_address'
|
244
|
+
require_relative 'port'
|
245
|
+
require_relative 'service'
|
246
|
+
require_relative 'service_credential'
|
247
|
+
require_relative 'vulnerability'
|
248
|
+
require_relative 'advisory'
|
249
|
+
require_relative 'note'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,9 +18,9 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
require_relative 'model'
|
22
|
+
require_relative 'model/has_name'
|
23
|
+
require_relative 'model/importable'
|
24
24
|
|
25
25
|
require 'active_record'
|
26
26
|
|
@@ -273,12 +273,12 @@ module Ronin
|
|
273
273
|
end
|
274
274
|
end
|
275
275
|
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
276
|
+
require_relative 'organization_street_address'
|
277
|
+
require_relative 'organization_phone_number'
|
278
|
+
require_relative 'organization_email_address'
|
279
|
+
require_relative 'organization_department'
|
280
|
+
require_relative 'organization_member'
|
281
|
+
require_relative 'organization_customer'
|
282
|
+
require_relative 'organization_host_name'
|
283
|
+
require_relative 'organization_ip_address'
|
284
|
+
require_relative 'note'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative 'model'
|
22
22
|
|
23
23
|
require 'active_record'
|
24
24
|
|
@@ -69,5 +69,5 @@ module Ronin
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
72
|
-
|
73
|
-
|
72
|
+
require_relative 'organization'
|
73
|
+
require_relative 'person'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,8 +18,8 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
22
|
-
|
21
|
+
require_relative 'model'
|
22
|
+
require_relative 'model/has_name'
|
23
23
|
|
24
24
|
require 'active_record'
|
25
25
|
|
@@ -91,7 +91,7 @@ module Ronin
|
|
91
91
|
end
|
92
92
|
end
|
93
93
|
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
94
|
+
require_relative 'organization'
|
95
|
+
require_relative 'street_address'
|
96
|
+
require_relative 'phone_number'
|
97
|
+
require_relative 'email_address'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative 'model'
|
22
22
|
|
23
23
|
require 'active_record'
|
24
24
|
|
@@ -62,5 +62,5 @@ module Ronin
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
|
66
|
-
|
65
|
+
require_relative 'email_address'
|
66
|
+
require_relative 'organization'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative 'model'
|
22
22
|
|
23
23
|
require 'active_record'
|
24
24
|
|
@@ -61,5 +61,5 @@ module Ronin
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
-
|
65
|
-
|
64
|
+
require_relative 'organization'
|
65
|
+
require_relative 'host_name'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative 'model'
|
22
22
|
|
23
23
|
require 'active_record'
|
24
24
|
|
@@ -61,5 +61,5 @@ module Ronin
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
-
|
65
|
-
|
64
|
+
require_relative 'organization'
|
65
|
+
require_relative 'ip_address'
|
@@ -2,7 +2,7 @@
|
|
2
2
|
#
|
3
3
|
# ronin-db-activerecord - ActiveRecord backend for the Ronin Database.
|
4
4
|
#
|
5
|
-
# Copyright (c) 2022-
|
5
|
+
# Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3 at gmail.com)
|
6
6
|
#
|
7
7
|
# ronin-db-activerecord is free software: you can redistribute it and/or modify
|
8
8
|
# it under the terms of the GNU Lesser General Public License as published
|
@@ -18,7 +18,7 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
21
|
+
require_relative 'model'
|
22
22
|
|
23
23
|
require 'active_record'
|
24
24
|
|
@@ -152,7 +152,7 @@ module Ronin
|
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
155
|
+
require_relative 'organization'
|
156
|
+
require_relative 'person'
|
157
|
+
require_relative 'email_address'
|
158
|
+
require_relative 'phone_number'
|