1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-08 21:51:28 +00:00

Merge #2088: Update Zenmap to Python 3 and PyGObject

Note: Ndiff build will be broken until subsequent changes are made.
Deprecation warnings will need to be addressed in future changes.
Closes #2088
This commit is contained in:
dmiller
2022-12-07 20:34:03 +00:00
parent e2e55660c3
commit 24b26317c7
104 changed files with 5381 additions and 4383 deletions

View File

@@ -1,5 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#!/usr/bin/env python3
# ***********************IMPORTANT NMAP LICENSE TERMS************************
# * *
@@ -114,7 +113,7 @@ target_list = TargetList()
if __name__ == "__main__":
t = TargetList()
print ">>> Getting empty list:", t.get_target_list()
print ">>> Adding target 127.0.0.1:", t.add_target("127.0.0.3")
print ">>> Getting target list:", t.get_target_list()
print(">>> Getting empty list:", t.get_target_list())
print(">>> Adding target 127.0.0.1:", t.add_target("127.0.0.3"))
print(">>> Getting target list:", t.get_target_list())
del t