metasploit-credential 6.0.5 → 6.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c890cd98fc73ff6cbd909ded7207646f534477a4308f60f1e7dc09231cd29d88
4
- data.tar.gz: 62fd27bcb61c852fb705cb89a0848771f6c4ae64b6a3c76202228ea6d2037969
3
+ metadata.gz: b27f99b54ca0bcb04378da4238c4d318baff3c6e2d552af59dc7cd14db292361
4
+ data.tar.gz: e5b2f1273f192ac320d04c492ba265ae63ba121cb3c85188521df2248e836ab8
5
5
  SHA512:
6
- metadata.gz: 06bf39bbda84fc40c4f25085a39e4f27211a50246879fbe3b50f034c502a9b6fcf7cebbe9292912a4bfc42f8804837a45e8cbc332253b5f3fc5b122983f6b23e
7
- data.tar.gz: d361ca8222849ab597accea494fef812339b971537bcd9cdbc3259eb19271a57f31cd1773c8338282211bf43569ee507888eb09f7326799b9ec6d66140bc50cd
6
+ metadata.gz: 2055f85e4b94be9e01d6e89f52836fe80c5e0fe6a5023ddc31fcf5c5ab0125be57e30e38292e604bac6ed2428876a9bd3f37df38e14e5cb1a7a76eaa91de3fae
7
+ data.tar.gz: 3362452f857abf87e621ef0de25c204adb7af867481d8f615b047dbb29eb48ebbf68300f2faf73e4c0e6ecde60346f837d47e6a421dc30db0134dd4ecd627e11
checksums.yaml.gz.sig CHANGED
Binary file
@@ -9,9 +9,9 @@ class Metasploit::Credential::Origin::Service < ApplicationRecord
9
9
  #
10
10
 
11
11
  # Regular expression that matches any `Mdm::Module::Detail#fullname` for {#module_full_name} where
12
- # `Mdm::Module::Detail#mtype` is `'auxiliary'` or `'exploit'` and the remainder is a valid
12
+ # `Mdm::Module::Detail#mtype` is the module type, e.g. `'auxiliary'` or `'exploit'`, and the remainder is a valid
13
13
  # `Mdm::Module::Detail#refname` (it does not contain a `'\'` and is lower case alphanumeric).
14
- MODULE_FULL_NAME_REGEXP = /\A(?<module_type>auxiliary|exploit|post)\/(?<reference_name>[\-0-9A-Z_a-z]+(?:\/[\-0-9A-Z_a-z]+)*)\Z/
14
+ MODULE_FULL_NAME_REGEXP = /\A(?<module_type>auxiliary|evasion|exploit|payload|post)\/(?<reference_name>[\-0-9A-Z_a-z]+(?:\/[\-0-9A-Z_a-z]+)*)\Z/
15
15
 
16
16
  #
17
17
  # Associations
@@ -3,7 +3,7 @@
3
3
  module Metasploit
4
4
  module Credential
5
5
  # VERSION is managed by GemRelease
6
- VERSION = '6.0.5'
6
+ VERSION = '6.0.7'
7
7
 
8
8
  # @return [String]
9
9
  #
@@ -1,6 +1,6 @@
1
1
  development: &pgsql
2
2
  adapter: postgresql
3
- database: metasploit-credential_development2
3
+ database: metasploit-credential_development1
4
4
  username: msf
5
5
  password: pass123
6
6
  host: localhost
@@ -10,4 +10,4 @@ development: &pgsql
10
10
  min_messages: warning
11
11
  test:
12
12
  <<: *pgsql
13
- database: metasploit-credential_test2
13
+ database: metasploit-credential_test1
@@ -0,0 +1 @@
1
+ f800707551bb8d38d7834928861c357b47bd695d4b817cac3922dcdb41b50ea407e7c5f1bd0cee3b94efd68e0dfc6da3d447b257a08a264476f3902cb89f1488
@@ -82,6 +82,16 @@ RSpec.describe Metasploit::Credential::Origin::Service, type: :model do
82
82
  end
83
83
  end
84
84
 
85
+ context 'with evasion' do
86
+ let(:module_type) do
87
+ 'evasion'
88
+ end
89
+
90
+ it 'allows value' do
91
+ expect(service_origin).to allow_value(module_full_name).for(:module_full_name)
92
+ end
93
+ end
94
+
85
95
  context 'with exploit' do
86
96
  let(:module_type) do
87
97
  'exploit'
