You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/msf/core/handler/reverse_tcp_double_ssl.rb
+79-12Lines changed: 79 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,10 @@ def initialize(info = {})
47
47
48
48
register_advanced_options(
49
49
[
50
-
OptBool.new('ReverseAllowProxy',[true,'Allow reverse tcp even with Proxies specified. Connect back will NOT go through proxy but directly to LHOST',false]),
50
+
OptAddress.new('ReverseListenerBindAddress',[false,'The specific IP address to bind to on the local system']),
51
+
OptInt.new('ReverseListenerBindPort',[false,'The port to bind to on the local system if different from LPORT']),
52
+
OptBool.new('ReverseAllowProxy',[true,'Allow reverse TCP even with Proxies specified. Connect back will NOT go through proxy but directly to LHOST',false]),
53
+
OptPath.new('HandlerSSLCert',[false,"Path to a SSL certificate in unified PEM format"])
51
54
],Msf::Handler::ReverseTcpDoubleSSL)
52
55
53
56
self.conn_threads=[]
@@ -62,17 +65,54 @@ def setup_handler
62
65
ifdatastore['Proxies']and not datastore['ReverseAllowProxy']
63
66
raiseRuntimeError,'TCP connect-back payloads cannot be used with Proxies. Can be overriden by setting ReverseAllowProxy to true'
0 commit comments