mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
chg: prng detection now takes in consideration if detection fails.
This commit is contained in:
parent
9512f60227
commit
4e915d2eb4
5 changed files with 21 additions and 14 deletions
|
@ -501,11 +501,14 @@ int CmdHF14AInfo(const char *Cmd) {
|
|||
|
||||
detect_classic_magic();
|
||||
|
||||
if (isMifareClassic) {
|
||||
if ( detect_classic_prng() )
|
||||
PrintAndLog("Prng detection: WEAK");
|
||||
if (isMifareClassic) {
|
||||
int res = detect_classic_prng();
|
||||
if ( res == 1 )
|
||||
PrintAndLog("[+] prng detection: WEAK");
|
||||
else if (res == 0 )
|
||||
PrintAndLog("[+] prng detection: HARDEND (hardnested)");
|
||||
else
|
||||
PrintAndLog("Prng detection: HARDEND (hardnested)");
|
||||
PrintAndLog("[-] prng detection: failed");
|
||||
|
||||
if ( do_nack_test )
|
||||
detect_classic_nackbug(silent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue