My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/netmap/nmap-path.patch

17 lines
425 B

diff --git a/nmap/nmap.py b/nmap/nmap.py
index 91c460d..8c5ff0a 100755
--- a/nmap/nmap.py
+++ b/nmap/nmap.py
@@ -77,11 +77,7 @@ class PortScanner(object):
def __init__(
self,
nmap_search_path=(
- "nmap",
- "/usr/bin/nmap",
- "/usr/local/bin/nmap",
- "/sw/bin/nmap",
- "/opt/local/bin/nmap",
+ "@nmap@",
),
):
"""