Skip to content

expect -f to change tor identity

cpx June 24, 2010 1 min read expect
#!/usr/bin/expect -f # telnet into tor and get clean path using expect 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

Be the first to comment

protected · no tracking

0 comments