Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 3 of 3
  1. #1
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default Tor control in Python

    Hey,

    I need a way of controlling Tor connects/disconnects in Python, does anyone know of anything? Ideally I'd like to be able to connect to TOR and offer a SOCKS proxy through my Python script.

    Thanks
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

  2. #2
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    If I remember correctly Tor actually sets up a proxy server which is by default restricted to just localhost. It might even be SOCKS.

    Edit: It's a HTTP proxy, but you may be able to use this; http://code.google.com/p/torsocks/
    Last edited by Chippiewill; 09-12-2011 at 05:33 PM.
    Chippiewill.


  3. #3
    Join Date
    May 2005
    Location
    /etc/passwd
    Posts
    19,110
    Tokens
    1,139

    Latest Awards:

    Default

    I managed to get it working. Seeing as it was under Linux I installed Tor, config'd it to create a Socks5 proxy and just shoved everything I needed through it.

    I've also managed to find something called TorCtl which should allow me to get a new Tor identity, if not I'll just restart the Tor process itself.
    Quote Originally Posted by Chippiewill View Post
    e-rebel forum moderator
    :8

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •