Commit graph

385 commits

Author SHA1 Message Date
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
iceman1001
9c2b5118df hf mf gview now support user supplied password 2021-12-31 09:24:10 +01:00
Philippe Teuwen
88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen
5b54385347 rename globals 2021-08-21 23:08:26 +02:00
iceman1001
c522de5b79 added "hf mf gview" to view contents of a magic gen3 gtu card 2021-06-24 14:59:33 +02:00
iceman1001
0ac28addcb remove one test command 2021-04-11 13:58:04 +02:00
iceman1001
27184d7f5b style 2021-04-08 10:44:31 +02:00
Philippe Teuwen
e5c5629cf2 Some tunings of otptear:
- make tearoff_delay_us and tearoff_enabled globals
- use tearoff_hook and remove Dbprintf in critical tearoff timing
- move initial write from MifareU_Otp_Tearoff to CmdHF14AMfuOtpTearoff and make it optional (old behavior was writing initial 00000000 when -d was not provided)
- tearoff: compare with initial write, not with previous tearoff outcome
- rephrase some messages
- track all begin and end of erase and write phases, with quite complex logic to cover multiple cases (starting in middle of erased phase, starting with write 0, ...) and report them
- check against initial write error
- repeat same timing (up to 10x) in case of write/read errors then quit
- typos
2021-03-07 23:48:55 +01:00
iceman1001
d9195effc7 cppchecker 2021-02-23 23:53:08 +01:00
Marcos Del Sol Vives
8bf89436f8 Improve error messages on encrypted nonce acquisition 2021-01-22 16:06:39 +01:00
Marcos Del Sol Vives
7094994b57 Fix nonce acquisition 2021-01-22 16:05:45 +01:00
Ave
7c5e3a29de
Fix old UID display on hf mf csetuid 2020-11-15 20:14:08 +03:00
Philippe Teuwen
f63cf02178 make style 2020-11-07 01:32:43 +01:00
iceman1001
928a4f789e fiddling with mfu 2020-11-05 12:06:12 +01:00
iceman1001
7884c4bcb4 zero out uid 2020-11-02 07:50:07 +01:00
Philippe Teuwen
777cb5a8ce make style 2020-11-02 01:46:47 +01:00
iceman1001
fd6dda5e36 cident - verify rats has size and empty buffers before 2020-10-29 12:26:43 +01:00
iceman1001
e52b7c2139 fix: bad identification of some gen2 2020-10-29 10:53:34 +01:00
Philippe Teuwen
29f1147aad make style 2020-10-20 01:00:23 +02:00
iceman1001
7cfbdcbae9 WIP - hf mfu countertear ... 2020-10-12 19:08:29 +02:00
iceman1001
bc9545d493 hf mfu otptear - textual, changing order on initial write device 2020-10-11 18:03:29 +02:00
iceman1001
863eaf1c8f fix 2020-10-11 11:20:07 +02:00
iceman1001
43f4bba432 hf mfu otptear - use high precision clock instead 2020-10-11 10:59:57 +02:00
iceman1001
ec679385b9 hf mfu otptear - textual 2020-10-11 09:51:56 +02:00
Philippe Teuwen
7d4c6e8faa Fix Gen3 detection bug against MFUL 2020-09-23 12:25:30 +02:00
iceman1001
cedfea8149 continue testing next sector 2020-09-18 12:07:34 +02:00
Philippe Teuwen
812d9cc46a style 2020-09-12 00:31:17 +02:00
Philippe Teuwen
ecbcba18dd identify gen3 2020-09-11 18:17:58 +02:00
iceman1001
5b695153b6 improved staticnonce tristate processing 2020-09-11 16:15:58 +02:00
Philippe Teuwen
e488ef306c Fix MFC static nonce detection on some cards and do it before prng det 2020-09-11 14:09:38 +02:00