metasploit-credential 0.14.1 → 0.14.2
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
- data/lib/metasploit/credential/version.rb +1 -1
- data/spec/factories/metasploit/credential/cores.rb +5 -5
- data/spec/factories/metasploit/credential/logins.rb +1 -1
- data/spec/factories/metasploit/credential/origin/services.rb +1 -1
- data/spec/factories/metasploit/credential/password_hashes.rb +1 -1
- data/spec/factories/metasploit/credential/publics.rb +1 -1
- data/spec/factories/metasploit/credential/ssh_keys.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ace88d94eb31e6a87088cf423eab63ed4fda088b
|
|
4
|
+
data.tar.gz: 25b2f9b114a12474a2a3497b2a3944283bec11c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e36af0e247c0e1860bca9911fb85ed6bf128d20406d7677c42af98de377ca957da348e43310feb4da6d33a1dce2ea81255b3ac8f24048d4076253f3f69ad5efb
|
|
7
|
+
data.tar.gz: f63d489ec99517645d81ec1ce72e484fa2179f770ca1add9690f36bb03737885e8e63ec4a3a7f5c0d03bdb485e4c09bd5aea73616769673e7f1a5074fe2754df
|
|
@@ -7,7 +7,7 @@ module Metasploit
|
|
|
7
7
|
# The minor version number, scoped to the {MAJOR} version number.
|
|
8
8
|
MINOR = 14
|
|
9
9
|
# The patch number, scoped to the {MINOR} version number.
|
|
10
|
-
PATCH =
|
|
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.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
FactoryGirl.define do
|
|
2
2
|
factory :metasploit_credential_core,
|
|
3
3
|
class: Metasploit::Credential::Core do
|
|
4
|
-
|
|
4
|
+
ignore do
|
|
5
5
|
origin_factory { generate :metasploit_credential_core_origin_factory }
|
|
6
6
|
private_factory { generate :metasploit_credential_core_private_factory }
|
|
7
7
|
realm_factory { generate :metasploit_credential_core_realm_factory }
|
|
@@ -34,25 +34,25 @@ FactoryGirl.define do
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
factory :metasploit_credential_core_import do
|
|
37
|
-
|
|
37
|
+
ignore do
|
|
38
38
|
origin_factory :metasploit_credential_origin_import
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
factory :metasploit_credential_core_manual do
|
|
43
|
-
|
|
43
|
+
ignore do
|
|
44
44
|
origin_factory :metasploit_credential_origin_manual
|
|
45
45
|
end
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
factory :metasploit_credential_core_service do
|
|
49
|
-
|
|
49
|
+
ignore do
|
|
50
50
|
origin_factory :metasploit_credential_origin_service
|
|
51
51
|
end
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
factory :metasploit_credential_core_session do
|
|
55
|
-
|
|
55
|
+
ignore do
|
|
56
56
|
origin_factory :metasploit_credential_origin_session
|
|
57
57
|
end
|
|
58
58
|
end
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
FactoryGirl.define do
|
|
2
2
|
factory :metasploit_credential_origin_service,
|
|
3
3
|
class: Metasploit::Credential::Origin::Service do
|
|
4
|
-
|
|
4
|
+
ignore do
|
|
5
5
|
module_type { generate :metasploit_credential_origin_service_module_type }
|
|
6
6
|
reference_name { generate :metasploit_credential_origin_service_reference_name }
|
|
7
7
|
end
|
|
@@ -4,7 +4,7 @@ FactoryGirl.define do
|
|
|
4
4
|
# uses its own data sequence to differentiate password hashes from other private data and #type is
|
|
5
5
|
# automatically set by ActiveRecord because Metasploit::Credential::Password is an STI subclass.
|
|
6
6
|
class: Metasploit::Credential::Password do
|
|
7
|
-
|
|
7
|
+
ignore do
|
|
8
8
|
password_data { generate :metasploit_credential_password_data }
|
|
9
9
|
end
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
FactoryGirl.define do
|
|
2
2
|
factory :metasploit_credential_ssh_key,
|
|
3
3
|
class: Metasploit::Credential::SSHKey do
|
|
4
|
-
|
|
4
|
+
ignore do
|
|
5
5
|
key_type { generate :metasploit_credential_ssh_key_key_type }
|
|
6
6
|
# key size tuned for speed. DO NOT use for production, it is below current recommended key size of 2048
|
|
7
7
|
key_size { 512 }
|
|
@@ -13,13 +13,13 @@ FactoryGirl.define do
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
factory :metasploit_credential_dsa_key do
|
|
16
|
-
|
|
16
|
+
ignore do
|
|
17
17
|
key_type :DSA
|
|
18
18
|
end
|
|
19
19
|
end
|
|
20
20
|
|
|
21
21
|
factory :metasploit_credential_rsa_key do
|
|
22
|
-
|
|
22
|
+
ignore do
|
|
23
23
|
key_type :RSA
|
|
24
24
|
end
|
|
25
25
|
end
|