Commit graph

314 commits

Author SHA1 Message Date
iceman1001
1cb15c84c1 adapting hf mf cget* commands to longer timeouts. Same with the quick eload used in autopwn among others.\nAlso adapted the return codes, so its more accurate in its reporting back to the client. Also added some more informative messages 2023-07-25 21:29:31 +02:00
iceman1001
6cc59848d5 fix bug in return code for hf mf writeblock where it would say it succeeded when it didnt 2023-07-15 11:51:08 +02:00
nvx
edd8e36d80 Cleanup arm-side reader-mode mifare classic block read/write code. 2023-07-04 00:11:01 +10:00
iceman1001
ed0d18f05d QL88 tag identification. Thanks to AnnPlusPluss and Atlab for finding the key 2023-06-28 13:27:50 +02:00
iceman1001
f64f538519 style 2023-06-25 22:30:58 +02:00
iceman1001
d40a89b27b improve the ecfill function used in autopwn among others. Lessen failed auth/reads by skipping s 16,17 using key A for MFC EV1 cards 2023-06-25 16:22:39 +02:00
iceman1001
a4e22416b9 less debug output when an auth fails 2023-06-23 18:28:44 +02:00
iceman1001
419d0c1f5b adapt return codes for some mifare commands and their debug logging. this will reduce debug message on the client side 2023-06-23 16:25:43 +02:00
iceman1001
97eb0238b1 style 2023-06-02 10:45:04 +02:00
iceman1001
ed9cdebbfa remove some debug statement 2023-04-19 02:02:20 +02:00
AloneLiberty
2b248e03e8
Merge branch 'master' into mf-supercard
Signed-off-by: AloneLiberty <111039319+AloneLiberty@users.noreply.github.com>
2023-04-03 21:45:32 +00:00
iceman1001
bb4dad45d9 style 2023-04-02 07:00:48 +02:00
AloneLiberty
3524306bf4 Implement transfer to other block in hf mf value 2023-04-01 20:49:15 +03:00
AloneLiberty
ac5dd0ffa8
Merge branch 'master' into mf-supercard
Signed-off-by: AloneLiberty <111039319+AloneLiberty@users.noreply.github.com>
2023-04-01 16:42:02 +00:00
iceman1001
6e0a6aa1e6 fix detection 2023-04-01 12:43:34 +02:00
iceman1001
222ef4e084 addded static encrypted nonce checks to nested 2023-04-01 12:24:32 +02:00
AloneLiberty
d10d8c0039 And make style 2023-03-26 18:05:11 +03:00
AloneLiberty
f3a3707c06
Merge branch 'master' into mf-supercard
Signed-off-by: AloneLiberty <111039319+AloneLiberty@users.noreply.github.com>
2023-03-26 14:58:33 +00:00
AloneLiberty
5696dd31cc Use rdbl00 instead superGen2 2023-03-26 17:52:48 +03:00
iceman1001
71ddee1386 added "hf mf gdmsetcfg" to write GDM configuration 2023-03-26 16:50:59 +02:00
AloneLiberty
d434eeae60 Supercard gen1/gen2 detection in MifareCIdent 2023-03-26 17:50:17 +03:00
iceman1001
82f5c8512d mfc writes now support tear off 2023-03-26 13:58:27 +02:00
iceman1001
97e16ba764 renamed gdm getblk to config since that is what it does 2023-03-26 03:41:12 +02:00
iceman1001
7b93de7a81 added GDM read configuration block 2023-03-25 15:00:58 +01:00
iceman1001
97dced62f4 fix CID# 405674 - array uninitialized 2023-03-21 20:55:06 +01:00
iceman1001
07f6162780 added support for the magic card called GDM. 2023-03-21 19:49:52 +01:00
iceman1001
390720144a added another gen3 test to detect gdm 2023-03-20 20:28:57 +01:00
iceman1001
9888eef8dc changed hf mf wrbl and view command to look for strict readonly ACL in the data. 2023-01-06 23:53:25 +01:00
DidierA
2f4167ee74 Consider different behavior of some Gen4 cards. Should fix #1822 2022-12-05 01:02:36 +01:00
DidierA
9a0427d4d2 Add Magic Gen4 GTU detection and symbols for Gen4 GTU protocol. 2022-11-25 10:13:33 +01:00
iceman1001
317ddf42bc style 2022-11-20 16:47:49 +01:00
iceman1001
6c163fa262 added a check for static encrypted nonces when collecting encrypted nonces for hardnested to run. Will abort the collection if detected. 2022-11-15 07:07:26 +01:00
DidierA
fa95119171 style: extract flags 2022-11-14 09:44:02 +01:00
DidierA
ee3e4968d3 remove MifareG4ReadWrite() 2022-11-13 02:08:23 +01:00
DidierA
885911c469 Rewrite of magic Gen4 GTU commands : refactor and speed 2022-11-09 15:49:07 +01:00
DidierA
876abf2818 Add hf mf gload, ggetblk, gsetblk 2022-11-05 19:40:38 +01:00
iceman1001
fede61296b fix return types to follow our style better. 14a/mf needs more love 2022-11-02 14:34:07 +01:00
iceman1001
d76284aa8d style 2022-09-04 13:58:49 +02:00
iceman1001
56525cc453 style 2022-06-30 22:54:13 +02:00
iceman1001
cd6626829c fix: use correct target 2022-06-15 07:18:58 +02:00
iceman1001
b37eaa9282 reworked staticnested a bit 2022-06-14 21:38:32 +02:00
iceman1001
1ce495b624 fix cppcheck uninitvar 2022-06-12 12:22:05 +02:00
iceman1001
65ba68f0da fix cid #394816, #394815 2022-06-12 12:18:54 +02:00
iceman1001
372ab2af98 style 2022-06-12 11:51:50 +02:00
dx林
de0549a269 StaticNested fast decrypt(backdoor 2nt.). 2022-06-10 11:02:06 +08:00
mwalker33
f5170f1d18 Mifare Classic Value operations
Added increment value, decrement value via the supplied commands and set value via the normal write command.  Also added "get" to read a value block and decode/display.
2022-06-05 16:58:53 +10:00
iceman1001
e550f8ccc8 cppcheck fixes for const 2022-01-06 15:40:11 +01:00
Philippe Teuwen
bcafc5d03c some historical copyright adjustments, thanks @iceman1001! 2022-01-06 11:24:04 +01:00
Philippe Teuwen
b703bb746b Adapting license headers, WIP 2022-01-06 02:20:38 +01:00
Philippe Teuwen
23b4a47e94 make style 2021-12-31 12:45:21 +01:00