Merge branch 'master' into airmon-ng-independence

This commit is contained in:
Matias Barcenas 2017-08-18 03:07:03 -05:00
commit c0586272f4
1 changed files with 1 additions and 1 deletions

View File

@ -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);