Commit graph

653 commits

Author SHA1 Message Date
Iceman
1cfc69bd0d
Merge pull request #1079 from cyberpunk-re/MFU_SIM_maxReads
MFU emulation now supports automatic exit after <num> blocks read.
2020-11-30 23:14:00 +01:00
cyberpunk-re
5486bdd18c Added 'mf mfu sim t 7 n <numreads>' - MFU emulation now supports automatic exit after <num> blocks read. 2020-11-30 20:07:51 +00:00
iceman1001
1bccb77654 lf hid clone - prepped for EM. Disabled it for viking / hid clone until further testing 2020-11-30 21:06:37 +01:00
iceman1001
2fcd46f278 lf ti write - now uses NG, cliparser (untested) 2020-11-29 14:00:51 +01:00
iceman1001
b7c0d6aa5e lf viking clone - now supports clone to EM4305/4469 (untested) 2020-11-25 15:13:32 +01:00
Philippe Teuwen
a8b92f48a7 reorganize few global vars & fcts 2020-11-05 23:05:52 +01:00
iceman1001
928a4f789e fiddling with mfu 2020-11-05 12:06:12 +01:00
Philippe Teuwen
e750481d12 Fix multiple issues with reported flash memory usage:
- Remove unused next_free_memory=BigBuf_get_addr()
- Fix size retrieval of compressed data section
  by chance the corrupted value was > than correct value so
  decompression was taking place, but was returning an error
  instead of the decompressed size
- Fix reporting of compressed size into common_area
  returned value of LZ4_decompress_safe is the decompressed size
  while we needed to report the compressed size
- Fix common_area late initialization
  common_area was initialized (and zeroed) after
  uncompress_data_section() had reported the compressed size
  in common_area, so compressed size was erased

Compressed size is used in the computation of the used and available
flash memory, which is now correct
(it was wrongly telling about 6kb were free while they weren't).
2020-11-05 00:59:32 +01:00
Philippe Teuwen
777cb5a8ce make style 2020-11-02 01:46:47 +01:00
iceman1001
52164a4fd1 hf 14b sriread -> hf 14b rdbl, renamed and refactored it to read a block. use dump, to dump whole tag 2020-10-27 18:26:14 +01:00
iceman1001
57f226c922 smart upgrade - now uses NG, added crc for each transfer to verify data integrity before flashing 2020-10-26 00:38:13 +01:00
iceman1001
d8294a958b hf 14a antifuzz - now uses NG 2020-10-20 17:36:01 +02:00
iceman1001
2e27a493e8 revert to precision clock 2020-10-20 17:34:42 +02:00
Philippe Teuwen
3b83e8e703 EM 4x05 login bf 2020-10-20 13:21:40 +02:00
Philippe Teuwen
29f1147aad make style 2020-10-20 01:00:23 +02:00
Philippe Teuwen
95bf65cda9 Add EM 4x05 Login 2020-10-18 23:46:36 +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
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
7cfbdcbae9 WIP - hf mfu countertear ... 2020-10-12 19:08:29 +02:00
Philippe Teuwen
07023657f2 generic tearoff: make use of new @iceman SpinDelayUsPrecision :) 2020-10-09 14:55:17 +02:00
Philippe Teuwen
7f8a4b4182 Add generic tear-off hook 2020-10-09 01:52:56 +02:00
iceman1001
9162a9d5f0 lf hic clone - now use cliparse and support FC,CN and RAW 2020-10-08 20:26:46 +02:00
Philippe Teuwen
9962b8769a EM4x05: add support for Protect command 2020-10-07 18:38:47 +02:00
iceman1001
01af87e6d7 hf 14b sniff, sim, info, - now uses cliparser 2020-10-02 18:06:21 +02:00
Philippe Teuwen
7d4c6e8faa Fix Gen3 detection bug against MFUL 2020-09-23 12:25:30 +02:00
Philippe Teuwen
35e276f8ed Add options to 'lf sniff' for repeated acquisitions 2020-09-20 11:37:51 +02:00
Philippe Teuwen
8dd803cd6b hitag: avoid warning about unaligned pointer in packed struct 2020-09-17 19:40:56 +02:00
Philippe Teuwen
4ec7bca270 Add option to define extra symbols for 'lf cmdread', required e.g. for Hitag Micro and for talking to HT2 in emulation mode 2020-09-17 17:18:14 +02:00
Philippe Teuwen
c994323105 Unify 'lf read' and 'lf cmdread options', add options to cmdread 2020-09-16 12:59:42 +02: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
Philippe Teuwen
b751354ea2 hf 14a: add config loopholes to deal with badly configured cards: invalid ATQA, invalid BCC, invalid SAK 2020-09-07 00:50:27 +02:00
iceman1001
718e6d2ce8 hf legic sim -> text, use NG, report back 2020-09-06 21:41:04 +02:00
Iceman
4437148a49
Merge pull request #945 from McEloff/hf_mf_magic_gen3
Magic gen 3 cards support
2020-09-06 00:47:34 +02:00
iceman1001
744649136d change struct 2020-09-05 23:58:42 +02:00
Eloff
70be7ef4d8 Magic gen 3 cards support 2020-09-05 22:32:11 +03:00
iceman1001
441bf920fc check all keys... 2020-08-31 03:04:32 +02:00
iceman1001
6b6e038d1c debug textual 2020-08-31 01:40:02 +02:00
iceman1001
d6e3366c43 mix->ng 2020-08-26 14:37:39 +02:00
iceman1001
41375a1d09 cleaner banner 2020-08-21 17:58:07 +02:00
iceman1001
2be85939f7 fix: hf 15 cetsuid. hf 15 sim 2020-08-17 08:52:24 +02:00
iceman1001
49f49288a6 no inline 2020-08-15 11:00:27 +02:00
iceman1001
1ca66ddf47 remove debug stuff 2020-08-14 14:55:26 +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
c1a5f93dab send arguments to standalone mode 2020-08-08 23:45:09 +02:00
iceman1001
ccbfdf9e88 add: mem spiffs wipe 2020-08-08 12:33:12 +02:00
iceman1001
e309c8c7ab pm3other compilation error mplicit declaration of function "Csprintf" 2020-08-06 20:40:46 +02:00
iceman1001
d93364bc22 textual chk, loopup. Sim working on reva,b,c readers 2020-08-03 17:42:05 +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