Skip to content

Instantly share code, notes, and snippets.

Created Feb 21, 2013
What would you like to do?
spawn telnet
set timeout -1
expect "DD-WRT login:"
send "root
expect "Password"
send "admin
expect "#"
send "erase linux
expect "#"
send "erase nvram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment