218 Commits

Author SHA1 Message Date
Philippe Teuwen
5b54385347 rename globals 2021-08-21 23:08:26 +02:00
Philippe Teuwen
437f5f6448 rename typedef structs 2021-08-21 22:45:03 +02:00
iceman1001
078ed4dbd4 init header as 0xFF 2021-05-10 13:59:29 +02:00
iceman1001
e4f55556ba style 2021-05-05 21:04:48 +02:00
iceman1001
cd9090b6c8 hf iclass chk - now uses NG 2021-05-03 20:01:12 +02:00
iceman1001
80817cea00 hf iclass chk - rework OLD -> NG. And textual 2021-05-03 09:31:51 +02:00
iceman1001
dea87b8c48 text 2021-04-15 22:34:31 +02:00
iceman1001
6eb02c5f8e cppchecker fixes 2021-04-13 08:17:11 +02:00
iceman1001
8a05a4d1d7 smart raw - now use NG.\nhf iclass config - added more support for keyrollning (WIP)\n 2021-04-08 09:34:11 +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
Anže Jenšterle
cd36770c5e
make style 2021-02-09 16:56:55 +01:00
iceman1001
6e0673fd02 cppchecker fixes 2021-01-28 12:05:32 +01:00
tcprst
f4b100b068
show both decimal and hex for iclass blocks 2020-11-25 18:42:22 -05:00
tcprst
88b7efe69a
hf iclass restore - now use cliparser 2020-11-25 18:00:32 -05:00
tcprst
1afb335478
make style 2020-11-22 19:39:54 -05:00
iceman1001
a41e71d03d fix , unsecured card use crc16, secured MAC 2020-11-09 09:36:27 +01:00
Philippe Teuwen
29f1147aad make style 2020-10-20 01:00:23 +02:00
iceman1001
63603cc422 fix coverity 2020-10-16 17:13:14 +02:00
iceman1001
53c7e47e75 fix: hf iclass restore - now uses NG and better reporting and works :) 2020-10-14 17:41:34 +02:00
iceman1001
3868b0b4e6 hf iclass write, hf 15 raw, write, etc supports tear off trigger 2020-10-13 22:43:28 +02:00
iceman1001
597e069c50 remove HF ICLASS REPLAY, use HF ICLASS RDBL or HF ICLASS DUMP instead with option "n" 2020-10-13 11:54:38 +02:00
iceman1001
33b2b1e8b9 test: reverse the "check reader mac" in iclass sim3 2020-08-19 22:37:37 +02:00
Philippe Teuwen
4ed57c7c4d make style 2020-08-13 12:25:04 +02:00
iceman1001
f13fbe32e8 hf iclass replay 2020-08-12 13:00:30 +02:00
iceman1001
483fed90fe hf iclass replay works. A bit bad in not reading AA2. Assumes a KD mac 2020-08-11 23:46:11 +02:00
iceman1001
44227efc67 fix the config trigger 2020-08-08 11:40:06 +02:00
iceman1001
18247e892d less retries 3->2 since its so good now. read_block start /eof time in call, sanity checks, textual, save if not exist, also if current file is less than new data 2020-08-06 16:19:42 +02:00
iceman1001
9f39ea9f9b obey lock bits and correct size 2020-08-06 08:13:29 +02:00
iceman1001
d93364bc22 textual chk, loopup. Sim working on reva,b,c readers 2020-08-03 17:42:05 +02:00
iceman1001
98a5a5b9c4 full sim of non-secure pagemode dumps 2020-07-29 15:29:30 +02:00
iceman1001
e147bdc71b renamed readtagfile to view\nrenamed clone to restore\nrefactored reader, info, dump, rdbl, wrbl to be on device side. Commands now also seamless works with NON_SECURE_MPAGE 2020-07-29 11:02:30 +02:00
iceman1001
42f21e8d65 adapt iclass sim 2020-07-21 10:50:23 +02:00
iceman1001
a1529b44ca fix auth and 2020-07-19 20:45:47 +02:00
iceman1001
a59aa7a570 rename fct 2020-07-15 11:35:27 +02:00
iceman1001
1a1ebcc330 adapt for external auth calls 2020-07-14 23:12:28 +02:00
iceman1001
bac126530c prep for stand mode 2020-07-14 15:43:54 +02:00
iceman1001
4b14f21c77 fix iclass simulation 2020-07-13 23:27:16 +02:00
iceman1001
f00c0eb5cf prep for timings 2020-07-13 22:05:38 +02:00
iceman1001
e476e7f504 coding style 2020-07-13 20:13:56 +02:00
iceman1001
a6c240fe3b tosend into bigbuff 2020-07-13 17:56:19 +02:00
iceman1001
713301226d fgpa merge hell p.N 2020-07-13 12:21:42 +02:00
iceman1001
a25a5322dd fpga: added iCLASS on deviceside 2020-07-10 16:37:56 +02:00
iceman1001
05299373fa fpga 2020-07-09 19:41:52 +02:00
iceman1001
a76679f7e6 hf iclass reader 2020-07-09 00:20:52 +02:00
iceman1001
b775b68e4e fpga iclass 2020-07-07 13:18:53 +02:00
iceman1001
2502d4581b iclass merges 2020-07-07 12:32:56 +02:00
iceman1001
7c15e4b7ff fpga more iclass 2020-07-06 22:43:11 +02:00
iceman1001
6948ccff3a fpga iclass... 2020-07-06 22:33:38 +02:00
iceman1001
d83a45f0cb fpga merge changes 2020-07-06 15:16:00 +02:00
iceman1001
7d1a278197 merge hell p.x 2020-07-03 21:33:17 +02:00