mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-20 20:18:17 +08:00
FIX: minor fix to the magictest function. It always makes a select tag first, but never took in consideration that the tag already could have been selected.
This commit is contained in:
parent
2d2f7d1948
commit
e86a89044a
1 changed files with 1 additions and 0 deletions
|
@ -522,6 +522,7 @@ static int ul_magic_test(){
|
|||
// Magic Ultralight tests
|
||||
// 1) take present UID, and try to write it back. OBSOLETE
|
||||
// 2) make a wrong length write to page0, and see if tag answers with ACK/NACK:
|
||||
ul_switch_off_field();
|
||||
iso14a_card_select_t card;
|
||||
if ( !ul_select(&card) )
|
||||
return UL_ERROR;
|
||||
|
|
Loading…
Add table
Reference in a new issue