How to compare the password through a wordlist

0

How can I implement the code so that the password is compared through a wordlist in .txt? And print out the password that is matched. In the example below the password is the world.     

$hash = '$2a$08$Cf1f11ePArKlBJomM0F6a.EyvTNh6W2huyQi5UZst5qsHVyi3w5x.';
if (password_verify('ola mundo', $hash)) {
echo 'A senha está correta';
} else {
echo 'Senha incorreta';
}
?>
    
asked by anonymous 24.04.2017 / 04:59

0 answers