Commit Graph
157 Commits
Author SHA1 Message Date
iceman1001 7f40ad7f9d style 2024-08-29 12:29:23 +02:00
Philippe Teuwen 153064ddfa Fix a bunch of potential buffer overruns with CLIGetStrWithReturn :
Most prominent one was "lf pac clone --cn 123456789" causing garbage on the terminal
Some changed code was valid before but as ppl tend to copy-paste to new code,
better to uniformize and document usages of CLIGetStrWithReturn.

Exceptions left are when filling real buffers (bin, raw,...), not strings.
2024-07-30 22:23:04 +02:00
JLitewski 6097c531c8 Merge branch 'master' into purring-basilisk
Signed-off-by: JLitewski <hackhalotwo@gmail.com>
2024-04-22 06:42:45 -04:00
iceman1001 d3f8323a3f @mwalker33 psk tests, maybe one day its good enough to merge in 2024-04-22 09:42:46 +02:00
jlitewski 2d0bc5100a Forgot about resetting the grid offsets 2024-04-20 22:47:42 -04:00
jlitewski 791f02209d Implemented Buffer SaveStates 2024-04-20 14:14:15 -04:00
Jacob Litewski f2afbca6ec Refactored Plot Annotations and some cleanup 2024-04-13 23:03:35 -04:00
iceman1001 1fe3477bfc t55xx dump - print header 2024-02-20 11:13:31 +01:00
iceman1001 eef5db3bbe added config for pyronix 2024-02-16 01:04:47 +01:00
iceman1001 c03e15b553 unify texts 2024-02-03 11:14:51 +01:00
iceman1001 41d545f5b8 text 2024-01-25 16:35:20 +01:00
nvx d2d6f80d11 Fix some missing frees, null dereferences and missing initialisation picked up by clang-analyzer 2024-01-16 00:22:53 +10:00
iceman1001 97e2d7f026 changed "data num" to accept -r -i parameters where it will reverse or inverse the values.\nrenamed some util functions 2023-12-07 16:44:31 +01:00
iceman1001 272cb2bbc5 added no save parameter to iclass dump. Also adjusted the text for the other places. 2023-10-20 16:54:44 +02:00
iceman1001 4f96d3eb46 style 2023-10-03 17:10:39 +02:00
iceman1001 89db5d3875 text 2023-10-02 20:59:01 +02:00
iceman1001 fb23d2047f reworked the JSON format for 14a, 14b, 15, cryptorf, lto, NDEF.\nDeprecated EML format. Pm3 client do not save EML files any more.nPm3 client will continue to load EML files. 2023-10-02 20:11:23 +02:00
iceman1001 25ab507137 length var is set in the preamble check... 2023-09-14 05:15:38 +02:00
iceman1001 ddfbd7f549 allow for t55xx detection to search for 0xE039 (Silicon Craft technology) 2023-09-13 21:12:09 +02:00
Philippe Teuwen d74e264250 style 2023-09-07 20:13:18 +02:00
iceman1001 279d6486c1 stylish 2023-08-24 10:22:18 +02:00
iceman1001 97eb0238b1 style 2023-06-02 10:45:04 +02:00
iceman1001 1a3a6e5f19 added no save to t55xx dump. and some minor text output style 2023-04-17 20:12:03 +02:00
Philippe Teuwen 8ac8e3d7d0 reduce variable scopes 2023-01-15 02:23:19 +01:00
Philippe Teuwen 46f8b522ca t55: remove cast and warning about increase alignment requirement 2023-01-14 23:05:46 +01:00
iceman1001 a236604716 style 2022-07-30 20:11:15 +02:00
iceman1001 56525cc453 style 2022-06-30 22:54:13 +02:00
merlokk f3b5c7e8ba decode password in case of the read/write comand 2022-06-24 15:17:02 +03:00
Doridian 789f807e83 100 2022-06-11 15:32:08 -07:00
iceman1001 f38a3ad762 adapt load dump file refactoring else where 2022-05-15 23:56:35 +02:00
Philippe Teuwen 05e48b07cc remove gcc 12.1 warning: output may be truncated writing 21 bytes into a region of size between 15 and 24 2022-05-12 22:57:22 +02:00
iceman1001 492ea52dfa adding clone option 2022-03-25 02:24:52 +01:00
Philippe Teuwen 623169fe02 fix some CodeQL warnings 2022-02-16 20:28:38 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001 d2c290c7c3 cppcheck fixes for const 2022-01-06 23:20:55 +01:00
iceman1001 0bad12fcac cppcheck 2022-01-01 17:45:43 +01:00
Philippe Teuwen 88308ea727 typos 2021-10-10 01:35:45 +02:00
Philippe Teuwen 9f36ce1b9d cppcheck reduce variable scopes 2021-09-05 23:42:14 +02:00
Philippe Teuwen 0d7f93a8e7 Fix sprint_bin usages in hf mfu and felica 2021-08-22 16:53:15 +02:00
Philippe Teuwen dd3b63ae32 rename global session 2021-08-21 20:31:05 +02:00
Philippe Teuwen 6a2f2b3979 rename global conn 2021-08-21 20:21:08 +02:00
Philippe Teuwen d88c98a786 Reduce scope of a number of globals:
APDUInFramingEnable atsFSC uid_label_map apdu_in_framing_enable uidmapping KENC_type KMAC_type jpeg_header jpeg2k_header *card_types card_app2_limit iclass_config_types jooks jooks_figures nfc_secret desdefaultkeys aesdefaultkeys k3kdefaultkeys CardAddresses default_3des_keys default_pwd_pack UL_TYPES_ARRAY UL_MEMORY_ARRAY fdxbCountryMapping translateTable invTranslateTable preamble paradox_lut pcf7931_config config DiArray FiArray FArray crc64_table signalprop
2021-08-21 19:56:07 +02:00
Philippe Teuwen ce57637c80 rename globals GraphTraceLen OddByteParity pm3_capabilities 2021-08-21 17:53:54 +02:00
Philippe Teuwen f1f2389fb4 rename globals GraphBuffer 2021-08-21 17:39:17 +02:00
Philippe Teuwen e4fbfe0f40 rename globals DemodBuffer and DemodBufferLen 2021-08-21 17:12:50 +02:00
iceman1001 765d2acbb0 t55xx detect/read/write/dump etc will fail if you set lf config to something. Moved the reset / restore of lf config to device side for T55XX readblock. t55xx sniff still obeys lf config since it uses lf sniff beneath. 2021-07-29 10:51:31 +02:00
iceman1001 bc5d7084c3 change t55xx detect to unset lf config decimation to 1 if its value wasnt 1. Thanks to @mwalker33 2021-07-28 09:51:35 +02:00
scott4290 3634fb4091 Update cmdlft55xx.c
Fixed two bugs:  >= preventing users from testing one password (start_password=end_password) and reporting that the start password is greater than the end password.  The second issue is when the end password _is_ the correct password, the found password reported was curr -1.
2021-07-10 00:00:42 -04:00
iceman1001 fc822109de unifiy file name param / textual 2021-06-25 10:02:30 +02:00
Philippe Teuwen 899f269a99 Fix wtf bug in t55xxAquireAndCompareBlock0 2021-06-01 22:52:55 +02:00