Closed GoogleCodeExporter closed 9 years ago
Here is the output of "hf mf mifare". The key found is not valid, most probably
because the first 2 bytes were zeroed.
proxmark3> hf mf mifare
-------------------------------------------------------------------------
Executing command. It may take up to 30 min.
Press the key on the proxmark3 device to abort both proxmark3 and client.
-------------------------------------------------------------------------
................................................................................
...........
isOk:01
uid(bebcfd1e) nt(4d097d02) par(000000006a32a25a) ks(00000000b29a1a02)
#db# COMMAND mifare FINISHED
|diff|{nr} |ks3|ks3^5|parity |
+----+--------+---+-----+---------------+
| 00 |00000000| a | f |0,1,0,0,1,1,0,1|
| 20 |00000020| 3 | 6 |0,1,0,1,1,0,0,1|
| 40 |00000040| c | 9 |0,1,0,1,1,0,0,0|
| 60 |00000060| 0 | 5 |0,1,0,0,0,0,0,0|
| 80 |00000080| 4 | 1 |0,1,0,1,0,1,1,0|
| a0 |000000a0| d | 8 |0,1,0,0,1,1,0,0|
| c0 |000000c0| c | 9 |0,1,0,0,0,1,0,1|
| e0 |000000e0| d | 8 |0,1,0,1,1,0,1,0|
------------------------------------------------------------------
Key found:0000713a030d
Found valid key:0000713a030d
Original comment by marc.ven...@gmail.com
on 28 Jul 2012 at 8:34
Fixed replacing all the instances of %012llx by %012I64x in printf functions.
The root cause is described in http://www.mingw.org/wiki/FAQ:
Q: Why doesn't %ll work with printf? How do I print a long long value?
A: You should use %I64 instead of %ll when using msvcrt.
Original comment by marc.ven...@gmail.com
on 30 Jul 2012 at 12:21
Could it have something to do with this?
https://code.google.com/p/proxmark3/issues/detail?id=43
Original comment by martin.holst
on 7 May 2013 at 7:02
It does not have anything to do with
https://code.google.com/p/proxmark3/issues/detail?id=43: the fix for this issue
is to replace every occurrence of %012llx by %012I64x.
I developed a fix for this issue but I never got SVN access granted. I am no
longer developing under Win32.
Original comment by marc.ven...@gmail.com
on 7 May 2013 at 10:15
Afaik, the source code works well since at least few hundred commits back (as
of writing, code is at r848). I'll assume this is fixed and close it. Please
reopen if that's not the case.
Original comment by martin.holst
on 27 Feb 2014 at 6:26
Original issue reported on code.google.com by
marc.ven...@gmail.com
on 28 Jul 2012 at 8:25