NullHypothesis / exitmap

A fast and modular scanner for Tor exit relays. The canonical repository (including issue tracker) is at https://gitlab.torproject.org/tpo/network-health/exitmap
https://www.cs.kau.se/philwint/spoiled_onions/
GNU General Public License v3.0
454 stars 107 forks source link

add IPv6 support to resolve function #62

Closed nusenu closed 11 months ago

nusenu commented 5 years ago

This change evaluates whether the response to the resolve SOCKS command contains an IPv4 (ATYP=01) or IPv6 (ATYP=04) address and reads as many bytes as necessary.

It also fixes a typo in the comment.