w13scan icon indicating copy to clipboard operation
w13scan copied to clipboard

do_CONNECT filter is not working

Open osxtest opened this issue 2 years ago • 0 comments

Hi, I noticed that at code https://github.com/w-digital-scanner/w13scan/blob/master/W13SCAN/lib/proxy/baseproxy.py#L423-L450 you are trying to relay some HTTPS requests directly accroding to the extension in the CONNECT request, but it looks like it will not going to work, because the CONNECT request does not contain any extension information.

reproduce

  1. run python3 w13scan.py -s 127.0.0.1:8081
  2. use 127.0.0.1:8081 proxy at your browser
  3. visit https://www.baidu.com/favicon.ico
  4. check the browser certificate
  5. you will see W13scan cert instead baidu cert

osxtest avatar Jun 18 '22 07:06 osxtest