File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
lib/msf/core/auxiliary/web Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ def connect
118118
119119 c . set_config ( {
120120 'vhost' => opts [ :target ] . vhost ,
121+ 'ssl_server_name_indication' => opts [ :target ] . vhost ,
121122 'agent' => opts [ :user_agent ] || Rex ::UserAgent . session_agent ,
122123 'domain' => domain
123124 } )
Original file line number Diff line number Diff line change @@ -33,6 +33,9 @@ class Auxiliary::Web::Target
3333 # Virtual host as a String.
3434 attr_accessor :vhost
3535
36+ # @return String SSL/TLS Server Name Indication (SNI)
37+ attr_accessor :ssl_server_name_indication
38+
3639 # String URI path.
3740 attr_accessor :path
3841
@@ -64,6 +67,7 @@ class Auxiliary::Web::Target
6467 # :port
6568 # :forms
6669 # :auditable
70+ # :ssl_server_name_indication
6771 #
6872 def initialize ( options = { } )
6973 update ( options )
@@ -79,6 +83,7 @@ def initialize( options = {} )
7983 # :port
8084 # :forms
8185 # :auditable
86+ # :ssl_server_name_indication
8287 #
8388 def update ( options = { } )
8489 options . each { |k , v | send ( "#{ k } =" , v ) }
You can’t perform that action at this time.
0 commit comments