metasploit-credential 2.0.12 → 2.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/app/models/metasploit/credential/origin/service.rb +1 -1
- data/lib/metasploit/credential/version.rb +1 -1
- data/spec/dummy/config/database.yml +2 -2
- data/spec/models/metasploit/credential/origin/service_spec.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16cc12eff23c308308d3460a254059af402a25b6
|
|
4
|
+
data.tar.gz: 8d6050f052415c067b573ffc1d532aa06a648b35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2474731f2a0b63d6f784618588458a0c574a8eebf4d0ab2718ce9b5e015da7a8e016067b8b18e65e4bcf8b298ecc4abc46bbc7db8a73f8040d5267b55724623d
|
|
7
|
+
data.tar.gz: ea3de8cd55278e1396d1558f1fc01d22da67255f38f839ce2ad80522bfe7808286d0c2e7787f186f44f902f3b004aed9891dd6b39b643292a6cb198d1a1631ab
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
|
@@ -11,7 +11,7 @@ class Metasploit::Credential::Origin::Service < ActiveRecord::Base
|
|
|
11
11
|
# Regular expression that matches any `Mdm::Module::Detail#fullname` for {#module_full_name} where
|
|
12
12
|
# `Mdm::Module::Detail#mtype` is `'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)\/(?<reference_name>[\-0-9A-Z_a-z]+(?:\/[\-0-9A-Z_a-z]+)*)\Z/
|
|
14
|
+
MODULE_FULL_NAME_REGEXP = /\A(?<module_type>auxiliary|exploit|post)\/(?<reference_name>[\-0-9A-Z_a-z]+(?:\/[\-0-9A-Z_a-z]+)*)\Z/
|
|
15
15
|
|
|
16
16
|
#
|
|
17
17
|
# Associations
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
development: &pgsql
|
|
2
2
|
adapter: postgresql
|
|
3
|
-
database: metasploit-
|
|
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-
|
|
13
|
+
database: metasploit-credential_test1
|
|
@@ -118,7 +118,7 @@ RSpec.describe Metasploit::Credential::Origin::Service, type: :model do
|
|
|
118
118
|
end
|
|
119
119
|
|
|
120
120
|
it 'allows value' do
|
|
121
|
-
expect(service_origin).
|
|
121
|
+
expect(service_origin).to allow_value(module_full_name).for(:module_full_name)
|
|
122
122
|
end
|
|
123
123
|
end
|
|
124
124
|
end
|
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: 2.0.
|
|
4
|
+
version: 2.0.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Luke Imhoff
|
|
@@ -89,7 +89,7 @@ cert_chain:
|
|
|
89
89
|
G+Hmcg1v810agasPdoydE0RTVZgEOOMoQ07qu7JFXVWZ9ZQpHT7qJATWL/b2csFG
|
|
90
90
|
8mVuTXnyJOKRJA==
|
|
91
91
|
-----END CERTIFICATE-----
|
|
92
|
-
date:
|
|
92
|
+
date: 2018-02-19 00:00:00.000000000 Z
|
|
93
93
|
dependencies:
|
|
94
94
|
- !ruby/object:Gem::Dependency
|
|
95
95
|
name: metasploit-concern
|
metadata.gz.sig
CHANGED
|
Binary file
|