Files
gaboshlib/gaboshlib/g_newtorip.bashfunc
Oliver Bohlen 292dc8ccff first commit
2022-07-06 12:24:21 +02:00

14 lines
267 B
Bash

#!/bin/bash
function g_newtorip {
g_echo "Hole per Tor ne neue IP"
g_iptor
g_echo "Aktuelle Tor IP $g_iptor"
(echo authenticate '""'; echo signal newnym; echo quit) | nc localhost 9051
g_echo "Warte 10 Sekunden"
sleep 10
g_iptor
g_echo "Neue IP $g_iptor"
}