As mentioned in stem.torproject:
If your torrc doesn't have a CookieAuthentication or HashedControlPassword then to authenticate you will simply call AUTHENTICATE after connecting without any credentials.
So I commented out both CookieAuthentication 1
and HashedControlPassword 16:E600ADC1B52C80BB6022A0E999A7734571A451EB6AE50FED489B72E3DF
in my torrc file.
Then I restarted Tor and tried to connect by just by issuing AUTHENTICATE, without any credential. But I got the following error:
515 Authentication failed: Password did not match HashedControlPassword value from configuration. Maybe you tried a plain text password? If so, the standard requires that you put it in double quotes.
My question is, How can I login without any credential? I am using Tor Browser Bundle 6.5 on my Windows 10.
-torrc-default file-
AvoidDiskWrites 1
Log notice stdout
SocksPort 9150 IPv6Traffic PreferIPv6 KeepAliveIsolateSOCKSAuth
ControlPort 9151
ClientTransportPlugin fte exec TorBrowser\Tor\PluggableTransports\fteproxy --managed
ClientTransportPlugin obfs2,obfs3,obfs4,scramblesuit exec TorBrowser\Tor\PluggableTransports\obfs4proxy
ClientTransportPlugin meek exec TorBrowser\Tor\PluggableTransports\terminateprocess-buffer TorBrowser\Tor\PluggableTransports\meek-client-torbrowser -- TorBrowser\Tor\PluggableTransports\meek-client
#CookieAuthentication 1
#HashedControlPassword 16:E600ADC1B52C80BB6022A0E999A7734571A451EB6AE50FED489B72E3DF
Note: I tried both commenting out and removing both lines.
-torrc file-
Bridge obfs4 198.<omitted for public post> iat-mode=0
Bridge obfs4 37.<omitted for public post> iat-mode=0
Bridge obfs4 151.<omitted for public post> iat-mode=0
DataDirectory C:\Users\Sourav\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor
GeoIPFile C:\Users\Sourav\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor\geoip
GeoIPv6File C:\Users\Sourav\Desktop\Tor Browser\Browser\TorBrowser\Data\Tor\geoip6
HiddenServiceStatistics 0
UseBridges 1
Still getting:
250-PROTOCOLINFO 1
250-AUTH METHODS=HASHEDPASSWORD
250-VERSION Tor="0.2.9.9"
250 OK
Screenshot of Tor data directory:
I have also tried AUTHENTICATE ""
but failed.
torrec-defaults
. I know this is not recommended because this file may get overwritten during Tor upgrade. but I was just trying things out.CookieAuthentication 1
was already present there. I commented it out first and addedHashedControlPassword 16:E600ADC1B52C80BB6022A0E999A7734571A451EB6AE50FED489B72E3DF
and it worked fine. authenticated using the password. then I commented out that line too.PROTOCOLINFO
instead ofAUTHENTICATE
? It should give back a line saying250-AUTH METHODS=NULL
, and have you accidentally defined some intorrc
which is being applied aftertorrc-defaults
?HashedControlPassword
? I have also posted a screenshot of Tor data directory. No other config file is there.tor.exe
from the command line or something?