94 Commits

Author SHA1 Message Date
iceman1001
8bf5a99bca codestyle prefer calloc 2021-05-19 18:07:19 +02:00
iceman1001
3418d747d9 fix cppchecker 2021-05-07 11:58:39 +02:00
iceman1001
d2646122e7 style 2021-04-16 17:10:08 +02:00
iceman1001
96f8cad9a5 hf mf decrypt - now use cliparser 2021-04-11 18:18:13 +02:00
iceman1001
e448d58291 hf mf csetuid - now supports cliparser. Also experimental 7byte support. Not seen one in the wild. untested 2021-04-11 12:48:06 +02:00
iceman1001
916e5d7ba2 versbose text 2021-04-10 08:05:33 +02:00
iceman1001
007b916643 style 2021-04-08 11:08:39 +02:00
Ryan Saridar
e223258aa2 Fix error typo 2021-04-07 22:17:57 +01:00
iceman1001
871820f8f7 fixing padding @anon 2021-04-07 09:13:45 +02:00
Iceman
1d6b4b2722 Merge pull request #1230 from VortixDev/VortixDev-patch-mfpauth
Fix mfpauth error printout
2021-03-31 08:57:54 +02:00
Ryan Saridar
b2f535f788 Make error verbose 2021-03-31 02:45:37 +01:00
Ryan Saridar
2f0b944554 Fix error byte index 2021-03-31 02:42:03 +01:00
iceman1001
62031e640c swap arrays 2021-03-30 09:34:17 +02:00
iceman1001
b7be78a8fb cbc is already done in mifare_cypher_single_block (anon) 2021-03-29 21:52:36 +02:00
iceman1001
f0510cc0d5 style 2021-03-27 10:21:54 +01:00
iceman1001
ad2b0879fc added: mem spiffs view - to view a file on SPIFFS\n mem spiffs dump - now uses cliparser and NG 2021-03-09 14:38:31 +01:00
iceman1001
f5aa78e668 cppchecker shadow 2021-02-24 00:02:59 +01:00
iceman1001
9293a25e3e hf 14a info - add MFC EV1 signature checks 2021-02-19 13:39:35 +01:00
iceman1001
4cafbcc259 hf mfdes - keeping track in the tag object of rf_field active status 2020-11-18 23:47:54 +01:00
Ave
7c5e3a29de Fix old UID display on hf mf csetuid 2020-11-15 20:14:08 +03:00
iceman1001
0f4e31bfb0 adapt return codes 2020-11-12 21:51:05 +01:00
iceman1001
243d509203 remove dump.c step2 2020-11-12 18:43:03 +01:00
NZSmartie
b788054aca Add initial suport for MIFARE Key Diversification
This adds two new options to `hf mfdes auth`

```
    -d, --kdf <kdf>                Key Derivation Function (KDF) (0=None, 1=AN10922)
    -i, --kdfi <kdfi>              KDF input (HEX 1-31 bytes)
```

By specifying `-d 1` and some kdf data `-i 00112233`, the key will be
diversified using AN10922.
2020-10-31 21:17:35 +13:00
Philippe Teuwen
fdd11c3fb2 Fix MAD decoding for DESFire 2020-10-27 20:46:51 +01:00
Philippe Teuwen
55fa5e7c35 make style 2020-10-11 22:40:05 +02:00
iceman1001
02df6ebbf7 bad memcpy based on size 2020-10-06 23:45:04 +02:00
Philippe Teuwen
31909ff140 text 2020-10-06 12:01:11 +02:00
Philippe Teuwen
9c856fd9f4 Gen3 detection: be prudent, false positives are possible 2020-10-05 22:33:33 +02:00
Philippe Teuwen
7d4c6e8faa Fix Gen3 detection bug against MFUL 2020-09-23 12:25:30 +02:00
iceman1001
8b2279dd05 fix a potential overflow 2020-09-18 19:50:45 +02:00
Philippe Teuwen
ecbcba18dd identify gen3 2020-09-11 18:17:58 +02:00
iceman1001
28ecc8fea8 renamed gen3, textual 2020-09-11 16:38:28 +02:00
iceman1001
5b695153b6 improved staticnonce tristate processing 2020-09-11 16:15:58 +02:00
iceman1001
866f4b6313 hf 14a info - ntag21x identification 2020-09-10 20:40:12 +02:00
iceman1001
25c45ef659 textual 2020-09-10 16:20:29 +02:00
iceman1001
9ced99a853 cident super card 2020-09-10 01:31:54 +02:00
iceman1001
5d6f8053c6 textual 2020-09-07 12:11:21 +02:00
iceman1001
5d357a6039 style 2020-09-07 10:39:15 +02:00
Eloff
70be7ef4d8 Magic gen 3 cards support 2020-09-05 22:32:11 +03:00
iceman1001
71fc3e18d9 fixing return codes for Autopwn, added staticnested to autopwn 2020-09-02 12:16:11 +02:00
iceman1001
2089edbba9 adapt chunksize as we progress 2020-08-31 03:05:18 +02:00
iceman1001
11695eb55c textual 2020-08-31 01:16:56 +02:00
iceman1001
4cb6e0d42e remore magic wipe 2020-08-30 02:08:17 +02:00
iceman1001
e3da69410b reenable manual wipe 2020-08-30 02:06:07 +02:00
iceman1001
110a173e6d no printf 2020-08-29 14:38:46 +02:00
Philippe Teuwen
4ed57c7c4d make style 2020-08-13 12:25:04 +02:00
iceman1001
d5b379207e fix coverity 2020-06-29 11:22:09 +02:00
iceman1001
5d08dae554 fix coverity 290769, 290768 2020-06-29 11:10:02 +02:00
iceman1001
56e171b9dc chg: data ndef - now decodes w and wo NDEF header 2020-06-21 16:34:56 +02:00
Philippe Teuwen
f69739da79 make style 2020-06-19 18:34:47 +02:00