Article View: alt.comp.os.windows-10
Article #802Re: PSA: Setting the Windows Firefox Tor browser to use USA exit nodes
From: Maria Sophia
Date: Sun, 08 Nov 2026 06:13
Date: Sun, 08 Nov 2026 06:13
188 lines
9970 bytes
9970 bytes
Maria Sophia wrote:
> So my assessment is this will likely work for the job, but it will
> take some getting used to as the goal is the following from the start:
UPDATE
My initial assessment is that those prior utilities, basically, suck.
1. "TOR with ExitNode Changer" is too simple (it only sets the country)
2. But the "TCP GUI" is far too complex (it has hundreds of settings!)
All I want is what I would think almost everyone would want, right?
a. When I log into Profile 1, use USA Tor exit node 192.0.2.10
b. When I log into Profile 1, use USA Tor exit node 192.0.2.20
c. When I log into Profile 1, use USA Tor exit node 192.0.2.30
As long as that exit node isn't on the cloudflare shit list,
it will seem normal to the web site (although they know exit nodes).
All we really need to do is change the fingerprint from A to B to C.
SETCONF ExitNodes=$FINGERPRINT_{A,B,C}
StrictExitNodes=1
SIGNAL NEWNYM
Looking to see if Tor Browser already exposes its ControlPort
A. I started the Tor browser
B. powershell Test-NetConnection 127.0.0.1 -Port 9151
C. That concluded Tor Browser was listening on TCP port 9151.
Then I checked for "control_auth_cookie", which was found in:
C:\app\browser\tor\Tor Browser\Browser\TorBrowser\Data\Tor\.
Let's check that the OS can successfully read the cookie file
and that the OS can successfully calculate its SHA256 hash.
certutil -hashfile "control_auth_cookie" SHA256
=> SHA256 hash of control_auth_cookie:
=> 643REDACTEDe0a218f0
=> CertUtil: -hashfile command completed successfully.
Let's test ControlPort authentication using torset.bat
(See below for the torset.bat which can be converted to sh.)
torset.bat
=> Authentication: 250 OK
=> Exit configuration: 250 ExitNodes={US}
=> Bootstrap status: 250-status/bootstrap-phase=NOTICE BOOTSTRAP PROGRESS=100 TAG=done SUMMARY="Done"
=> Press any key to continue . . .
This means we can control & query Tor from the command line to find
a. v1p0 Authentication: 250 OK (authenticated successfully)
b. v1p1 Exit configuration: {US} (the existing US exit restriction is active)
c. v1p2 Bootstrap: PROGRESS=100 (Tor is fully connected to the network)
We can now check whether Tor is connected before choosing exit nodes.
Let's re-use {us} fingerprints that we already found in this thread:
<https://metrics.torproject.org/>
<https://metrics.torproject.org/rs.html#search>
<https://metrics.torproject.org/rs.html#search/country:us%20flag:exit>
Profile1 $688604204AF0C0473DFFA8CD2E186D1EEAEE6916
Profile1 $B8FA90A8B7DA9B90A09AA04CD2E81E263AA8DA4C
Profile2 $BD610AAEAE179EC259B022A178A75C70042407FB
Profile3 $9C7B1DB2C5520B21E181EB945A01E9ABA42654A2
OK. Long story short, after an hour or two, this is a working script.
Note it can be ported to Linux using Python so the concept works for all.
:: ---------------------------------------------------------------------
:: torset.bat
:: Manually set known-good Tor exit nodes for specific web-login profiles
:: ---------------------------------------------------------------------
:: Usage notes:
:: 1. Manually obtain a set of desired known-good US Tor exit relays:
:: https://metrics.torproject.org/rs.html#search/country:us%20flag:exit
:: 2. Enter the desired fingerprints in the profile definitions below
:: 3. Start Tor Browser, and click the [Connect] button if necessary
:: 4. Run this script and select the desired profile
:: 5. Wait for Tor to establish new circuits before browsing
:: 6. Verify the actual exit relay and exit IP before logging in
:: Later I will remove the need to start the Tor browser first
:: ---------------------------------------------------------------------
:: v1p6 20261108 Display multi-line Tor circuit status via GETINFO
:: v1p5 20261108 Request new Tor circuits after profile selection
:: v1p4 20261108 Added multi-profile exit-node selection menu
:: v1p3 20261108 Set Profile 1 ExitNodes (two fingerprints) via SETCONF
:: v1p2 20261108 Added GETINFO status/bootstrap-phase
:: v1p1 20261108 Retrieve current ExitNodes configuration via GETCONF
:: v1p0 20261108 Tested Tor ControlPort via TCP cookie authentication
:: ---------------------------------------------------------------------
:: Summary of what this script does
:: 1. CONNECT
:: Open a TCP connection to Tor's local ControlPort (9151).
:: 2. AUTHENTICATE
:: Read Tor's control_auth_cookie and authenticate with Tor.
:: 3. INSPECT CONFIGURATION
:: Retrieve the currently configured ExitNodes fingerprints.
:: 4. APPLY PROFILE
:: Set ExitNodes to the fingerprints assigned to the selected
:: web-login profile.
:: 5. REQUEST NEW CIRCUITS
:: Send SIGNAL NEWNYM to request fresh Tor circuits.
:: 6. VERIFY CONFIGURATION
:: Read ExitNodes again to confirm the selected configuration.
:: 7. CHECK BOOTSTRAP
:: Retrieve Tor's bootstrap status.
:: 8. INSPECT CIRCUITS
:: Retrieve Tor's circuit-status information.
:: 9. IDENTIFY GENERAL-PURPOSE EXITS
:: Examine BUILT GENERAL circuits and identify their final relay.
:: 10. REPORT RESULTS
:: Compare the reported exit fingerprints with the selected
:: profile's permitted exit fingerprints.
::
:: ExitNodes configuration does not prove that a particular website
:: connection is using a particular exit relay. That will be added.
:: ---------------------------------------------------------------------
@echo off
:: Begin selection menu
echo ----------------------------------------
echo TOR EXIT NODE SELECTOR
echo ----------------------------------------
echo.
echo 1 for Profile 1 (two possible exit nodes)
echo 2 for Profile 2 (one exit node)
echo 3 for Profile 3 (one exit node)
echo.
choice /c 123Q /n /m "Select profile [1,2,3] or Q to quit: "
if errorlevel 4 exit /b
if errorlevel 3 goto profile3
if errorlevel 2 goto profile2
goto profile1
:profile1
set "PROFILE=Profile 1"
set "EXITNODES=$688604204AF0C0473DFFA8CD2E186D1EEAEE6916,$B8FA90A8B7DA9B90A09AA04CD2E81E263AA8DA4C"
goto run
:profile2
set "PROFILE=Profile 2"
set "EXITNODES=$BD610AAEAE179EC259B022A178A75C70042407FB"
goto run
:profile3
set "PROFILE=Profile 3"
set "EXITNODES=$9C7B1DB2C5520B21E181EB945A01E9ABA42654A2"
goto run
:run
echo.
echo Setting %PROFILE%...
:: End selection menu
powershell -NoProfile -ExecutionPolicy Bypass -Command ^
"$path = 'C:\app\browser\tbb\Tor Browser\Browser\TorBrowser\Data\Tor\control_auth_cookie'; ^
$cookie = [BitConverter]::ToString([IO.File]::ReadAllBytes($path)).Replace('-', ''); ^
$tcp = New-Object System.Net.Sockets.TcpClient; ^
$tcp.Connect('127.0.0.1', 9151); ^
$stream = $tcp.GetStream(); ^
$writer = New-Object System.IO.StreamWriter($stream); ^
$reader = New-Object System.IO.StreamReader($stream); ^
$writer.NewLine = [char]13 + [char]10; ^
$writer.AutoFlush = $true; ^
$writer.WriteLine('AUTHENTICATE ' + $cookie); ^
$auth = $reader.ReadLine(); ^
Write-Host ('Authentication: ' + $auth); ^
$writer.WriteLine('GETCONF ExitNodes'); ^
$config = $reader.ReadLine(); ^
Write-Host ('Exit configuration: ' + $config); ^
$writer.WriteLine('SETCONF ExitNodes=' + $env:EXITNODES); ^
$setconf = $reader.ReadLine(); ^
Write-Host ('SETCONF response: ' + $setconf); ^
$writer.WriteLine('SIGNAL NEWNYM'); ^
$newnym = $reader.ReadLine(); ^
Write-Host ('NEWNYM response: ' + $newnym); ^
$writer.WriteLine('GETCONF ExitNodes'); ^
$config = $reader.ReadLine(); ^
Write-Host ('New exit configuration: ' + $config); ^
$writer.WriteLine('GETINFO status/bootstrap-phase'); ^
do { $bootstrap = $reader.ReadLine(); ^
if ($bootstrap -ne '250 OK') { Write-Host ('Bootstrap status: ' + $bootstrap) } ^
} while ($bootstrap -ne '250 OK'); ^
$writer.WriteLine('GETINFO circuit-status'); ^
do { $circuit = $reader.ReadLine(); ^
if ($circuit -ne '250 OK') { Write-Host ('Circuit: ' + $circuit) } ^
} while ($circuit -ne '250 OK'); ^
$tcp.Close()"
pause
:: ---------------------------------------------------------------------
:: end of torset.bat
:: ---------------------------------------------------------------------
--
Posted out of the goodness of my heart to kindly help others do what I can.
Technical Details
Message-ID:
<11cp3u7$1jej$1@nnrp.usenet.blueworldhosting.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mailReferences:
<11cd4bm$2j2k$1@nnrp.usenet.blueworldhosting.com> <11cfnkn$g6n$1@nnrp.usenet.blueworldhosting.com> <11cop47$v07$1@nnrp.usenet.blueworldhosting.com> <UySHS.511$v13.100@fx38.iad>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail From: Maria Sophia <mariasophia@comprehension.com> Newsgroups: alt.comp.os.windows-10,alt.comp.software.firefox,alt.os.linux Subject: Re: PSA: Setting the Windows Firefox Tor browser to use USA exit nodes Date: Sun, 8 Nov 2026 02:13:28 -0400 Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com) Message-ID: <11cp3u7$1jej$1@nnrp.usenet.blueworldhosting.com> References: <11cd4bm$2j2k$1@nnrp.usenet.blueworldhosting.com> <11cfnkn$g6n$1@nnrp.usenet.blueworldhosting.com> <11cop47$v07$1@nnrp.usenet.blueworldhosting.com> <UySHS.511$v13.100@fx38.iad> Reply-To: pusvul@getTjewytR4so+mqe2.invalid Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 8 Nov 2026 06:13:28 -0000 (UTC) Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="l//KxG3Ge2LojWvwJg0Igv8F0ChK8RUC9RtOxMPUo3U"; posting-host="IfCZz72xNNlHXBkfV9B6WJEa9xVhaehMJfhAC6fCwnM"; logging-data="52691"; mail-complaints-to="usenet@blueworldhosting.com" User-Agent: Mojibake 1p3 Cancel-Lock: sha1:n0gn8qYFiIrHYXB54t9c9U+Wooo= sha256:SBLake/DF67wzlcvqUpHWjzxlhKnwqlbXaRMKw1JBEo= sha1:Je2fPlKrcTLbJjy9Fyp7JKZJns4= sha256:/PYIhYMIezfPIXxwLSI6ebnv2B3nBC9DZknJVEmxlvM= Content-Language: en-GB