@@ -108,7 +118,7 @@ RSpec.describe Metasploit::Credential::Origin::Service, type: :model do
108
118
  end
109
119
 
110
120
  it 'allows value' do
111
- expect(service_origin).not_to allow_value(module_full_name).for(:module_full_name)
121
+ expect(service_origin).to allow_value(module_full_name).for(:module_full_name)
112
122
  end
113
123
  end
114
124
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metasploit-credential
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.5
4
+ version: 6.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Metasploit Hackers
@@ -10,90 +10,31 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBl
14
- MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
15
- d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJv
16
- b3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzExMTEwMDAwMDAwWjBlMQswCQYDVQQG
17
- EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNl
18
- cnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwggEi
19
- MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtDhXO5EOAXLGH87dg+XESpa7c
20
- JpSIqvTO9SA5KFhgDPiA2qkVlTJhPLWxKISKityfCgyDF3qPkKyK53lTXDGEKvYP
21
- mDI2dsze3Tyoou9q+yHyUmHfnyDXH+Kx2f4YZNISW1/5WBg1vEfNoTb5a3/UsDg+
22
- wRvDjDPZ2C8Y/igPs6eD1sNuRMBhNZYW/lmci3Zt1/GiSw0r/wty2p5g0I6QNcZ4
23
- VYcgoc/lbQrISXwxmDNsIumH0DJaoroTghHtORedmTpyoeb6pNnVFzF1roV9Iq4/
24
- AUaG9ih5yLHa5FcXxH4cDrC0kqZWs72yl+2qp/C3xag/lRbQ/6GW6whfGHdPAgMB
25
- AAGjYzBhMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBT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0LmNvbS9DUFMwCAYGZ4EMAQQBMIGEBggrBgEFBQcBAQR4MHYw
86
- JAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmRpZ2ljZXJ0LmNvbTBOBggrBgEFBQcw
87
- AoZCaHR0cDovL2NhY2VydHMuZGlnaWNlcnQuY29tL0RpZ2lDZXJ0U0hBMkFzc3Vy
88
- ZWRJRENvZGVTaWduaW5nQ0EuY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQEL
89
- BQADggEBAN+GL5/myPWg7oH4mVrG7/OhXF1MoYQF0ddaNiqaweEHMuKJBQCVZRbL
90
- 37HojoKXXv2yyRJBCeTB+ojrxX+5PdLVZa0ss7toWzJ2A1poPXZ1eZvm5xeFD32z
91
- YQaTmmNWNI3PCDTyJ2PXUc+bDiNNwcZ7yc5o78UNRvp9Jxghya17Q76c9Ov9wvnv
92
- dxxQKWGOQy0m4fBrkyjAyH9Djjn81RbQrqYgPuhd5nD0HjN3VUQLhQbIJrk9TVs0
93
- EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
94
- 9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
95
- -----END CERTIFICATE-----
96
- date: 2023-05-19 00:00:00.000000000 Z
37
+ date: 2024-01-04 00:00:00.000000000 Z
97
38
  dependencies:
98
39
  - !ruby/object:Gem::Dependency
99
40
  name: metasploit-concern
@@ -354,6 +295,7 @@ files:
354
295
  - spec/dummy/public/500.html
355
296
  - spec/dummy/public/favicon.ico
356
297
  - spec/dummy/script/rails
298
+ - spec/dummy/tmp/local_secret.txt
357
299
  - spec/factories/metasploit/credential/blank_usernames.rb
358
300
  - spec/factories/metasploit/credential/cores.rb
359
301
  - spec/factories/metasploit/credential/importer/cores.rb
@@ -444,7 +386,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
444
386
  - !ruby/object:Gem::Version
445
387
  version: '0'
446
388
  requirements: []
447
- rubygems_version: 3.1.4
389
+ rubygems_version: 3.4.12
448
390
  signing_key:
449
391
  specification_version: 4
450
392
  summary: Credential models for metasploit-framework and Metasploit Pro
@@ -487,6 +429,7 @@ test_files:
487
429
  - spec/dummy/public/500.html
488
430
  - spec/dummy/public/favicon.ico
489
431
  - spec/dummy/script/rails
432
+ - spec/dummy/tmp/local_secret.txt
490
433
  - spec/factories/metasploit/credential/blank_usernames.rb
491
434
  - spec/factories/metasploit/credential/cores.rb
492
435
  - spec/factories/metasploit/credential/importer/cores.rb
metadata.gz.sig CHANGED
Binary file