Re: Parallell port scanners

Jon Knight (jon@net.lut.ac.uk)
Wed, 11 Nov 1998 10:24:40 +0000 (GMT)

On Wed, 11 Nov 1998, Magnus Hacker wrote:
> I browsed through the list archives on mostang.com and noticed
> that the question about parallell port scanners has been brought
> up once or twice before, but I couldn't find out whether a
> solution was found or not.

See the current threads about BizCard scanners and Wine for the current
state of play with parallel port scanner snooping. Each parallel port
scanner looks to need its own backend (and quite possibly kernel device
driver to get the required speed as was discovered with the Plustek
backend).

Tatty bye,

Jim'll

#!/usr/bin/perl -- -Whois++-client-in-6-lines-of-Perl -Beat-that-Z39.50!
use IO::Socket;sub w{$f=shift;$a{$f}=1;($h,$p,$q)=split("/",$f);$s=
IO::Socket::INET->new(PeerAddr=>"$h:$p")||return;print $s "$q\r\n";while(<$s>)
{next if(/^%/);if(/^# SERVER-TO-ASK/){while(<$s>){$x=$1 if/Name: (.*)\r\n$/;$y
=$1 if/Port: (.*)\r\n$/;$f="$x/$y/$q";@j=(@j,$f)if(/^# END/&&!$a{$f})}}else{
print}}close($s)}@j=shift;while(@j){w(pop(@j))}# whois++.pl host/port/query

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com