Quote:
Originally posted by gimpytoday
Hello there, I am in the process of writing a script which tries to test ports on different ips (where i work) port 25 to be exact and check for mail banners. I have the script telneting but the timeout is soooooooooo long. How do I shorten the timeout for telnet? I'm using the script on a red hat 9 laptop.
Thank you very much, or maybe someone knows of a better idea altogether?
|
Why are you even telnetting to host and port?? Can you not use nmap for this?
Write your script in Perl or Python or Java or C for this. You can control fine grained params there.