From 4eac4222cb5504e8139ba95e99b22a5c7bc219f7 Mon Sep 17 00:00:00 2001 From: Pizza <33816021+PizzaCow@users.noreply.github.com> Date: Wed, 1 Apr 2026 19:34:24 -0600 Subject: [PATCH] fix: remove --send-ip, raw sockets bypass tunnel routing --- scanner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scanner.py b/scanner.py index eacb1a9..7956d1e 100644 --- a/scanner.py +++ b/scanner.py @@ -100,7 +100,7 @@ def scan_lan(subnet: str) -> list[dict]: try: result = subprocess.run( ["nmap", "-sn", "-T5", "--min-parallelism", "100", "--max-parallelism", "256", - "--send-ip", "-oX", "-", subnet], + "-oX", "-", subnet], capture_output=True, text=True, timeout=60 ) return _parse_nmap_xml(result.stdout) @@ -120,7 +120,7 @@ def scan_lan_stream(subnet: str) -> Generator[dict, None, None]: cmd = [ "nmap", "-sn", "-T5", "--min-parallelism", "100", "--max-parallelism", "256", - "--send-ip", "-oX", "-", subnet + "-oX", "-", subnet ] try: proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, text=True)