Genlist - ping scanner
genlist [Input Type] [Scan Options] [General Options]
Genlist is a program that returns a list of hosts that respondingto ping probes. Thus, this list can be used to perform an scan ofthese machines using PBNJ or Nmap.
Apart of PBNJ 2.0 suite of tools to monitor changes on a network.
Usage: genlist [Input Type] [General Options]Input Type:-s --scan <target> Ping Target Range ex: 10.0.0.\*
Scan Options:-n --nmap <path> Path to Nmap executable--inter <interface> Perform scan using non default interface
General Options:-v --version Display version-h --help Display this information
Send Comments to Joshua D. Abraham ( [email protected] )
$ ./genlist -s 10.0.0.\* > iplist
$ sudo ./scanpbnj -i iplist
$ ./genlist -s 10.0.0.\* > iplist
$ sudo ./nmap -iL iplist
-s <target> Ping Target Range ex: 10.0.0.*
The ping scan is a useful method of only scanning the host that areresponding to ICMP echo requests. This scan basically takes the hostthat respond to ping and prints them. This is useful in combiningthe result with a PBNJ or Nmap scan because no time is wasted inscanning hosts that do not respond.
--interface <intface>
This option sets an alternative interface for performing the scan.This is useful when you have multiple interfaces on a machinewith restrictions on which devices can access certain IP ranges.
-n --nmap <path>
Use an alternative Nmap rather than Nmap located in the your path.This is useful if you have multiple version of Nmap installed ona system or if you are testing a new version of Nmap. Remember that ifyou are using a newly compiled version of Nmap that you need toexport NMAPDIR to the location that Nmap was compiled in. Thus, ifyou have compiled Nmap in your homedir, use the following notation torun it with Genlist:
$ export NMAPDIR=$HOME/nmap-VERSION/
$ sudo genlist -s 10.0.0.\* --nmap $HOME/nmap-VERISON/
-v --version
Prints the Genlist version number and exits.
-h --help Display this information
Prints a short help screen with the most common command flags.Running Genlist without any arguments does the same thing.
Any feature requests should be reported to the onlinefeature-request-tracking system available on the web at :http://sourceforge.net/tracker/?func=add&group_id=149390&atid=774489Before requesting a feature, please check to see if the features hasalready been requested.
Any bugs found should be reported to the online bug-tracking systemavailable on the web at :http://sourceforge.net/tracker/?func=add&group_id=149390&atid=774488.Before reporting bugs, please check to see if the bug has already beenreported.
When reporting PBNJ bugs, it is important to include a reliable way toreproduce the bug, version number of PBNJ and Nmap, OSname and version, and any relevant hardware specs. And of course,patches to rectify the bug are even better.
scanpbnj(1) outputpbnj(1), nmap(1)
Joshua D. Abraham ( [email protected] )
This program is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNUGeneral Public License for more details athttp://www.gnu.org/copyleft/gpl.html, or in the COPYING file includedwith PBNJ.
It should also be noted that PBNJ has occasionally been known to crashpoorly written applications, TCP/IP stacks, and even operating systems.While this is extremely rare, it is important to keep in mind. PBNJshould never be run against mission critical systems unless you areprepared to suffer downtime. We acknowledge here that PBNJ may crashyour systems or networks and we disclaim all liability for any damageor problems PBNJ could cause.