urbanadventurer / WhatWeb

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

ipv6-local-link-support #310

Closed dongliyang2018 closed 4 years ago

dongliyang2018 commented 4 years ago

whatweb don't support ipv6 local link,e.g. 'http://[11::10:220]' or ''http://[11::10:220]:8080'。

for example uri = URI("http://[11::10:220]") uri.hostname #11::10:220 uri.host #[11::10:220]

when use Net::HTTP.start(host,port), uri.host can't connect,but uri.hostname is ok。

'