Tor Randomized Timer connection

Hello everyone.
It is possible to create (or already exists) a script/app to change the path/circuits used by TOR in Whonix (running on the Gateway) automatically and randomly. With the time between changes varying randomly (or fixed in the configuration) between 1 and 60 minutes.

1 Like
#!/bin/bash

while true; do
    # Random delay between 1 and 60 minutes (in seconds)
    DELAY=$(( ( RANDOM % 60 + 1 ) * 60 ))

    echo "[*] Waiting for $((DELAY / 60)) minutes before switching circuit..."
    sleep $DELAY

    # Send NEWNYM signal to Tor control port
    echo -e 'AUTHENTICATE ""\nSIGNAL NEWNYM\nQUIT' | nc 127.0.0.1 9051
    echo "[+] Tor circuit changed."
done

Need to work

2 Likes

Thank You, will try as soon as possible…

hopeworld
May 4 |

#!/bin/bash

while true; do

Random delay between 1 and 60 minutes (in seconds)

DELAY=$(( ( RANDOM % 60 + 1 ) * 60 ))
echo “[*] Waiting for $((DELAY / 60)) minutes before switching circuit…”
sleep $DELAY

Send NEWNYM signal to Tor control port

echo -e ‘AUTHENTICATE “”\nSIGNAL NEWNYM\nQUIT’ | nc 127.0.0.1 9051
echo “[+] Tor circuit changed.”

done

Need to work

Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.
@media () {#yiv6217895211 html {background:#151515 !important;}#yiv6217895211 h1, #yiv6217895211 h2, #yiv6217895211 h3, #yiv6217895211 h4, #yiv6217895211 h5, #yiv6217895211 h6, #yiv6217895211 p, #yiv6217895211 span, #yiv6217895211 td {color:inherit !important;}#yiv6217895211 .yiv6217895211filtered99999 {border-color:#454545 !important;}#yiv6217895211 .yiv6217895211filtered99999 {border-color:#454545 !important;}#yiv6217895211 .yiv6217895211filtered99999 {color:#dddddd;}#yiv6217895211 .yiv6217895211filtered99999 {background:#151515 !important;}#yiv6217895211 .yiv6217895211filtered99999 {background:#151515 !important;border-bottom:1px solid #454545 !important;}#yiv6217895211 .yiv6217895211filtered99999 {border-top-color:#151515 !important;}#yiv6217895211 .yiv6217895211filtered99999 {background:#222222 !important;color:#dddddd !important;}#yiv6217895211 .yiv6217895211filtered99999 {background:#062e3d !important;color:#dddddd !important;}#yiv6217895211 .yiv6217895211filtered99999 {background:#323232 !important;border-color:#454545 !important;}}

1 Like