Telnet Scripter by Neo | www.RouterTech.Org
===========================================

V 1.0.7

Tool that emulates Telnet in order to perform basic scripts.

Usage:
------

Very simple - run/execute from the command line

	E.g. "ts.exe /r:script.txt"

/r:script.txt = run script.txt

An option of the run command exists to send the session output to a file:

	E.g. "ts.exe /r:script.txt /o:output.txt"

/o:output.txt = send output to output.txt file

By default the output file is cleared each time the script is run.
If you want to keep record of previous runs then use the keep option like so:

	"ts.exe /r:script.txt /o:output.txt /keep"

Scripting Syntax
----------------

HOST ADDRESS PORT = port number optional (default: 23)
WAIT "string"     = string to wait for (not case-sensitive)
SEND "string"     = string to send
DELAY n           = wait for n seconds
ECHO "text"	  = print "text" to screen/output file
\"                = the a quote character
\n                = a line break (<CR/LF>)
# comment         = commented lines begin with # (requires space after the hash)

E.g.

HOST 192.168.1.1 23
# Log in
WAIT "login"
SEND "root\n"
WAIT "password"
SEND "mypassword\n"
WAIT "#"
ECHO "Logged in"
SEND "ls\n"
WAIT "#"