Open infodox opened 11 years ago
That's a good idea.
In the meantime you can use whatweb with SOCKS proxies by connecting to an HTTP proxy such as polipo or privoxy that is configured to connect through to a SOCKS proxy such as TOR.
As WhatWeb uses the Net::HTTP
library, this would be easy to implement with the socksify
gem, although this would obviously add a dependency.
Unfortunately, WhatWeb monkey patches the HTTP lib to "modify the response HTTP headers as a string" - which seems like a bad idea.
Here's an example implementation with the socksify
gem:
http = Net::HTTP.SOCKSProxy(
@proxy.host,
@proxy.port
).new(
@url.host,
@url.port
)
Just a suggestion, but SOCKS support for proxies like TOR would be a nice addition :)