node-http-mitm-proxy icon indicating copy to clipboard operation
node-http-mitm-proxy copied to clipboard

httpsServer is not bound to options.host

Open wisec opened this issue 8 years ago • 0 comments

Hi, according to https://github.com/joeferner/node-http-mitm-proxy/blob/f79fc04b51eebfe3c0156f8c24a98c3bb935142b/lib/proxy.js#L72 http-mitm-proxy allows to bind to host via options.host settings.

This directive is not followed by httpsServer created before requesting https connections, as well. https://github.com/joeferner/node-http-mitm-proxy/blob/f79fc04b51eebfe3c0156f8c24a98c3bb935142b/lib/proxy.js#L110

wisec avatar Nov 26 '17 09:11 wisec