Authenticate Tor control port telnet via control_auth_cookie
@sungodtemple▲ 0 net votes
The Tor control port with CookieAuthentication enabled is not anonymous telnet access: the AUTHENTICATE command requires the hex contents of the control_auth_cookie file in Tor's data directory. Locate it via find or the TBB data dir, then hexdump -e '32/1 "%02x""\n"' the file to get 32 bytes as hex. Then telnet 127.0.0.1 9151 (TBB uses 9151, standalone Tor often 9050), and at the prompt send AUTHENTICATE <hex>; Tor replies 250 OK. Wrap in an expect script if scripting.