Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/expect -f
- # TOR IP CHANGE SCRIPT - torci
- # Note: add/uncomment row "ControlPort 9051" to /etc/tor/torrc file for this tor ip change script to work.
- spawn telnet 127.0.0.1 9051
- expect "Escape character is '^]'."
- send "AUTHENTICATE\r"
- expect "250 OK"
- send "signal NEWNYM\r"
- expect "250 OK"
- send "quit\r"
- # eos
Advertisement
Add Comment
Please, Sign In to add comment