Parse specific IP Range out of an NBE file

Christopher J Bidwell cbidwell at usgs.gov
Mon Dec 27 17:08:34 EST 2004


Is there a way that I can grep out a specific IP range out of an NBE file?

grep '192\.168\.0\.[3-25]' old.nbe > new.nbe

I thought this would have worked but it doesn't give me the results I'm
looking for.

In this example I want to be able to grep out (and let me know if there is
a better command for doing this that I'm not yet aware of):

192.168.0.[3-25] only.  I was getting 192.168.0.50 in this result...Doesn't
quite make sense.  Any ideas?


Thanks,
Chris





More information about the Nessus mailing list