mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
remore magic wipe
This commit is contained in:
parent
e3da69410b
commit
4cb6e0d42e
1 changed files with 1 additions and 1 deletions
|
@ -886,7 +886,7 @@ int mfCWipe(uint8_t *uid, uint8_t *atqa, uint8_t *sak) {
|
||||||
PrintAndLogEx(INPLACE, "wipe block %d", blockNo);
|
PrintAndLogEx(INPLACE, "wipe block %d", blockNo);
|
||||||
|
|
||||||
if (blockNo == 0) {
|
if (blockNo == 0) {
|
||||||
res = mfCSetBlock(blockNo, block0, NULL, (params | MAGIC_WIPE));
|
res = mfCSetBlock(blockNo, block0, NULL, params);
|
||||||
} else {
|
} else {
|
||||||
if (mfIsSectorTrailer(blockNo))
|
if (mfIsSectorTrailer(blockNo))
|
||||||
res = mfCSetBlock(blockNo, blockK, NULL, params);
|
res = mfCSetBlock(blockNo, blockK, NULL, params);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue