Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PoloPing opened this issue Jun 10, 2015 · 7 comments
Open

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

PoloPing opened this issue Jun 10, 2015 · 7 comments

Comments

@PoloPing
Copy link

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
Copy link

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

@PSNAppz
Copy link

PSNAppz commented Nov 25, 2017

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

@krunalpatel3
Copy link

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
Copy link

but password did not change.

@krunalpatel3
Copy link

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

@thapecroth
Copy link

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

@mattes
Copy link
Owner

mattes commented May 30, 2021

What do you mean with "default password"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants