tcl/expect magic ssh dictionary password

view story

http://www.unix.com – Hi gurus, I am trying to do some expect/TCL magic. My goal is to write some kind of password guessing script (nearly similar to dictionary attack against ssh). I read that this could be possible with expect/TCL, I am newbie in this language, its function and its terms so please be patient ;) The normal process of logging onto server looks like this: Code: SU-capitan:/home/unix/wakatana# ssh strom This server is production server wakatana's password: [TYPING CORRECT PASSWORD "unix"] Authentication successful. Your password has expired.  You are now forced to change it. La (HowTos)