rotating-proxy
rotating-proxy copied to clipboard
I wanna change the Tor IP address, how can I do that
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 ?
You should provide your password which you set up in control port
controller.authenticate(password='your-password')
controller.authenticate("YOURPASSWORDHASH")
Give your pass hash instead of your real password.
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>
but password did not change.
i think in new'r version of tor changing ip address is not allowed.
What is the default password for this docker image. I have tried an empty password with no success.
What do you mean with "default password"?