mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 05:31:31 +00:00
Fix crash when using dir: operator
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#Nmap Changelog ($Id$); -*-text-*-
|
#Nmap Changelog ($Id$); -*-text-*-
|
||||||
|
|
||||||
|
o [Zenmap] Fix a crash in results search when using the dir: operator:
|
||||||
|
AttributeError: 'SearchDB' object has no attribute 'match_dir'
|
||||||
|
[Daniel Miller]
|
||||||
|
|
||||||
o [Ncat][GH#1372] Fixed an issue with Ncat -e on Windows that caused early
|
o [Ncat][GH#1372] Fixed an issue with Ncat -e on Windows that caused early
|
||||||
termination of connections. [Alberto Garcia Illera]
|
termination of connections. [Alberto Garcia Illera]
|
||||||
|
|
||||||
|
|||||||
@@ -214,10 +214,7 @@ class SearchParser(object):
|
|||||||
# processed by the SearchResult.search() function. It is needed only to
|
# processed by the SearchResult.search() function. It is needed only to
|
||||||
# create a new SearchDir object, which is then used to perform the
|
# create a new SearchDir object, which is then used to perform the
|
||||||
# actual search().
|
# actual search().
|
||||||
if "dir" in self.search_dict:
|
self.search_gui.init_search_dirs(self.search_dict.pop("dir", []))
|
||||||
self.search_gui.init_search_dirs(self.search_dict["dir"])
|
|
||||||
else:
|
|
||||||
self.search_gui.init_search_dirs([])
|
|
||||||
|
|
||||||
|
|
||||||
class SearchGUI(gtk.VBox, object):
|
class SearchGUI(gtk.VBox, object):
|
||||||
|
|||||||
Reference in New Issue
Block a user