Re: Genius scanners

Jon Knight (jon@net.lut.ac.uk)
Wed, 2 Dec 1998 09:13:35 +0000 (GMT)

On Tue, 1 Dec 1998, Jonathan Buzzard wrote:
> If you can't get the information from Genius you best bet is probably to
> try and get a Win 3.1 driver working under Wine and capture the output
> using the port tracing facilities of Wine.

Though watch out for scanners that you think are loading 16bit drivers but
still end up trying to use a 32bit VxD behind the scenes. VxD's and Wine
don't mix too well in my experience. You might be able to use bochs (the
x86 emulator that supposedly can run Win95) but I haven't tried that yet
(that's this weekend's task :-) ).

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