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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd4124ca7123adf2f4cda81e7acbc6fc7c40d354d9cc1251b70f031197e30265
|
4
|
+
data.tar.gz: 3c917f299f83348476e0141585758053f1fb17c89eaaf81414e11f72ded2adb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: baca2882027f0cf4aadf6dbf8fe6522da44911bbcb46331a7e0329be94e46310b354f7787d67e103f18c1c53e6cee48d61b902a2460a3416994639f76f165262
|
7
|
+
data.tar.gz: c1c95f99bf0548aede3ba13207132dccda9dc6a47e9bbd60734bf0ac26018b1112b0ab59824be77d44b5c705d995565075d90715aca3d0b4ecc454cc4956c30c
|
data/.github/workflows/ruby.yml
CHANGED
data/ChangeLog.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
### 0.2.1 / 2025-02-14
|
2
|
+
|
3
|
+
* Use `require_relative` to improve load times.
|
4
|
+
|
1
5
|
### 0.2.0 / 2024-07-22
|
2
6
|
|
3
7
|
* Added {Ronin::DB::Advisory#host_names}.
|
@@ -83,7 +87,7 @@
|
|
83
87
|
* Include {Ronin::DB::Model::Importable} into {Ronin::DB::Service}.
|
84
88
|
* Include {Ronin::DB::Model::Importable} into {Ronin::DB::Organization}.
|
85
89
|
* Include {Ronin::DB::Model::HasName} into {Ronin::DB::Software} for the
|
86
|
-
|
90
|
+
{Ronin::DB::Model::HasName::ClassMethods#named .named} method.
|
87
91
|
* Added missing `created_at` column and attribute to {Ronin::DB::Port}.
|
88
92
|
* Added missing `created_at` column and attribute to {Ronin::DB::Service}.
|
89
93
|
* Changed {Ronin::DB::OpenPort#to_s} to include
|
data/README.md
CHANGED
@@ -205,7 +205,7 @@ local database console.
|
|
205
205
|
|
206
206
|
## License
|
207
207
|
|
208
|
-
Copyright (c) 2022-
|
208
|
+
Copyright (c) 2022-2025 Hal Brodigan (postmodern.mod3@gmail.com)
|
209
209
|
|
210
210
|
ronin-db-activerecord is free software: you can redistribute it and/or modify
|
211
211
|
it under the terms of the GNU Lesser General Public License as published
|
data/gemspec.yml
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
name: ronin-db-activerecord
|
2
|
-
version: 0.2.
|
2
|
+
version: 0.2.1
|
3
3
|
summary: ActiveRecord backend for the Ronin Database
|
4
4
|
description:
|
5
5
|
ronin-db-activerecord contains ActiveRecord models and migrations for the
|
6
6
|
Ronin Database. Provides database models storing and querying network data,
|
7
7
|
advisory data, credentials, and OSINT data.
|
8
8
|
|
9
|
-
license: LGPL-3.0
|
9
|
+
license: LGPL-3.0-or-later
|
10
10
|
authors: Postmodern
|
11
11
|
email: postmodern.mod3@gmail.com
|
12
12
|
homepage: https://ronin-rb.dev/
|
data/lib/ronin/db/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,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/importable'
|
23
|
+
require_relative 'model/last_scanned_at'
|
24
24
|
|
25
25
|
require 'active_record'
|
26
26
|
|
data/lib/ronin/db/advisory.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/importable'
|
23
23
|
|
24
24
|
require 'active_record'
|
25
25
|
|
@@ -225,10 +225,10 @@ module Ronin
|
|
225
225
|
end
|
226
226
|
end
|
227
227
|
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
228
|
+
require_relative 'vulnerability'
|
229
|
+
require_relative 'mac_address'
|
230
|
+
require_relative 'ip_address'
|
231
|
+
require_relative 'open_port'
|
232
|
+
require_relative 'host_name'
|
233
|
+
require_relative 'url'
|
234
|
+
require_relative 'note'
|
data/lib/ronin/db/arch.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/has_unique_name'
|
23
23
|
|
24
24
|
require 'active_record'
|
25
25
|
|
data/lib/ronin/db/asn.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/has_name'
|
23
23
|
|
24
24
|
module Ronin
|
25
25
|
module DB
|
@@ -223,4 +223,4 @@ module Ronin
|
|
223
223
|
end
|
224
224
|
end
|
225
225
|
|
226
|
-
|
226
|
+
require_relative 'ip_address'
|
data/lib/ronin/db/cert.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/importable'
|
23
23
|
|
24
24
|
module Ronin
|
25
25
|
module DB
|
@@ -494,8 +494,8 @@ module Ronin
|
|
494
494
|
end
|
495
495
|
end
|
496
496
|
|
497
|
-
|
498
|
-
|
499
|
-
|
500
|
-
|
501
|
-
|
497
|
+
require_relative 'cert_issuer'
|
498
|
+
require_relative 'cert_subject'
|
499
|
+
require_relative 'cert_subject_alt_name'
|
500
|
+
require_relative 'open_port'
|
501
|
+
require_relative 'note'
|
data/lib/ronin/db/cert_issuer.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 'cert_organization'
|
22
22
|
|
23
23
|
module Ronin
|
24
24
|
module DB
|
@@ -75,4 +75,4 @@ module Ronin
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
-
|
78
|
+
require_relative 'cert'
|
data/lib/ronin/db/cert_name.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,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_unique_name'
|
23
|
+
require_relative 'model/importable'
|
24
24
|
|
25
25
|
module Ronin
|
26
26
|
module DB
|
@@ -103,5 +103,5 @@ module Ronin
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
-
|
107
|
-
|
106
|
+
require_relative 'cert_subject_alt_name'
|
107
|
+
require_relative 'cert'
|
@@ -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 'cert_organization'
|
22
22
|
|
23
23
|
module Ronin
|
24
24
|
module DB
|
@@ -77,5 +77,5 @@ module Ronin
|
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
80
|
-
|
81
|
-
|
80
|
+
require_relative 'cert_name'
|
81
|
+
require_relative 'cert'
|
@@ -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 'ipaddr'
|
24
24
|
|
@@ -84,5 +84,5 @@ module Ronin
|
|
84
84
|
end
|
85
85
|
end
|
86
86
|
|
87
|
-
|
88
|
-
|
87
|
+
require_relative 'cert_name'
|
88
|
+
require_relative 'cert'
|
data/lib/ronin/db/credential.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/importable'
|
23
23
|
|
24
24
|
require 'active_record'
|
25
25
|
|
@@ -249,9 +249,9 @@ module Ronin
|
|
249
249
|
end
|
250
250
|
end
|
251
251
|
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
252
|
+
require_relative 'user_name'
|
253
|
+
require_relative 'email_address'
|
254
|
+
require_relative 'password'
|
255
|
+
require_relative 'service_credential'
|
256
|
+
require_relative 'web_credential'
|
257
|
+
require_relative 'note'
|
data/lib/ronin/db/dns_query.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
|
require 'resolv'
|
@@ -95,4 +95,4 @@ module Ronin
|
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
98
|
-
|
98
|
+
require_relative 'dns_record'
|
data/lib/ronin/db/dns_record.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
|
|
@@ -73,4 +73,4 @@ module Ronin
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
-
|
76
|
+
require_relative 'dns_query'
|
@@ -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/importable'
|
23
23
|
|
24
24
|
require 'active_record'
|
25
25
|
require 'uri/mailto'
|
@@ -354,10 +354,10 @@ module Ronin
|
|
354
354
|
end
|
355
355
|
end
|
356
356
|
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
357
|
+
require_relative 'user_name'
|
358
|
+
require_relative 'host_name'
|
359
|
+
require_relative 'personal_email_address'
|
360
|
+
require_relative 'organization_department'
|
361
|
+
require_relative 'organization_email_address'
|
362
|
+
require_relative 'organization_member'
|
363
|
+
require_relative 'note'
|
data/lib/ronin/db/host_name.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,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/importable'
|
23
|
+
require_relative 'model/last_scanned_at'
|
24
24
|
|
25
25
|
require 'active_record'
|
26
26
|
require 'uri/rfc2396_parser'
|
@@ -261,9 +261,9 @@ module Ronin
|
|
261
261
|
end
|
262
262
|
end
|
263
263
|
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
264
|
+
require_relative 'host_name_ip_address'
|
265
|
+
require_relative 'ip_address'
|
266
|
+
require_relative 'vulnerability'
|
267
|
+
require_relative 'advisory'
|
268
|
+
require_relative 'organization_host_name'
|
269
|
+
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
|
|
@@ -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_unique_name'
|
23
23
|
|
24
24
|
require 'active_record'
|
25
25
|
|
@@ -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
|
require 'uri/query_params'
|
@@ -75,5 +75,5 @@ module Ronin
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
-
|
79
|
-
|
78
|
+
require_relative 'http_query_param_name'
|
79
|
+
require_relative 'http_request'
|
@@ -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_unique_name'
|
23
23
|
|
24
24
|
require 'active_record'
|
25
25
|
|
@@ -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
|
require 'resolv'
|
@@ -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_request'
|
@@ -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
|
|
@@ -88,4 +88,4 @@ module Ronin
|
|
88
88
|
end
|
89
89
|
end
|
90
90
|
|
91
|
-
|
91
|
+
require_relative 'http_request'
|