Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@anorak.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Crawling the web..
Date: 19 Nov 1996 16:42:20 -0000
Organization: Coverform Ltd.
Lines: 37
Sender: brian@awfulhak.demon.co.uk
Message-ID: <56so1c$43f@anorak.utell.net>
References: <115_9611170835@usbbs.com>
Reply-To: brian%anorak.coverform.lan@awfulhak.demon.co.uk
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
In article <115_9611170835@usbbs.com>,
john.woodstock@usbbs.com (John Woodstock) writes:
: Hello All!
:
: I'm looking for a tool that I can open a specific port and then send a message
: out, flip to receive and then record what comes back.
:
: I want this to be able to scan an entire range of addresses..
:
: I want to usse this to scan within my company to see who has web servers up and
: what brand are they using..
:
: Let me also explain, I'm not a very good C programmer, so another higher level
: language would be better.
Download my tcpchat program (on the website in my sig).
You can then then say:
for srv in ......
do
if tcpchat localhost http 2>/dev/null
then
echo Found a http on $srv
else
echo No http on $srv
fi
done
You can pass the program "Expect Send" type arguments too, but if you just
want to see if the service is there, the above should suffice.
--
Brian <brian%anorak.coverform.lan@awfulhak.demon.co.uk>
<http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....
.