metasploit-model 0.25.3-java → 0.25.6-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: 153fa0707e78e8b24d1ed8ce76ed75e24a9a0629
4
- data.tar.gz: eff26c73bbebdd841c02c68420c28873bd3e733c
3
+ metadata.gz: 142a7058885d9036e88bd91d2cb43eda0b031424
4
+ data.tar.gz: 3cb71ad81b44c4c09f742bfb074acb122333dca6
5
5
  SHA512:
6
- metadata.gz: 311e937f3b84b50cbabfa8f2deee35ca050c47bcd6ebe8a3e4f488bef68f4a8df83ff2f6c4171c20c379182630c4e418d68b97114753f3ef995d9c227630690d
7
- data.tar.gz: 99ec0a0db557ef5ef44fe1b24ce6c1814a9891617e6c2c4844d2ebf5f7d48a6688daf7e605b4a622651bfc6902b9dc37db3819bfeb598d61ab25ed19a77f5a10
6
+ metadata.gz: f9c7d61b3c1bf6e51647ccbada6b2f6cc96a144b6d3842e480db07d8adc71b0573423c87b8d97c91a72a2886b318c067997bc71fa50e7fe9dca02e2432819756
7
+ data.tar.gz: f943c87971278d1f8586e4fbb2ab6689e54509d31a47b6ce0b7fc68e7e471a8c05696c4ccd9956bdf2ffc5883bbd86a8f4f2f6d5ad2b89f1afdadc05dad111b1
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Metasploit::Model [![Build Status](https://travis-ci.org/rapid7/metasploit-model.png?branch=feature/exploit)](https://travis-ci.org/rapid7/metasploit-model)[![Coverage Status](https://coveralls.io/repos/rapid7/metasploit-model/badge.png?branch=feature%2Fexploit)](https://coveralls.io/r/rapid7/metasploit-model?branch=feature%2Fexploit)
1
+ # Metasploit::Model [![Build Status](https://travis-ci.org/rapid7/metasploit-model.png)](https://travis-ci.org/rapid7/metasploit-model)[![Code Climate](https://codeclimate.com/github/rapid7/metasploit-model.png)](https://codeclimate.com/github/rapid7/metasploit-model)[![Coverage Status](https://coveralls.io/repos/rapid7/metasploit-model/badge.png?branch=feature%2Fexploit)](https://coveralls.io/r/rapid7/metasploit-model)[![Dependency Status](https://gemnasium.com/rapid7/metasploit-model.svg)](https://gemnasium.com/rapid7/metasploit-model)[![Gem Version](https://badge.fury.io/rb/metasploit-model.svg)](http://badge.fury.io/rb/metasploit-model)[![Inline docs](http://inch-ci.org/github/rapid7/metasploit-model.svg?branch=master)](http://inch-ci.org/github/rapid7/metasploit-model)[![PullReview stats](https://www.pullreview.com/github/rapid7/metasploit-model/badges/master.svg)](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 = 3
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.3
4
+ version: 0.25.6
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-07-09 00:00:00.000000000 Z
11
+ date: 2014-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -172,6 +172,7 @@ files:
172
172
  - lib/metasploit/model/error.rb
173
173
  - lib/metasploit/model/file.rb
174
174
  - lib/metasploit/model/invalid.rb
175
+ - lib/metasploit/model/login/status.rb
175
176
  - lib/metasploit/model/module.rb
176
177
  - lib/metasploit/model/module/action.rb
177
178
  - lib/metasploit/model/module/ancestor.rb