PLG: NMAPDEV stripping --vlan #1264

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk committed 2025-11-02 09:07:59 +11:00
1 parent 537be0f848
commit 2fdeccebe1
3 files changed
+132 -42

No files matched your search

+3
View File
@@ -116,6 +116,9 @@ def execute_scan(subnets_list, timeout, fakeMac, args):
def execute_scan_on_interface (interface, timeout, args):
# Remove unsupported VLAN flags
interface = re.sub(r'--vlan=\S+', '', interface).strip()
# Prepare command arguments
scan_args = args.split() + interface.replace('--interface=','-e ').split()