Research, development and trades concerning the powerful Proxmark3 device.
Remember; sharing is caring. Bring something back to the community.
"Learn the tools of the trade the hard way." +Fravia
Time changes and with it the technology
Proxmark3 @ discord
Users of this forum, please be aware that information stored on this site is not private.
Actually, I'm running on the scripting/r745 build and it successfully works with
hf mf mifare,
hf mf nested
hf mf dump
So I successfully get the dumpdata.bin, 1024kb.
However:
hf mf restore doesn't work. I get
#db# Authentication failed. Card timeout.
#db# Auth error
#db# WRITE BLOCK FINISHED
isOk:00
proxmark3>
Is there something I missed with the restore cmd?
I don't think that there is something to "solve" - probably there are misunderstandings regarding the functionality of hf mf restore.
hf mf restore writes the contents of the files dumpdata.bin and dumpkeys.bin to a blank card using the default transport key (0xffffffffffff) as key A to authenticate.
If you get authentication errors during hf mf restore, then most probably your card isn't empty (or configured with another transport key).
Yes, indeed, my problem was wrong authenticate key the second time I tried to restore a dump on a magic card.
I got the idea to create a lua-script to reset a magic card to blank-state. Instead of doing it manually.
Thanks...
I tried to write several blocks of different sectors and the error says:
proxmark3> hf mf wrbl 1 A 7b296f353c6b 43FFFF7FBD00008042FFFF7F00FF00FF
--block no:01 key type:00 key:7b 29 6f 35 3c 6b
--data: 43 ff ff 7f bd 00 00 80 42 ff ff 7f 00 ff 00 ff
#db# Cmd Error: 04
#db# Write block error
#db# WRITE BLOCK FINISHED
-------------------------------------
hf mf wrbl 5 A 668737F0EB0A 08ACDEC8984107EDDC8210F24D1914A9
--block no:05 key type:00 key:66 87 37 f0 eb 0a
--data: 08 ac de c8 98 41 07 ed dc 82 10 f2 4d 19 14 a9
#db# Cmd Error: 04
#db# Write block error
#db# WRITE BLOCK FINISHED
--------------------------------------
The key is correct!
The card is a NXP MIFARE CLASSIC 1k | 2k Plus SL1. The card isn't empty and I want to modify some bocks.
Access conditions don't allow write access to all blocks. What can I do?
Regards...