mattes / rotating-proxy

Rotating TOR proxy with Docker
The Unlicense
1.13k stars 256 forks source link

I wanna change the Tor IP address, how can I do that #5

Open PoloPing opened 9 years ago

PoloPing commented 9 years ago

I create a container use the command docker run -d -p 5566:5566 -p 9051:9051 --env tors=100 mattes/rotating-proxy

and use the python lib 'stem' do something like that

from stem import Signal from stem.control import Controlle

with Controller.from_port(port = 9051) as controller:
    controller.authenticate()
    controller.signal(Signal.NEWNYM)

then I got a error stem.connection.AuthenticationFailure: socket connection failed ()

can anyone tell me how I can do ?

MikhailPavlov commented 8 years ago

You should provide your password which you set up in control port controller.authenticate(password='your-password')

PSNAppz commented 6 years ago

controller.authenticate("YOURPASSWORDHASH") Give your pass hash instead of your real password.

krunalpatel3 commented 4 years ago

how set password i try using this:-

C:\Windows\system32> cd C:\Tor Browser\Browser\TorBrowser\Tor

C:\Tor Browser\Browser\TorBrowser\Tor>tor --hash-password abcd

C:\Tor Browser\Browser\TorBrowser\Tor> tor --hash-password abcd

C:\Tor Browser\Browser\TorBrowser\Tor>

krunalpatel3 commented 4 years ago

but password did not change.

krunalpatel3 commented 4 years ago

i think in new'r version of tor changing ip address is not allowed.

thapecroth commented 3 years ago

What is the default password for this docker image. I have tried an empty password with no success.

mattes commented 3 years ago

What do you mean with "default password"?