Hi,

I gave these a try, and none of these worked. Please see the output below

> *$ curl -H "Host: httbin.org <http://httbin.org>" http://127.0.0.1:8443
> <http://127.0.0.1:8443> -vv*
> * Rebuilt URL to: http://127.0.0.1:8443/
> *   Trying 127.0.0.1...
> * TCP_NODELAY set
> * Connected to 127.0.0.1 (127.0.0.1) port 8443 (#0)
> > GET / HTTP/1.1
> > Host: httbin.org
> > User-Agent: curl/7.54.0
> > Accept: */*
> >
> * Empty reply from server
> * Connection #0 to host 127.0.0.1 left intact
> curl: (52) Empty reply from server


*$ curl -H "Host: httbin.org:443 <http://httbin.org:443>"
> http://127.0.0.1:8443 <http://127.0.0.1:8443> -vv*
> * Rebuilt URL to: http://127.0.0.1:8443/
> *   Trying 127.0.0.1...
> * TCP_NODELAY set
> * Connected to 127.0.0.1 (127.0.0.1) port 8443 (#0)
> > GET / HTTP/1.1
> > Host: httbin.org:443
> > User-Agent: curl/7.54.0
> > Accept: */*
> >
> * Empty reply from server
> * Connection #0 to host 127.0.0.1 left intact
> curl: (52) Empty reply from server


*curl --proxy http://127.0.0.1:8443 <http://127.0.0.1:8443>
> https://httbin.org <https://httbin.org> -vv*
> * Rebuilt URL to: https://httbin.org/
> * No valid port number in proxy string (8443 )
> *   Trying 127.0.0.1...
> * TCP_NODELAY set
> * Connected to 127.0.0.1 (127.0.0.1) port 8443 (#0)
> * Establish HTTP proxy tunnel to httbin.org:443
> > CONNECT httbin.org:443 HTTP/1.1
> > Host: httbin.org:443
> > User-Agent: curl/7.54.0
> > Proxy-Connection: Keep-Alive
> >
> * Proxy CONNECT aborted
> * Connection #0 to host 127.0.0.1 left intact
> curl: (56) Proxy CONNECT aborted


On Sat, Dec 5, 2020 at 2:13 AM pentester <[email protected]> wrote:

>
> Hello,
>
> Give a try please
>
> 1) curl -H "Host: httbin.org" http://127.0.0.1:8443 -vv
> 2) curl -H "Host: httbin.org:443" http://127.0.0.1:8443 -vv
> 3) curl --proxy http://127.0.0.1:8443  https://httbin.org -vv
>
> Should work but can't confirm it against ATS since i can't reach my
> test machine right now. Sorry.
>
>
>

Reply via email to