HTTPS SNI Monitoring How-to
Published Mar 23, 2014
Version 1.0Was this article helpful?
There seems to be a bug in the script if you try to set a HEADER
http_content=
(echo -e "$monitor_method $monitor_uri HTTP/1.1\r\nHost: $monitor_hostname\r\n${monitor_header}\r"; $sleep $monitor_stdin_sleeptime) | $openssl s_client -connect $monitor_targetip:$monitor_targetport -servername $monitor_hostname
After the ${monitor_header} there is only a \r but it should be \r\n