post api.ctl.io/v2/authentication/login < 1.txt|openssl s_client -connect api.ctl.io:443
#!/bin/sh ( y=Connection;n=0;while read x;do x1=${1#*//};x2=${x1%%/*};x3=${x1#*/}; x=$(printf "%s" "${x%%:*}:";echo "${x#*:}"); if test x"${x3}" = x"${x2}";then x3="";fi; printf "%s\r\n%s\r\n%s\r\n%s\r\n" \ "POST /${x3} HTTP/1.1" \ "Host: ${x2}" \ "Content-Type: application/json" \ "Content-Length: ${#x}"; if [ $n -gt 1 ];then printf "%s\r\n\r\n%s\r\n" "$y: keep-alive" "$x";else printf "%s\r\n\r\n%s\r\n" "$y: close" "$x";fi; export n=$((n+1)); done; if [ $n -gt 1 ];then printf "%s\r\n%s\r\n%s\r\n" \ "GET /robots.txt HTTP/1.0" \ "Host: ${x2}" \ "$y: close";fi; )
cat > 1.txt { "username": "YOUR.USERNAME", "password": "YOUR.PASSWORD" } ^D
post api.ctl.io/v2/authentication/login < 1.txt
post api.ctl.io/v2/authentication/login < 1.txt|nc -vvn 127.1 80
echo '{ "username": "YOUR.USERNAME", "password": "YOUR.PASSWORD" }' \ |post api.ctl.io/v2/authentication/login \ |nc -vvn 127.1 80
{ "username": "YOUR.USERNAME", "password": "YOUR.PASSWORD" }
(tr -d '\12' < 1.txt;echo) \ |post api.ctl.io/v2/authentication/login \ |nc -vvn 127.1 80
cat > 1.cfg pid=/tmp/1.pid [ x ] accept=127.0.0.1:80 client=yes connect=64.15.182.200:443 options=NO_TICKET options=NO_RENEGOTIATION renegotiation=no sni= sslVersion=TLSv1.3 ^D stunnel 1.cfg