From 7dd727909794e2bb11c9537b19b0eb8d3ba97426 Mon Sep 17 00:00:00 2001 From: leiweibau <105860611+leiweibau@users.noreply.github.com> Date: Fri, 20 May 2022 14:55:46 +0200 Subject: [PATCH] edit Scan Method increase the bandwidth and set retry --- back/pialert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/back/pialert.py b/back/pialert.py index 1a1e5da7..6c6380ab 100644 --- a/back/pialert.py +++ b/back/pialert.py @@ -449,7 +449,7 @@ def execute_arpscan (pRetries): # #101 - arp-scan subnet configuration # Prepare command arguments subnets = SCAN_SUBNETS.strip().split() - arpscan_args = ['sudo', 'arp-scan', '--ignoredups', '--retry=' + str(pRetries)] + subnets + arpscan_args = ['sudo', 'arp-scan', '--ignoredups', '--bandwidth=512k', '--retry=1'] + subnets # arpscan_args = ['sudo', 'arp-scan', SCAN_SUBNETS, '--ignoredups', '--retry=' + str(pRetries)] # print (arpscan_args)