nmaptocsv icon indicating copy to clipboard operation
nmaptocsv copied to clipboard

added optional arugment to exclude hosts parsed from normal files with empty results from ouput

Open jasonmpittman opened this issue 4 years ago • 0 comments

Hi,

I made the following changes:

  • added the '-e', '--exclude' argument to the argparser object on line 66
  • added logic such that a line like "66.110.224.130";"";"";"";"";"";"" will be excluded from output when the '-e' option is issued. this code is spans lines 627 - 636
  • updated the version on line 47
  • updated the README to reflect the the new argument.

Collectively, these changes cleanup the output when parsing normal nmap files. While this is specific to research I am working on, I thought others might also want to benefit from the change.

-Jason

jasonmpittman avatar Sep 09 '21 16:09 jasonmpittman