urbanadventurer / WhatWeb

Next generation web scanner
https://www.morningstarsecurity.com/research/whatweb
GNU General Public License v2.0
5.56k stars 907 forks source link

bug fix while establishing https connection over a proxy and extra info in outputs logs #207

Closed rdubourguais closed 7 years ago

rdubourguais commented 7 years ago

Hi, here is the bug fix related to the issue discovered by @tmnar (https://github.com/urbanadventurer/WhatWeb/issues/183).

The issue is just a type conversion while establishing a HTTPS connection over a proxy (the @raw variable is converted to a String by the connect method but it is expected to be an Array).

rdubourguais commented 7 years ago

I also added extra info into output logs concerning the HTTP requests sent by WhatWeb. Now logs will contain extra headers and proxy configuration (can be useful for tools processing WhatWeb outputs).