Commit Graph
162 Commits
Author SHA1 Message Date
Philippe Teuwen 5d5d9d9be0 make style 2023-01-14 22:22:04 +01:00
iceman1001 df05e28923 added a fingerprint test for OTP algos 2023-01-08 21:54:46 +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 d4f08abec3 Change calloc() so it passes Widnows build test
Code compiles under linux (not tested yet, I have no proxmark available right now)
Previous commit fails windows build test with:

src/cmdhfmfu.c: In function 'CmdHF14AMfuESave':
src/cmdhfmfu.c:4220:19: error: array subscript 'mfu_dump_t[0]' is partly outside array bounds of 'mfu_dump_t[0]' [-Werror=array-bounds]
 4220 |         end = dump->pages ;
      |                   ^~
In function 'GetMfuDumpFromEMul',
    inlined from 'CmdHF14AMfuESave' at src/cmdhfmfu.c:4202:15:
src/cmdhfmfu.c:4105:21: note: object of size 1076 allocated by 'calloc'
 4105 |     uint8_t *dump = calloc(MFU_MAX_BYTES + MFU_DUMP_PREFIX_LENGTH, sizeof(uint8_t));
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-23 11:40:56 +01:00
DidierA 182d167aad use calloc() 2022-11-21 22:05:24 +01:00
DidierA 584e0ad833 Added hf mfu esave 2022-11-21 01:05:48 +01:00
iceman1001 4fb096966e extra checks for argument parsing of ints. And some text updates. There are other int parsing but they are checked with mandatory param int1 2022-11-20 16:34:45 +01:00
DidierA 9dbd6e5f23 change help text to fit screen 2022-11-20 15:31:58 +01:00
DidierA 1d00ef797c hf 14a sim, hf mfu sim: add hint for Ultralitgh EV1 2022-11-20 01:26:42 +01:00
iceman1001 2627f3b3b9 the ndef printing is now more dense and it honors verbose output 2022-10-23 02:59:27 +02:00
mwalker33 e0eeafe27f mdu ndef error
Patch to stop buffer overflow on ndef read from card
Typo fix in change log.
2022-09-02 22:35:48 +10:00
iceman1001 e18194028b style 2022-08-24 07:25:10 +02:00
iceman1001 003623e5a7 fix binary string printing. Making sure no left over data is in static array 2022-08-06 13:31:46 +02:00
iceman1001 62980b5038 refactored topaz commands. It still uses a global var with dynamic memory. Added rdbl, wrbl, view, dump commands to match rest of client 2022-08-05 22:46:59 +02:00
iceman1001 2f7083a59a text 2022-07-25 07:45:57 +02:00
iceman1001 cf58ba72f2 use defines 2022-07-09 12:25:55 +02:00
Doridian 2aa524be94 below 250... 2022-06-11 12:02:48 -07:00
iceman1001 ad64fdfeb7 adapt hf mfu eview to take prefix header lenght in consideration 2022-06-06 19:07:16 +02:00
iceman1001 b4255eea77 simplify save files 2022-06-06 13:20:39 +02:00
iceman1001 f38a3ad762 adapt load dump file refactoring else where 2022-05-15 23:56:35 +02:00
Robyn 7130d74426 Update cmdhfmfu.c
corrected spelling of ultralight (from ultraligth) in the error message of hf mfu ndefread
2022-04-04 00:57:22 +01:00
iceman1001 8a95a62b00 textual 2022-04-02 14:07:34 +02:00
iceman1001 07855611e4 unify text 2022-02-24 18:03:19 +01:00
Philippe Teuwen 72ec7bf27b fix some CodeQL warnings 2022-02-16 22:23:24 +01:00
Philippe Teuwen 623169fe02 fix some CodeQL warnings 2022-02-16 20:28:38 +01:00
iceman1001 ec59acf64c style 2022-02-12 17:46:34 +01:00
iceman1001 f1d45b491c text 2022-02-12 17:42:18 +01:00
iceman1001 ba408be60b hf mfu dump - now saves EML too 2022-02-12 17:41:00 +01:00
iceman1001 e174a1e1be hf mfu restore/eload/eview/view now handles bin/eml/json. Only hf mfu dump that doesnt save EML yet 2022-02-12 17:30:30 +01:00
iceman1001 e2e06ab17a hf mfu restore now takes bin/json files. and textual adaptations 2022-02-12 12:59:42 +01:00
iceman1001 3169bf2763 hf mfu view - view binary/json mfu dump files 2022-02-12 11:26:40 +01:00
iceman1001 e6eb8cf51f change hf mfu dump text output 2022-02-12 10:00:20 +01:00
iceman1001 099abfedcf reworked it to fit style 2022-02-06 05:28:59 +01:00
İlteriş Eroğlu 3284c02fe2 add silicon info logic to hf mfu info (only for nxp chips)
Signed-off-by: İlteriş Eroğlu <ilteris@asenkron.com.tr>
2022-02-06 02:21:40 +03:00
iceman1001 22c1078b85 added pwd generator for NTAG tools. md5 of uid 2022-01-29 16:57:31 +01:00
Philippe Teuwen 977bb8786c fix pwd presence in hf mfu dump for ULEV1/NTAG 2022-01-23 19:56:14 +01:00
Philippe Teuwen adde53dbfb hf mfu info: avoid read error when pwd is provided 2022-01-23 19:46:47 +01:00
iceman1001 b9bc5f7a38 fix xiaomi pack algo 2022-01-23 14:38:42 +01:00
iceman1001 30468731e1 restore amiibo detection 2022-01-23 01:37:30 +01:00
iceman1001 0587845c56 added another pwdgen algo 2022-01-23 01:32:14 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001 6bb301f4da cppcheck fixes for const 2022-01-06 23:07:47 +01:00
iceman1001 7efd02b6e0 cppcheck fixes 2022-01-06 22:08:28 +01:00
iceman1001 0b4d584dd7 cppcheck fixes 2022-01-06 20:49:35 +01:00
Philippe Teuwen 02f2318326 option --force to hf mfu rdb/wrbl and document how to set version & sig on ultimate card 2021-12-30 12:11:22 +01:00
Philippe Teuwen dbec6edfa7 make style 2021-10-16 23:44:53 +02:00
Philippe Teuwen e5d7ce61e6 MFULC trace: detect when known key is used during auth 2021-10-15 01:31:24 +02:00
Philippe Teuwen eeb3a4eebf Fix hf mfu cauth: option -k was both for key and keep 2021-10-14 19:23:04 +02:00
Philippe Teuwen 88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen b5b946edfe save and load raw NDEF in hf * ndefread and in nfc decode 2021-09-22 21:33:37 +02:00