metasploit-model 0.27.1-java → 0.27.2-java

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
  SHA1:
3
- metadata.gz: adca37f516a68fcc8bbbb3823cbb2847ac98d3d8
4
- data.tar.gz: 8614e1e61eb23f378f579d714dd1841b4ca0e25c
3
+ metadata.gz: c46dce723315fb4a86dcd57d2801f925142d73c8
4
+ data.tar.gz: 89af4916b2791506fa3173e1084c938fc3f0310c
5
5
  SHA512:
6
- metadata.gz: e387e4b6cb6074dfd899e392e6876da4a7eb259e141068dc93610bbc225af90c0d5a025a2750260b55acf9da161fb776342dca78d2411a2a897bb28f3be69b54
7
- data.tar.gz: 455444e6c49d62aafec25f4079f37be5cc887b50fe88bf08f292c99a269b6a6e4e8d69a6c029819523e70aa7bc1f1907280fdddcf1339ae7aa7b43beb5d758c0
6
+ metadata.gz: 1f3769e90062bc8b63bbffe3ad8cd214eb626d800013db1ff1b95d711c90520a40e048d6c5f889b105da6c63712c5e3f53edf7e6d660502d1c5b6b2e8a1bd666
7
+ data.tar.gz: ef110769de258bf7fd1ab25dd66894a3de53b6585a2b02849a4fbcc708e2a84a5d02709bc1819f34c7575e1397673bc7982d296621174269c9dbe009f99566c5
@@ -29,20 +29,25 @@ module Metasploit::Model::Realm::Key
29
29
  # database and does not allow authenticating to just a server (which would be an `Mdm::Service`).
30
30
  POSTGRESQL_DATABASE = 'PostgreSQL Database'
31
31
 
32
+ # This is a Wildcard Realm Type which indicates we don't know or care what type of Realm it is.
33
+ WILDCARD = '*'
34
+
32
35
  # All values that are valid for {Metasploit::Credential::Realm#key}.
33
36
  ALL = [
34
- ACTIVE_DIRECTORY_DOMAIN,
35
- DB2_DATABASE,
36
- ORACLE_SYSTEM_IDENTIFIER,
37
- POSTGRESQL_DATABASE
37
+ ACTIVE_DIRECTORY_DOMAIN,
38
+ DB2_DATABASE,
39
+ ORACLE_SYSTEM_IDENTIFIER,
40
+ POSTGRESQL_DATABASE,
41
+ WILDCARD
38
42
  ]
39
43
 
40
44
  # A map of short names, suitable for use on the command line, to the
41
45
  # full human-readable constants above.
42
46
  SHORT_NAMES = {
43
- 'domain' => ACTIVE_DIRECTORY_DOMAIN,
44
- 'db2db' => DB2_DATABASE,
45
- 'sid' => ORACLE_SYSTEM_IDENTIFIER,
46
- 'pgdb' => POSTGRESQL_DATABASE,
47
+ 'domain' => ACTIVE_DIRECTORY_DOMAIN,
48
+ 'db2db' => DB2_DATABASE,
49
+ 'sid' => ORACLE_SYSTEM_IDENTIFIER,
50
+ 'pgdb' => POSTGRESQL_DATABASE,
51
+ 'wildcard' => WILDCARD
47
52
  }
48
53
  end
@@ -7,7 +7,7 @@ module Metasploit
7
7
  # The minor version number, scoped to the {MAJOR} version number.
8
8
  MINOR = 27
9
9
  # The patch number, scoped to the {MINOR} version number.
10
- PATCH = 1
10
+ PATCH = 2
11
11
 
12
12
  # The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the
13
13
  # {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
@@ -19,6 +19,7 @@ describe Metasploit::Model::Realm::Key do
19
19
  it { should include described_class::ACTIVE_DIRECTORY_DOMAIN }
20
20
  it { should include described_class::ORACLE_SYSTEM_IDENTIFIER }
21
21
  it { should include described_class::POSTGRESQL_DATABASE }
22
+ it { should include described_class::WILDCARD }
22
23
  end
23
24
 
24
25
  context 'ORACLE_SYSTEM_IDENTIFIER' do
@@ -39,6 +40,15 @@ describe Metasploit::Model::Realm::Key do
39
40
  it { should be_in described_class::ALL }
40
41
  end
41
42
 
43
+ context 'WILDCARD' do
44
+ subject(:wildcard) do
45
+ described_class::WILDCARD
46
+ end
47
+
48
+ it { should == '*' }
49
+ it { should be_in described_class::ALL }
50
+ end
51
+
42
52
  context 'SHORT_NAMES' do
43
53
  subject { described_class::SHORT_NAMES }
44
54
  it 'should have String keys' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metasploit-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.1
4
+ version: 0.27.2
5
5
  platform: java
6
6
  authors:
7
7
  - Luke Imhoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-18 00:00:00.000000000 Z
11
+ date: 2014-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler