mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-29 03:34:35 -04:00
PLG: NMAPDEV stripping --vlan #1264
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user