Commit graph

87 commits

Author SHA1 Message Date
iceman1001
97eb0238b1 style 2023-06-02 10:45:04 +02:00
iceman1001
71f934dbd7 text 2023-05-27 10:28:54 +02:00
iceman1001
fe31bd4064 cleaning out memory unsafe functions for loading files. Also made the loading of files to honor the preference dump/trace settings. Experimental support, which will need more love. I have been using it for some months now but there are still other save/load file operations scattered in the PM3 client which will not benefit from this yet. They need to be adapted too 2023-04-23 11:32:32 +02:00
iceman1001
039937e28a added the possibility to load .MCT dump files in the client. MCT format is a textual one like EML but with extra descriptive lines of text before each sector 2023-04-23 11:27:12 +02:00
iceman1001
dab3171ba6 added loadbinarykeys fct which takes fn and loads binary MFC keys into two arrays KeyA, KeyB. 2023-03-30 22:38:03 +02:00
Philippe Teuwen
30ae0bf521 make style 2023-01-15 02:24:46 +01:00
Philippe Teuwen
04bab85557 fileutils: replace casts by union and remove warning about increase alignment requirement 2023-01-14 23:02:06 +01:00
Philippe Teuwen
5d5d9d9be0 make style 2023-01-14 22:22:04 +01:00
iceman1001
53808f2c7f sanity checks and style 2022-12-31 23:07:54 +01:00
iceman1001
e18194028b style 2022-08-24 07:25:10 +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
nvx
d11999a811 Fix eload from json files failing (ie, hf mf eload -f file.json) when the dump is the full size.
Also fixed an accidental client double free when loading dumps.
2022-08-05 18:38:51 +10:00
iceman1001
88d45d641c Do not create empty dump files 2022-08-02 22:49:25 +02:00
iceman1001
e17fc29e41 added the skeleton for fudan card support 2022-07-09 12:25:03 +02:00
Doridian
83943aafc8 and done 2022-06-11 16:16:56 -07:00
iceman1001
2c61530cba minors stuff, added some blowfish decrypt 2022-06-06 12:59:09 +02:00
iceman1001
f38a3ad762 adapt load dump file refactoring else where 2022-05-15 23:56:35 +02:00
iceman1001
d4c3082741 refactoring loading dump files 2022-05-15 23:06:46 +02:00
Philippe Teuwen
623169fe02 fix some CodeQL warnings 2022-02-16 20:28:38 +01:00
iceman1001
63bc9b5eb2 added legic view command, and converted OLD -> NG comms 2022-02-14 09:19:35 +01:00
iceman1001
ec59acf64c style 2022-02-12 17:46:34 +01:00
iceman1001
e2e06ab17a hf mfu restore now takes bin/json files. and textual adaptations 2022-02-12 12:59:42 +01:00
iceman1001
0811ad2468 loading header data for MFU json dump files 2022-02-12 09:58:46 +01:00
Philippe Teuwen
291a4a4aa2 silent clang warning on increasing required alignment 2022-01-08 12:15:24 +01:00
Philippe Teuwen
30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001
a8ccba77d6 cppcheck fixes const 2022-01-07 19:13:24 +01:00
iceman1001
81c6918ac5 cppcheck 2022-01-06 23:25:25 +01:00
Philippe Teuwen
dbec6edfa7 make style 2021-10-16 23:44:53 +02:00
Philippe Teuwen
232843477c typos 2021-10-16 23:44:53 +02:00
Philippe Teuwen
1850e9fa40 Fix hf mf dump/auto/csave MFC JSON dumps - save real ATQA/SAK 2021-09-25 01:48:52 +02:00
Philippe Teuwen
dd3b63ae32 rename global session 2021-08-21 20:31:05 +02:00
iceman1001
a10c92267e allow for 24 bytes keys to be loaded from dictionary 2021-06-25 19:45:25 +02:00
Philippe Teuwen
4c44138557 make style 2021-05-30 14:29:05 +02:00
merlokk
c83c62855b add saveFileJSONrootEx with overwrite function 2021-05-28 14:33:22 +03:00
iceman1001
1ff1fa7385 style 2021-05-11 15:43:12 +02:00
iceman1001
9498a07262 fix coverity CID 322227 2021-05-10 11:43:20 +02:00
iceman1001
358bdb7022 dynamic loading and freeing 2021-05-08 19:49:14 +02:00
iceman1001
cbf045dddb refactor fido2 commands to use load and save fcts from fileutils.c. They will now load from /client/resources and save a new file in working dir 2021-05-08 14:59:40 +02:00
iceman1001
52494a6456 added a load json root fct 2021-05-08 10:47:59 +02:00
iceman1001
49b19376fa fix cppchecker knownconditiontrueorfalse 2021-05-07 10:19:00 +02:00
iceman1001
46bf529763 change 'hf 15 restore' now supports EML/JSON 2021-04-15 18:27:24 +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
iceman1001
e35ebf6b69 mem info , now supports loading PEM with private key 2021-03-31 15:52:57 +02:00
iceman1001
b3064c4888 style 2021-02-17 08:59:20 +01:00
iceman1001
6416aaa52b add simple detection of file based on extension ftc 2021-02-11 15:36:56 +01:00
Philippe Teuwen
f2bc066858 make style 2021-01-14 11:39:45 +01:00
iceman1001
8b7ef202c3 pref savedefaultpaths uses cliparser, enabled but is not used in the fileutils yet. 2021-01-09 22:44:09 +01:00
iceman1001
037fd47673 fix #1151 - improved feedback text 2020-12-30 18:57:30 +01:00
tharexde
d977902fd8 Merge branch 'master' into allin
update 201031
2020-10-31 14:56:23 +01:00
iceman1001
7cea1bcbf8 text 2020-10-29 19:51:26 +01:00