rex-socket 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/rex/socket/ssl.rb +4 -4
- data/lib/rex/socket/version.rb +1 -1
- metadata +4 -84
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 679b9b84b7330ecd3b3c19bf55e6829bdf5c55f19ec928902867e58200a1b6f7
|
4
|
+
data.tar.gz: e083b54db2bd91b5de5ca8db7a795443bff6f52fc2cb3dee695e0c3b869af0a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c33ba960993643b36c4a9fe36772094ee2ac9396b928e63ec78f2d04c79f7396dba4aaa08aad61180f179471679c94e319392ed3eb4e7203f50c1e0c254c04be
|
7
|
+
data.tar.gz: d02f730116d109024e0364f4b8612b584e11fbc1307166321a4178b75b307699a6f9301fa78df913b77e541e373506bcd18b028d2db2bfb4d725a81e84c5f4b0
|
data/lib/rex/socket/ssl.rb
CHANGED
@@ -88,8 +88,8 @@ module Rex::Socket::Ssl
|
|
88
88
|
@@cert_provider.ssl_generate_issuer
|
89
89
|
end
|
90
90
|
|
91
|
-
def self.ssl_generate_certificate
|
92
|
-
@@cert_provider.ssl_generate_certificate
|
91
|
+
def self.ssl_generate_certificate(cn = Rex::Text.rand_hostname, org = Rex::Text.rand_name)
|
92
|
+
@@cert_provider.ssl_generate_certificate(cn, org)
|
93
93
|
end
|
94
94
|
|
95
95
|
#
|
@@ -102,8 +102,8 @@ module Rex::Socket::Ssl
|
|
102
102
|
#
|
103
103
|
# Shim for the ssl_generate_certificate module method
|
104
104
|
#
|
105
|
-
def ssl_generate_certificate
|
106
|
-
Rex::Socket::Ssl.ssl_generate_certificate
|
105
|
+
def ssl_generate_certificate(cn = Rex::Text.rand_hostname, org = Rex::Text.rand_name)
|
106
|
+
Rex::Socket::Ssl.ssl_generate_certificate(cn, org)
|
107
107
|
end
|
108
108
|
|
109
109
|
#
|
data/lib/rex/socket/version.rb
CHANGED
metadata
CHANGED
@@ -1,94 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rex-socket
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Maloney
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDXzCCAkegAwIBAgILBAAAAAABIVhTCKIwDQYJKoZIhvcNAQELBQAwTDEgMB4G
|
14
|
-
A1UECxMXR2xvYmFsU2lnbiBSb290IENBIC0gUjMxEzARBgNVBAoTCkdsb2JhbFNp
|
15
|
-
Z24xEzARBgNVBAMTCkdsb2JhbFNpZ24wHhcNMDkwMzE4MTAwMDAwWhcNMjkwMzE4
|
16
|
-
MTAwMDAwWjBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJvb3QgQ0EgLSBSMzETMBEG
|
17
|
-
A1UEChMKR2xvYmFsU2lnbjETMBEGA1UEAxMKR2xvYmFsU2lnbjCCASIwDQYJKoZI
|
18
|
-
hvcNAQEBBQADggEPADCCAQoCggEBAMwldpB5BngiFvXAg7aEyiie/QV2EcWtiHL8
|
19
|
-
RgJDx7KKnQRfJMsuS+FggkbhUqsMgUdwbN1k0ev1LKMPgj0MK66X17YUhhB5uzsT
|
20
|
-
gHeMCOFJ0mpiLx9e+pZo34knlTifBtc+ycsmWQ1z3rDI6SYOgxXG71uL0gRgykmm
|
21
|
-
KPZpO/bLyCiR5Z2KYVc3rHQU3HTgOu5yLy6c+9C7v/U9AOEGM+iCK65TpjoWc4zd
|
22
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MrjgFIbGiEbBsg7PGtyeQsA
|
86
|
-
5Wbg7Lx889mS1tKfQBcPif8EjpTiXNfMiywmpaMYmvm+yQgzrRLDbjz6JV0Rc5Ga
|
87
|
-
WChka+LTPnMtsWJuFM8ka8icMeS28/nAGERdewxWvz+DeAPMORdTJ7aqb6+Y9xuz
|
88
|
-
G+Hmcg1v810agasPdoydE0RTVZgEOOMoQ07qu7JFXVWZ9ZQpHT7qJATWL/b2csFG
|
89
|
-
8mVuTXnyJOKRJA==
|
90
|
-
-----END CERTIFICATE-----
|
91
|
-
date: 2019-06-26 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-08-28 00:00:00.000000000 Z
|
92
12
|
dependencies:
|
93
13
|
- !ruby/object:Gem::Dependency
|
94
14
|
name: bundler
|
@@ -203,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
203
123
|
version: '0'
|
204
124
|
requirements: []
|
205
125
|
rubyforge_project:
|
206
|
-
rubygems_version: 2.
|
126
|
+
rubygems_version: 2.7.8
|
207
127
|
signing_key:
|
208
128
|
specification_version: 4
|
209
129
|
summary: The Ruby Exploitation (Rex) Socket Abstraction Library.
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED