Nmap Development mailing list archives

zenmap crashed while using 'Filter hosts'


From: Kris Paernell <viewunixstats () yahoo com>
Date: Mon, 8 Jul 2013 01:51:28 -0700 (PDT)

Greetings, My absolute respect for all who contribute to the nmap project and my obeisance to the creator Fyodor! This 
crash occured while trying to find an expression that would allow me to filter hosts by including results that match 
one string while excluding those results that which contain a different string. eg: .domain.com &! mail , as an attempt 
to only show results for .domain.com (www.domain.com, www2.domain.com, nmap.domain.com, etc.domain.com) while omitting 
mail.domain.com mail1.domain.com, web-mail.domain.com, etc.

I found reference to being able to specify fields to identify which included an example to exclude results, such as: 
os:!linux , this was in a changelog. 


I will continue to search the nmap documentation for a more detailed outline of the proper syntax to use for filtering 
hosts in zenmap. Thank you for your time and I hope that the following crash report is of some use to the developers. 
Best wishes,



Version: 6.25
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/zenmapGUI/ScanInterface.py", line 247, in filter_hosts
    self.inventory.apply_filter(filter_string)
  File "/usr/lib/python2.7/dist-packages/zenmapCore/NetworkInventory.py", line 502, in apply_filter
    if not self._match_all_args(host, operator, args):
  File "/usr/lib/python2.7/dist-packages/zenmapCore/NetworkInventory.py", line 452, in _match_all_args
    if positive != self.__getattribute__("match_%s" % operator)(host, arg):
AttributeError: 'FilteredNetworkInventory' object has no attribute 'match_'
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: