From 428cdcb731cb3bc40aa6a49613f86c9530222260 Mon Sep 17 00:00:00 2001 From: Matias Barcenas Date: Sat, 17 Mar 2018 13:53:48 -0500 Subject: [PATCH] Fixed interface loading bug & enabled resuming option. --- attacks/Handshake Snooper/attack.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/attacks/Handshake Snooper/attack.sh b/attacks/Handshake Snooper/attack.sh index 4c3e688..540d1bf 100755 --- a/attacks/Handshake Snooper/attack.sh +++ b/attacks/Handshake Snooper/attack.sh @@ -428,7 +428,7 @@ prep_attack() { # Attempt loading configuration if one is available. # TODO: Enable this by removing extraneous " -a ! " when properly implemented. - if [ -f "$attackPath/attack.conf" -a ! ]; then + if [ -f "$attackPath/attack.conf" ]; then local choice=${1:+Y} # TODO: This doesn't translate choices to the selected language. while ! echo "$choice" | grep -q "^[ynYN]$" &> /dev/null; do @@ -442,7 +442,7 @@ prep_attack() { readarray -t configuration < <(more "$attackPath/attack.conf") HandshakeSnooperDeauthenticatorIdentifier=${configuration[0]} - HandshakeSnooperJammerInterface=${configuration[1]} + HandshakeSnooperUninitializedJammerInterface=${configuration[1]} HandshakeSnooperVerifierIdentifier=${configuration[2]} HandshakeSnooperVerifierInterval=${configuration[3]} HandshakeSnooperVerifierSynchronicity=${configuration[4]}