Към съдържанието
bub.im

expect -f to change tor identity

cpx June 24, 2010 1 min четене TCL/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

Бъди първият коментирал

защитено · без проследяване

0 коментара