Commit graph

260 commits

Author SHA1 Message Date
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
Philippe Teuwen 55e800e4ce text 2020-09-11 13:36:57 +02:00
iceman1001 866f4b6313 hf 14a info - ntag21x identification 2020-09-10 20:40:12 +02:00
iceman1001 5689546ae0 fix super 2020-09-10 01:40:50 +02:00
iceman1001 eb353056dc fix super 2020-09-10 01:34:29 +02:00
iceman1001 9ced99a853 cident super card 2020-09-10 01:31:54 +02:00
Philippe Teuwen 9778b272a8 Add ATS of NTAG Gen2 2020-09-09 02:01:36 +02:00
Philippe Teuwen 9f33e52ae0 Add ATS of other MFUL Gen2 2020-09-09 01:16:29 +02:00
Philippe Teuwen 22938f15dd Add ATS of other MFUL Gen2 2020-09-09 01:09:44 +02:00
Iceman 2990dba14f
Merge pull request #949 from aveao/mfucompatwrite
Introduce compatible write support to hf mfu wrbl
2020-09-08 23:27:41 +02:00
Eloff 589b0142e0 Fix: magic gen 3 card response check 2020-09-08 23:01:39 +03:00
Ave c06e5d0ac7
Remove old commented MifareUWriteBlockCompat 2020-09-07 22:44:01 +03:00
Ave f1146d360f
Introduce compatible write support to hf mfu wrbl 2020-09-07 22:34:44 +03:00
iceman1001 0be35a8e7e style 2020-09-07 10:35:09 +02:00
iceman1001 289f1c234c make sure magic wipe cmd gets 2000ms timeout 2020-09-07 10:21:29 +02:00
iceman1001 007fc0893d some gen2 identification (@mceloff) 2020-09-06 21:56:20 +02:00
iceman1001 f8f5d87844 fix "hf mfu dump" bb malloc 2020-09-06 16:15:12 +02:00
Eloff 70be7ef4d8 Magic gen 3 cards support 2020-09-05 22:32:11 +03:00
iceman1001 643a53c592 skip all zeros response that "hf mf sim" might answer.. (wrongly) 2020-09-05 08:32:26 +02:00
iceman1001 65e6af8aef dont set empty any longer 2020-09-05 08:04:46 +02:00
iceman1001 d6548d1c80 use array instead 2020-09-03 12:31:31 +02:00
iceman1001 c0c580bc66 ecfill - dont break of a bad read, fill w zeros and report back partial dump 2020-09-03 10:31:50 +02:00
iceman1001 71fc3e18d9 fixing return codes for Autopwn, added staticnested to autopwn 2020-09-02 12:16:11 +02:00
iceman1001 441bf920fc check all keys... 2020-08-31 03:04:32 +02:00
iceman1001 9cbf6c441e fix - running esave after fchk gave empty accessrights 2020-08-19 16:41:28 +02:00
slurdge df4bdc89ea Fix BIGBUF_SIZE used in #WITH_FLASH 2020-06-10 19:06:40 +02:00