metasploit-model 0.25.3 → 0.25.6
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 +8 -8
- data/README.md +1 -1
- data/lib/metasploit/model/login/status.rb +68 -0
- data/lib/metasploit/model/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YjRmMDM3YmZjZDE5MDM0OGY5OTFhMTFkMDg3OTNkYTM0ODU3ZDU2Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGQwZDZmMGMyM2Y5N2FjNzUxZDM5ZTBkMGNlMmFmYjdmNjA4NzQ1NQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZGQwNWQ2ODg4MTIyMTI1NWI0MzMxNGIxZWY3MWIyZDE0ODI3YmRiN2I4NGVm
|
10
|
+
ODgxMzkxN2ZlOTA5ODQ2MzQxZDBkMGNkZDU5YmYwNjBmMjQ4OGNjMTU5NzM0
|
11
|
+
MGNhMWM2YmVhOTA0OGVmZWUwODVmNTM4M2MzZWNlOWUxYjgwOGI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjBkYzcwNDg1N2M3OWY3NDUwYTgxMWIyMWQyMzlmYzY0M2FiNjU1MWFlZjk0
|
14
|
+
ZGRhNGRhNjYyMTk1N2Q5OWI3ZWE4NjIyYzRmOGI3NzBjNGMzMmQxZjg1Zjgx
|
15
|
+
ZmRkMmY2Y2FiNGNiMzc5YmNjY2IwNzhkNjE0MThlOTVmNmJhZmE=
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Metasploit::Model [](https://travis-ci.org/rapid7/metasploit-model)[](https://codeclimate.com/github/rapid7/metasploit-model)[](https://coveralls.io/r/rapid7/metasploit-model)[](https://gemnasium.com/rapid7/metasploit-model)[](http://badge.fury.io/rb/metasploit-model)[](http://inch-ci.org/github/rapid7/metasploit-model)[](https://www.pullreview.com/github/rapid7/metasploit-model/reviews/master)
|
2
2
|
|
3
3
|
## Versioning
|
4
4
|
|
@@ -0,0 +1,68 @@
|
|
1
|
+
# Canonical `Metasploit::Credential::Login#status`.
|
2
|
+
#
|
3
|
+
# `Metasploit::Credential::Login#status` is restricted to values in {ALL}, so new valid values need to be added to this
|
4
|
+
# module:
|
5
|
+
#
|
6
|
+
# 1. Add a String constant where the constant name is in SCREAMING_SNAKE_CASE and the String in Title Case. The String
|
7
|
+
# should work in the sentences 'Login status is <status>' and 'Login is <status>'.
|
8
|
+
# 2. Add the new constant to {ALL}.
|
9
|
+
#
|
10
|
+
# @example 'Succeeded'
|
11
|
+
# # 1. Try 'Succeeded' in 'Login is Succeeded'
|
12
|
+
# # 2. It does not work, so change to 'Successful': 'Login is Successful'
|
13
|
+
# # 3. 'Successful' works in the sentence, so write the code.
|
14
|
+
#
|
15
|
+
# # When the `Metasploit::Credential::Login#service` allows access using `Metasploit::Credential::Login#core`.
|
16
|
+
# SUCCESSFUL = 'Successful'
|
17
|
+
#
|
18
|
+
# # All values that are valid for `Metasploit::Credential::Login#status`.
|
19
|
+
# ALL = [
|
20
|
+
# # ...
|
21
|
+
# SUCCESSFUL,
|
22
|
+
# # ...
|
23
|
+
# ]
|
24
|
+
module Metasploit::Model::Login::Status
|
25
|
+
#
|
26
|
+
# CONSTANTS
|
27
|
+
#
|
28
|
+
|
29
|
+
# When `Metasploit::Credential::Login#service` returns that access is denied to `Metasploit::Credential::Login#core`.
|
30
|
+
DENIED_ACCESS = 'Denied Access'
|
31
|
+
|
32
|
+
# When `Metasploit::Credential::Login#service` reports that `Metasploit::Credential::Login#core` are correct, but
|
33
|
+
# the account is disabled.
|
34
|
+
DISABLED = 'Disabled'
|
35
|
+
|
36
|
+
# When `Metasploit::Credential::Login#service` reports that `Metasploit::Credential::Login#core` are not correct.
|
37
|
+
INCORRECT = 'Incorrect'
|
38
|
+
|
39
|
+
# When `Metasploit::Credential::Login#service` reports that account tied to `Metasploit::Credential::Login#core`
|
40
|
+
# has had too many incorrect credentials attempted for authorization, so it is locked out to prevent bruteforce
|
41
|
+
# guessing
|
42
|
+
LOCKED_OUT = 'Locked Out'
|
43
|
+
|
44
|
+
# This status will never be used for a Login, but is required as a result status for certain LoginScanners.
|
45
|
+
NO_AUTH_REQUIRED = 'No Auth Required'
|
46
|
+
|
47
|
+
# When the `Metasploit::Credential::Login#service` allows access using `Metasploit::Credential::Login#core`.
|
48
|
+
SUCCESSFUL = 'Successful'
|
49
|
+
|
50
|
+
# When `Metasploit::Credential::Login#service` cannot be accessed or a timeout occurs waiting for a response from
|
51
|
+
# `Metasploit::Credential::Login#service`.
|
52
|
+
UNABLE_TO_CONNECT = 'Unable to Connect'
|
53
|
+
|
54
|
+
# When `Metasploit::Credential::Login#core` has not yet been submitted to `Metasploit::Credential::Login#service`.
|
55
|
+
UNTRIED = 'Untried'
|
56
|
+
|
57
|
+
# All values that are valid for `Metasploit::Credential::Login#status`.
|
58
|
+
ALL = [
|
59
|
+
DENIED_ACCESS,
|
60
|
+
DISABLED,
|
61
|
+
INCORRECT,
|
62
|
+
LOCKED_OUT,
|
63
|
+
NO_AUTH_REQUIRED,
|
64
|
+
SUCCESSFUL,
|
65
|
+
UNABLE_TO_CONNECT,
|
66
|
+
UNTRIED
|
67
|
+
]
|
68
|
+
end
|
@@ -7,7 +7,7 @@ module Metasploit
|
|
7
7
|
# The minor version number, scoped to the {MAJOR} version number.
|
8
8
|
MINOR = 25
|
9
9
|
# The patch number, scoped to the {MINOR} version number.
|
10
|
-
PATCH =
|
10
|
+
PATCH = 6
|
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.
|
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.25.
|
4
|
+
version: 0.25.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Imhoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -173,6 +173,7 @@ files:
|
|
173
173
|
- lib/metasploit/model/error.rb
|
174
174
|
- lib/metasploit/model/file.rb
|
175
175
|
- lib/metasploit/model/invalid.rb
|
176
|
+
- lib/metasploit/model/login/status.rb
|
176
177
|
- lib/metasploit/model/module.rb
|
177
178
|
- lib/metasploit/model/module/action.rb
|
178
179
|
- lib/metasploit/model/module/ancestor.rb
|