Contents tagged with tools

  • Using Tor in Python scripts

    Written by on 26.7.2017. 5:53:35
    python, tor, SOCKS, tools

    I was building a tool in Python recently which had to connect to the Internet over the Tor network. As I learned some valuable lessons, I wanted to share them in this post. As Tor is actually a SOCKS5 proxy, it is quite easy to tunnel traffic over it. The catch is to prevent the local machine to perform the DNS queries, as those would leak important privacy information.