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
|
|
@@ -62,5 +62,5 @@ module Ronin
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
|
66
|
-
|
65
|
+
require_relative 'organization'
|
66
|
+
require_relative 'phone_number'
|
@@ -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 'organization'
|
66
|
+
require_relative 'street_address'
|
data/lib/ronin/db/os.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
|
@@ -213,5 +213,5 @@ module Ronin
|
|
213
213
|
end
|
214
214
|
end
|
215
215
|
|
216
|
-
|
217
|
-
|
216
|
+
require_relative 'os_guess'
|
217
|
+
require_relative 'ip_address'
|
data/lib/ronin/db/os_guess.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
|
|
@@ -63,5 +63,5 @@ module Ronin
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
-
|
67
|
-
|
66
|
+
require_relative 'ip_address'
|
67
|
+
require_relative 'os'
|
data/lib/ronin/db/password.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
|
require 'digest'
|
@@ -246,5 +246,5 @@ module Ronin
|
|
246
246
|
end
|
247
247
|
end
|
248
248
|
|
249
|
-
|
250
|
-
|
249
|
+
require_relative 'credential'
|
250
|
+
require_relative 'note'
|
data/lib/ronin/db/person.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
|
|
@@ -447,9 +447,9 @@ module Ronin
|
|
447
447
|
end
|
448
448
|
end
|
449
449
|
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
450
|
+
require_relative 'personal_street_address'
|
451
|
+
require_relative 'personal_phone_number'
|
452
|
+
require_relative 'personal_connection'
|
453
|
+
require_relative 'organization_customer'
|
454
|
+
require_relative 'organization'
|
455
|
+
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,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
|
|
@@ -107,4 +107,4 @@ module Ronin
|
|
107
107
|
end
|
108
108
|
end
|
109
109
|
|
110
|
-
|
110
|
+
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,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 'person'
|
66
|
+
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,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
|
|
@@ -72,5 +72,5 @@ module Ronin
|
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
|
-
|
76
|
-
|
75
|
+
require_relative 'person'
|
76
|
+
require_relative 'phone_number'
|
@@ -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 'person'
|
66
|
+
require_relative 'street_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,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
|
|
@@ -322,9 +322,9 @@ module Ronin
|
|
322
322
|
end
|
323
323
|
end
|
324
324
|
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
325
|
+
require_relative 'personal_phone_number'
|
326
|
+
require_relative 'person'
|
327
|
+
require_relative 'organization_phone_number'
|
328
|
+
require_relative 'organization_department'
|
329
|
+
require_relative 'organization_member'
|
330
|
+
require_relative 'note'
|
data/lib/ronin/db/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,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
|
|
@@ -228,5 +228,5 @@ module Ronin
|
|
228
228
|
end
|
229
229
|
end
|
230
230
|
|
231
|
-
|
232
|
-
|
231
|
+
require_relative 'open_port'
|
232
|
+
require_relative 'note'
|
data/lib/ronin/db/service.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
|
@@ -174,4 +174,4 @@ module Ronin
|
|
174
174
|
end
|
175
175
|
end
|
176
176
|
|
177
|
-
|
177
|
+
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
|
|
@@ -62,5 +62,5 @@ module Ronin
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
|
66
|
-
|
65
|
+
require_relative 'credential'
|
66
|
+
require_relative 'open_port'
|
data/lib/ronin/db/software.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
|
require 'active_record'
|
25
25
|
|
@@ -117,5 +117,5 @@ module Ronin
|
|
117
117
|
end
|
118
118
|
end
|
119
119
|
|
120
|
-
|
121
|
-
|
120
|
+
require_relative 'software_vendor'
|
121
|
+
require_relative 'open_port'
|
@@ -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
|
module Ronin
|
25
25
|
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 'model'
|
22
22
|
|
23
23
|
require 'active_record'
|
24
24
|
|
@@ -333,8 +333,8 @@ module Ronin
|
|
333
333
|
end
|
334
334
|
end
|
335
335
|
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
336
|
+
require_relative 'personal_street_address'
|
337
|
+
require_relative 'person'
|
338
|
+
require_relative 'organization_street_address'
|
339
|
+
require_relative 'organization_department'
|
340
|
+
require_relative 'note'
|
data/lib/ronin/db/url.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/generic'
|
@@ -518,13 +518,13 @@ module Ronin
|
|
518
518
|
end
|
519
519
|
end
|
520
520
|
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
521
|
+
require_relative 'host_name'
|
522
|
+
require_relative 'port'
|
523
|
+
require_relative 'url_scheme'
|
524
|
+
require_relative 'url_query_param_name'
|
525
|
+
require_relative 'url_query_param'
|
526
|
+
require_relative 'web_credential'
|
527
|
+
require_relative 'web_vuln'
|
528
|
+
require_relative 'vulnerability'
|
529
|
+
require_relative 'advisory'
|
530
|
+
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
|
require 'uri/query_params'
|
@@ -75,5 +75,5 @@ module Ronin
|
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
|
-
|
79
|
-
|
78
|
+
require_relative 'url_query_param_name'
|
79
|
+
require_relative 'url'
|
@@ -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/has_unique_name'
|
22
|
+
require_relative 'model'
|
23
23
|
|
24
24
|
require 'active_record'
|
25
25
|
|
data/lib/ronin/db/url_scheme.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/user_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/has_unique_name'
|
24
24
|
|
25
25
|
require 'active_record'
|
26
26
|
|
@@ -147,7 +147,7 @@ module Ronin
|
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
150
|
+
require_relative 'credential'
|
151
|
+
require_relative 'password'
|
152
|
+
require_relative 'email_address'
|
153
|
+
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,11 +18,11 @@
|
|
18
18
|
# along with ronin-db-activerecord. If not, see <https://www.gnu.org/licenses/>.
|
19
19
|
#
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
21
|
+
require_relative 'model'
|
22
|
+
require_relative 'advisory'
|
23
|
+
require_relative 'address'
|
24
|
+
require_relative 'open_port'
|
25
|
+
require_relative 'url'
|
26
26
|
|
27
27
|
require 'active_record'
|
28
28
|
|