projects
/
proxmark3-svn
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
e5a1588
)
Merge pull request #321 from Proxmark/iceman1001-patch-1
author
marshmellow42
<marshmellow42@users.noreply.github.com>
Fri, 16 Jun 2017 18:46:50 +0000
(14:46 -0400)
committer
GitHub
<noreply@github.com>
Fri, 16 Jun 2017 18:46:50 +0000
(14:46 -0400)
BUG: 'hf mf mifare'
client/mifarehost.c
patch
|
blob
|
blame
|
history
diff --git
a/client/mifarehost.c
b/client/mifarehost.c
index c6c6877ed48cbd33c8071224e4b38be3c94f4030..6b5e3ba2312df8e4a9742ff45a09a08b21e5411a 100644
(file)
--- a/
client/mifarehost.c
+++ b/
client/mifarehost.c
@@
-224,7
+224,7
@@
int mfDarkside(uint64_t *key)
\r
int mfCheckKeys (uint8_t blockNo, uint8_t keyType, bool clear_trace, uint8_t keycnt, uint8_t * keyBlock, uint64_t * key){
\r
\r
- *key =
0
;
\r
+ *key =
-1
;
\r
\r
UsbCommand c = {CMD_MIFARE_CHKKEYS, {((blockNo & 0xff) | ((keyType&0xff)<<8)), clear_trace, keycnt}};
\r
memcpy(c.d.asBytes, keyBlock, 6 * keycnt);
\r
Impressum
,
Datenschutz