diff --git a/testssl.sh b/testssl.sh index d98c585..de53937 100755 --- a/testssl.sh +++ b/testssl.sh @@ -6973,7 +6973,7 @@ fd_socket() { pr_magenta "$PROG_NAME: unable to open a socket to proxy $PROXYIP:$PROXYPORT" return 6 fi - echo "CONNECT $nodeip:$PORT" >&5 + echo -en "CONNECT $NODE:$PORT HTTP/1.1\r\nHost: $NODE:$PORT\r\n\r\n" >&5 while true ; do read proyxline <&5 if [[ "${proyxline%/*}" == "HTTP" ]]; then