tenox7 / wrp

Web Rendering Proxy: Use vintage, historical, legacy browsers on modern web
Apache License 2.0
1.08k stars 52 forks source link

HTTPS support #10

Closed claunia closed 5 years ago

claunia commented 7 years ago

Some pages will stop, or are not, supporting HTTP anymore. WRP should handle the HTTPS protocol itself for browsers that predate the adequate SSL/TLS versions like MSIE 1.5 and Mosaic.

tenox7 commented 7 years ago

Auto accept invalid SSL certificates such as self-signed certificates.

mactjaap commented 7 years ago

YEP! I can confirm..many people ask for HTTPS support!

luciditee commented 6 years ago

Is this project still active, and if so, what was the status on this particular feature?

tenox7 commented 6 years ago

Yes the project is still active however detailed a more evaluation proved that SSL support is much more difficult that originally anticipated. I'm working on it though.

girst commented 5 years ago

@tenox7, I've had good results just proxying wrp's connection through sslstrip.

+    subprocess.Popen(["sslstrip"], stdout=open(os.devnull,'w'), stderr=subprocess.STDOUT) # runs on port 10000 by default
+    QNetworkProxy.setApplicationProxy(QNetworkProxy(QNetworkProxy.HttpProxy, "localhost", 10000))
     threading.Thread(target=run_proxy).start()
tenox7 commented 5 years ago

Wow this sounds great. Could you make a PR for this?

tenox7 commented 5 years ago

Thanks! Can you make it to a configurable option? eg SSLSTRIP=True|False

mactjaap commented 5 years ago

Wowww surfing with retro computers and break the ssl barier! That would be cool.

Not sure how to get this working.... Testing on Firefox. I tried it and it starts up stripssl, but it trows 501 errors:

192.168.178.2 - - [01/Jan/2019 15:48:49] code 501, message Unsupported method ('CONNECT') 192.168.178.2 - - [01/Jan/2019 15:48:49] "CONNECT incoming.telemetry.mozilla.org:443 HTTP/1.1" 501 - 192.168.178.2 - - [01/Jan/2019 15:48:49] code 501, message Unsupported method ('CONNECT') 192.168.178.2 - - [01/Jan/2019 15:48:49] "CONNECT incoming.telemetry.mozilla.org:443 HTTP/1.1" 501 - 192.168.178.2 - - [01/Jan/2019 15:48:55] code 501, message Unsupported method ('POST')

tenox7 commented 5 years ago

Try a web browser without HTTP 1.1 support.

tenox7 commented 5 years ago

sslstrip is working okish, cdp version will also support ssl natively, closing this