metasploit-model 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/metasploit/model/realm/key.rb +6 -0
- data/lib/metasploit/model/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a7d4ad9d0c4946c6a0e8ebe5025c81bc41ad31a
|
4
|
+
data.tar.gz: cfd7b5e32b8e5f6d8713e06d077dbe2046062a2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 541adb6f543a08f68a6cf291dd0a653da704d03f71235deeb0016299feba9dbea8db24a774128978003e9950ee15588ec687d478a1496d26ff13d5719164c099
|
7
|
+
data.tar.gz: 2a98c0a6042143b1690353facf0ec62abec652970c20abd768072598031a37e253650900afeb90402e73ef386d049d7cb8951e1c03189db17f89961645f16949
|
@@ -5,6 +5,7 @@
|
|
5
5
|
#
|
6
6
|
# 1. Add a String constant where the constant name is in SCREAMING_SNAKE_CASE and the String in Title Case.
|
7
7
|
# 2. Add the new constant to {ALL}.
|
8
|
+
# 3. Add a new key/value to {SHORT_NAMES} for this constant.
|
8
9
|
module Metasploit::Model::Realm::Key
|
9
10
|
#
|
10
11
|
# CONSTANTS
|
@@ -27,6 +28,9 @@ module Metasploit::Model::Realm::Key
|
|
27
28
|
# database and does not allow authenticating to just a server (which would be an `Mdm::Service`).
|
28
29
|
POSTGRESQL_DATABASE = 'PostgreSQL Database'
|
29
30
|
|
31
|
+
# An RSYNC module (share) name, which can optionally require authentication.
|
32
|
+
RSYNC_MODULE = 'RSYNC Module'
|
33
|
+
|
30
34
|
# This is a Wildcard Realm Type which indicates we don't know or care what type of Realm it is.
|
31
35
|
WILDCARD = '*'
|
32
36
|
|
@@ -36,6 +40,7 @@ module Metasploit::Model::Realm::Key
|
|
36
40
|
DB2_DATABASE,
|
37
41
|
ORACLE_SYSTEM_IDENTIFIER,
|
38
42
|
POSTGRESQL_DATABASE,
|
43
|
+
RSYNC_MODULE,
|
39
44
|
WILDCARD
|
40
45
|
]
|
41
46
|
|
@@ -46,6 +51,7 @@ module Metasploit::Model::Realm::Key
|
|
46
51
|
'db2db' => DB2_DATABASE,
|
47
52
|
'sid' => ORACLE_SYSTEM_IDENTIFIER,
|
48
53
|
'pgdb' => POSTGRESQL_DATABASE,
|
54
|
+
'rsync' => RSYNC_MODULE,
|
49
55
|
'wildcard' => WILDCARD
|
50
56
|
}
|
51
57
|
end
|
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: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Imhoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -382,7 +382,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
382
382
|
version: '0'
|
383
383
|
requirements: []
|
384
384
|
rubyforge_project:
|
385
|
-
rubygems_version: 2.4.
|
385
|
+
rubygems_version: 2.4.8
|
386
386
|
signing_key:
|
387
387
|
specification_version: 4
|
388
388
|
summary: Metasploit Model Mixins and Validators
|