Merge pull request #6 from todb-r7/pr4024-auto-negotiate-ssl
Add 'Auto' to tcp.rb as well.bug/bundler_fix
commit
5a350b2bf3
|
@ -290,7 +290,7 @@ module Exploit::Remote::TcpServer
|
||||||
register_options(
|
register_options(
|
||||||
[
|
[
|
||||||
OptBool.new('SSL', [ false, 'Negotiate SSL for incoming connections', false]),
|
OptBool.new('SSL', [ false, 'Negotiate SSL for incoming connections', false]),
|
||||||
OptEnum.new('SSLVersion', [ false, 'Specify the version of SSL that should be used', 'SSL3', ['SSL2', 'SSL3', 'TLS1']]),
|
OptEnum.new('SSLVersion', [ false, 'Specify the version of SSL that should be used', 'Auto', ['Auto', 'SSL2', 'SSL3', 'TLS1']]),
|
||||||
OptPath.new('SSLCert', [ false, 'Path to a custom SSL certificate (default is randomly generated)']),
|
OptPath.new('SSLCert', [ false, 'Path to a custom SSL certificate (default is randomly generated)']),
|
||||||
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' ]),
|
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' ]),
|
||||||
OptPort.new('SRVPORT', [ true, "The local port to listen on.", 8080 ]),
|
OptPort.new('SRVPORT', [ true, "The local port to listen on.", 8080 ]),
|
||||||
|
|
Loading…
Reference in New Issue