1

The questions (1 2) about it are for mac OS. I'm strugling with windows 10.

I downloaded tor brownser and added that to the torrc file (I want to use it with scrapy)

    ControlPort 9051
    HashedControlPassword password_XYZ

(before I launch the cmd tor --hash-password "password_XYZ" )

But now the brownser doesn't work anymore. Tor unexpectedly exited.

(I tried to use the "Tor Expert Bundle on Windows" (comes without brownser) but I did not find any torrc files on it so I don't know how to use it to add the code above).

J. Does
  • 113
  • 1
  • 4

1 Answers1

0

The HashedControlPassword line is the issue.

HashedControlPassword password_XYZ

When you run tor --hash-password you should get output like this

$ tor --hash-password password_XYZ
16:54C092A84F51545F600F6DEC3CEC93D16DE4C941FE12686CD10B8F4F3E

Then you want to put the output into the HashedControlPassword torrc line so it looks like this

HashedControlPassword 16:54C092A84F51545F600F6DEC3CEC93D16DE4C941FE12686CD10B8F4F3E

On Windows, the tor.exe process won't display output properly on the cmd.exe terminal. A work around for this is to pipe it into more, e.g.

tor.exe --hash-password password_XYZ | more

This should then display the output, giving you the hashed password to put into the torrc

cacahuatl
  • 11,047
  • 2
  • 17
  • 39