Skip to content

Commit 0b6406a

Browse files
committed
Land rapid7#4080, @todb-r7's switch to TLS1 on TCP and TCPServer
2 parents 1508be6 + 7d34452 commit 0b6406a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/msf/core/exploit/tcp.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def initialize(info = {})
6464
register_advanced_options(
6565
[
6666
OptBool.new('SSL', [ false, 'Negotiate SSL for outgoing connections', false]),
67-
OptEnum.new('SSLVersion', [ false, 'Specify the version of SSL that should be used', 'SSL3', ['SSL2', 'SSL3', 'TLS1']]),
67+
OptEnum.new('SSLVersion', [ false, 'Specify the version of SSL that should be used', 'TLS1', ['SSL2', 'SSL3', 'TLS1']]),
6868
OptEnum.new('SSLVerifyMode', [ false, 'SSL verification method', 'PEER', %W{CLIENT_ONCE FAIL_IF_NO_PEER_CERT NONE PEER}]),
6969
OptString.new('SSLCipher', [ false, 'String for SSL cipher - "DHE-RSA-AES256-SHA" or "ADH"']),
7070
Opt::Proxies,

lib/msf/core/exploit/tcp_server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def initialize(info = {})
1818
register_options(
1919
[
2020
OptBool.new('SSL', [ false, 'Negotiate SSL for incoming connections', false]),
21-
OptEnum.new('SSLVersion', [ false, 'Specify the version of SSL that should be used', 'SSL3', ['SSL2', 'SSL3', 'TLS1']]),
21+
OptEnum.new('SSLVersion', [ false, 'Specify the version of SSL that should be used', 'TLS1', ['SSL2', 'SSL3', 'TLS1']]),
2222
OptPath.new('SSLCert', [ false, 'Path to a custom SSL certificate (default is randomly generated)']),
2323
OptAddress.new('SRVHOST', [ true, "The local host to listen on. This must be an address on the local machine or 0.0.0.0", '0.0.0.0' ]),
2424
OptPort.new('SRVPORT', [ true, "The local port to listen on.", 8080 ]),

0 commit comments

Comments
 (0)