iceman1001
|
e5b075ed3b
|
hf mf restore got some textual updates in order to be easier to understand if keyB writes fails. We use a default ACL when wiping a card that doesnt allow key B to be used for writing. Restore command tries key B first, so there will be several failed key b attempts normally.
|
2023-07-25 22:42:42 +02:00 |
|
iceman1001
|
cb9ee94ed6
|
lets see if this sorts out the memory crash on pentoo
|
2023-07-25 12:39:22 +02:00 |
|
iceman1001
|
82d80cc250
|
better memory clean up, thanks @gentilkiwi
|
2023-07-14 11:33:47 +02:00 |
|
iceman1001
|
46fc20165b
|
reduce size since this wasnt the root cause
|
2023-07-10 16:37:30 +02:00 |
|
iceman1001
|
588dea4005
|
still overflows on pentoo. Lets reserve the double the max.
|
2023-07-10 08:44:16 +02:00 |
|
iceman1001
|
17be2f6c3e
|
remember to malloc space for the defaultPaths too
|
2023-07-10 01:44:34 +02:00 |
|
iceman1001
|
74f02fef8a
|
style
|
2023-06-24 17:16:28 +02:00 |
|
iceman1001
|
55b780074f
|
move defines
|
2023-06-23 18:59:16 +02:00 |
|
iceman1001
|
d3792c0853
|
adapt mifare plus key files to be loaded/saved in json. WIP , will need a typedef struct in order to work properly
|
2023-06-21 18:48:04 +02:00 |
|
iceman1001
|
d65094b7e0
|
fixed some color to mad directory printings and fixed a sector issue in when saving keyfiles to Mifare Plus cards
|
2023-06-19 15:01:40 +02:00 |
|
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 |
|