Hmmm...
First thing I'd do is choose a distribution and start from there. The *BSDs have some
nice projects for making really small distros that happen to be network aware. Plus
Nessus runs on just about anything with GCC -- a testimate to Renauld's code-fu -- so
it's a good idea. I'd also include ettercap on the CD. I peronsally think that it's
a bad idea to just make a CD to scan a network, where will it put it's reports? :)
The magic perl network bookmark bin is pointing me to
http://www.geekuprising.com/get_your_ip_address_with_perl as a good place to look.
For at least grabbing general network information out of ifconfig. At which point
it's just an issue of picking the appropriate script for your network and running
nessus from within perl as "nessus -q -n localhost $SOMEPORT $SOMEUSER $SOMEPASS
$$TARGET_FILE $RESULT_FILE" (adjust flags and vars in perl to your taste). This
assumes the nessusd server is running on the CD and on localhost. As far as the
targets file is
!
concerned, pipe this out of fping (www.fping.com) and that will give you a list of IPs.
Good luck
Joshua Knarr
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of phynex
Sent: Wednesday, December 17, 2003 9:52 PM
To: [EMAIL PROTECTED]
Subject: ifconfig scripts
Has anyone successfully created or attempted a script to detect the network
nessus client is on and automagically scan it? Can anyone point me in the right
direction? I though this could be useful with a live cd, for example.
phynex
_______________________________________________
Nessus mailing list
[EMAIL PROTECTED]
http://mail.nessus.org/mailman/listinfo/nessus