Skip to content

Instantly share code, notes, and snippets.

@ghost-ng
Last active December 19, 2020 15:32
Show Gist options
  • Save ghost-ng/08081c03807f7bc6e29c340a0d06e58d to your computer and use it in GitHub Desktop.
Save ghost-ng/08081c03807f7bc6e29c340a0d06e58d to your computer and use it in GitHub Desktop.
newtornode
Append to {shell}rc file
alias newtornode='echo -n "[*] Current TOR Node: ";curl --socks5 127.0.0.1:9050 http://checkip.amazonaws.com/;echo "[*] Getting New TOR Node";(echo authenticate "\"thisismypassword\""; echo signal newnym; echo quit) | nc localhost 9051 >/dev/null;sleep 5;echo -n "[+] New TOR Node: ";curl --socks5 127.0.0.1:9050 http://checkip.amazonaws.com/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment