Re: OT: How to determine which distro(Debian,RH, etc)?
hi ya...
> *- On 28 Aug, Shao Zhang wrote about "Re: OT: How to determine which distro(Debian,RH, etc)?"
> > How about telnet to localhost??
> >
> > Trying 127.0.0.1...
> > Connected to localhost.
> > Escape character is '^]'.
> > Debian GNU/Linux 2.0 localhost
> >
to find out info about the other machine...
why not try the following ?? ( an expect script can gather the info quickly ?
you# telnet w.x.y.z 21
Trying w.x.y.z...
Connected to name.x.y.z.
Escape character is '^]'.
220 name.x.y.z FTP server (Version wu-2.4.2-academ[BETA-12](1) Tue Jan 28 21:15:28 PST 1997) ready.
quit
you# telnet w.x.y.z 22
Trying w.x.y.z...
Connected to name.x.y.z.
Escape character is '^]'.
SSH-1.5-1.2.22
you# telnet w.x.y.z 25
Trying w.x.y.z...
Connected to name.x.y.z
Escape character is '^]'.
220 planet Smail3.2.0.90 #9 ready at Sat, 28 Aug 1999 17:41:38 -0700 (PDT)
quit
221 planet closing connection
you# telnet w.x.y.z 80
...sometimes tells you what web server details
--
-- one could use sockets to gather the info too ??
--
have fun probing
alvin
Reply to: