mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-20 08:05:57 -04:00
PLG: NMAPDEV stripping --vlan #1264
Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
1 parent
537be0f848
commit
2fdeccebe1
3 files changed
+132
-42
No files matched your search
@@ -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