Re: Telnet Scripting?



Ok, so you're saying that I can simply send text strings to port 23 for the
same effect? Like I could send the login information and commands at timed
intervals, followed by carriage returns ('Enter' key)? If so, that's great.
But can I use vbscript, jscript, or vba to do this?

As an aside, do you know wether or not telnet.exe is even scriptable to
begin with?

"Steve Alpert" wrote:

> simsjr wrote:
> > Hello,
> >
> > I need a way to automate the Windows version of telnet to log into a Unix
> > server, send a couple of text commands, and exit. Simple.
> >
> > Can Windows telnet be scripted to do this? I can't seem to find a solid
> > "Yes" or "No" answer to this problem.
> >
> > Oh, and the ground rules are that I can't install a third party terminal or
> > use any functionality that Windows or Microsoft does not provide. So, native
> > tools only.
> >
> > Thanks!
>
> If you ignore telnet negotiation for terminal type, etc, the solution would be a
> simple tcp/ip app that opens a connection to port 23 on the server, sends the
> appropriate text, maybe waits for some reply and logs off. Not a big deal
> really for a one-off.
>
> btw, you might try posting in .networks NG!
>
> /steveA
>
> --
> Steve Alpert
> my email Fgrir_Nycreg @ vqk.pbz is encrypted with ROT13 (www.rot13.org) and spaces
>
>
.



Relevant Pages

  • [Full-Disclosure] ron1n phone home, episode 4
    ... Hacking from Windows 3.x, 95 and NT ... Use secret Windows 95 DOS commands to track down and port surf computers ... Download hacker tools such as port scanners and password crackers designed ... Now you have the option of eight TCP/IP utilities to play with: telnet, ...
    (Full-Disclosure)
  • Re: Port 110 and earthlink
    ... > I recieve a brand new PC with Windows XP SP2 installed and McAfee Virusscan ... > smtpauth.earthlink.net on port 587.... ... First, I did try a Telnet to pop.earthlink.net, and got the following ... pop.mail.yahoo.com, just to see if you get a response, or a connection ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: telnet on port 25
    ... I think you can send some commands to send messages through the smtp server. ... > using port 25. ... I have never connected on port 25 using telnet ... > contact the sender using an alternative means of communication. ...
    (AIX-L)
  • Re: telnet Help
    ... > the incoming connection to a login program that then spawns the users ... No telnet commands as such, whats that supposed to mean, how about the 17 ... you can telnet to "any" port not just port 23. ...
    (alt.os.linux)
  • Re: Telnet, Ping and Port 1025
    ... >> outgoing packets for any particular port. ... >> telnet server running and the port open to accept telnet ... > up my system to shut down the Telnet and Ping problems. ... great page from MS Technet which shows how you can use the Windows ...
    (microsoft.public.security.virus)