From 4b4bab09abc361a8efe6e91223251f0c5b6396cc Mon Sep 17 00:00:00 2001 From: user Date: Thu, 8 Feb 2024 14:15:23 -0500 Subject: [PATCH] rand time adjust - thanks gitea-user for suggestion (more to complete) --- wipri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wipri b/wipri index ad0d750..50cfdec 100644 --- a/wipri +++ b/wipri @@ -153,7 +153,7 @@ echo "" checktime=".5" # seconds between mac addr checks: lower = more frequent checks hightime="600" # Make this number higher if you want randomization times longer lowtime="300" # Make this number lower to lower min time randomized -rando=$((RANDOM%$hightime+$lowtime)) # Create Random time +rando=$((RANDOM%(${hightime}-${lowtime}+1)+$lowtime)) # Random Time Generation killbt=$(rfkill bluetooth) # use rfkill to block bluetooth (must use to re-enable if wanted) kernmit="on" # Turn on to mitigate kernel (warning: passes changes to kernel) - it's optional oui_file='/etc/wipri/final.OUI' # Valid OUI list required for verifiable MAC addresses