nmap/zenmap/zenmapCore
david 4035012050 Remove the "" entry from search_keywords.
Having this entry made it appear as if there was a search criterion
named for the empty string; i.e., a string like ":foobar" would be
parsed as an operator "" with an argument "foobar". There was no match
function defined for the empty string, which led to this crash:

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_'

I did some quick tests and plain keyword searching (with no colon) seems
to still work. I'm not sure why the "" entry was ever present.

Reported by Kris Paernell.
http://seclists.org/nmap-dev/2013/q3/38
2013-07-31 21:12:51 +00:00
..
__init__.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
BasePaths.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
Diff.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
I18N.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
Name.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
NetworkInventory.py Remove the "" entry from search_keywords. 2013-07-31 21:12:51 +00:00
NmapCommand.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
NmapOptions.py Comment typo. 2013-01-04 18:59:44 +00:00
NmapParser.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
NSEDocParser.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
Paths.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
RecentScans.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
ScriptArgsParser.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
ScriptMetadata.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
SearchResult.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
StringPool.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
TargetList.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
UmitConf.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
UmitConfigParser.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
UmitDB.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
UmitLogging.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
UmitOptionParser.py Update an email address, fix a typo, and slightly reword a sentence. 2013-07-30 00:02:00 +00:00
Version.py Change version number to 6.41SVN and regenerate auto-generated files such as man page, script.db, etc. 2013-07-29 06:00:07 +00:00