[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: Change Circuit



Thanks. If someone has the same problem, two references:

http://ubuntuforums.org/showthread.php?t=558051
http://w-shadow.com/blog/2008/06/20/tor-how-to-new-identity-with-php/

2009/9/11 Neonomad <neonomad@xxxxxxxxxxx>:
> Am Freitag, 11. September 2009 01:43:09 schrieb Thiago PC:
>> Hi everybody. First of all, sorry if it has already been explained,
>> I'm new here.
>> I would like to know how to change the circuit that Tor is using (like
>> the option "Use a New Identity" at Vidalia control panel). But I want
>> to make this only using command line, running Linux. Is that possible?
>>
>> Thanks in advanced
>> Thiago
>
>
>
> First you have to enable the control port in torrc:
> ControlPort 9051
> HashedControlPassword $PASSWORDHASH
>
> The $PASSWORDHASH can be created with:
> tor --hash-password $PASSWORD
>
> Then do:
> echo "AUTHENTICATE \"$PASSWORD\"\r\nNEWNYM\r\nQUIT\r\n" |
> netcat localhost 9051
>