mirror of
https://github.com/nmap/nmap.git
synced 2025-12-12 10:49:02 +00:00
Remove some ancient commented SearchResult test code.
This commit is contained in:
@@ -547,27 +547,3 @@ class SearchResultTest(unittest.TestCase):
|
|||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
unittest.main()
|
unittest.main()
|
||||||
# s = SearchDir("/home/adriano/umit/test", ["usr", "xml"])
|
|
||||||
# for result in s.search(\
|
|
||||||
# keyword="",
|
|
||||||
#profile="",
|
|
||||||
#option="",
|
|
||||||
#started="1121737119",
|
|
||||||
#finished="1121737192",
|
|
||||||
#target="10.0.0.100-180",
|
|
||||||
#mac=":",
|
|
||||||
#ipv4="10.0.0.150",
|
|
||||||
#ipv6="",
|
|
||||||
#uptime=209980,
|
|
||||||
# lastboot="", MUST BE REMOVED FROM THE UI!
|
|
||||||
#port=["22", "80"],
|
|
||||||
#port_open="",
|
|
||||||
#port_filtered="",
|
|
||||||
#port_closed="",
|
|
||||||
#service="",
|
|
||||||
#osmatch="gentoo",
|
|
||||||
#product="Apache"\
|
|
||||||
# ):
|
|
||||||
|
|
||||||
# print "Ports:", result.hosts[-1].ports
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user