Commit Graph

52 Commits

Author SHA1 Message Date
Philippe Teuwen ad84875afd cppcheck nullPointerOutOfMemory 2025-03-24 23:46:43 +01:00
iceman1001 776eac5e5a revert 2025-02-18 19:49:11 +01:00
iceman1001 f2fe3768b8 should be unsigned varibles 2025-02-18 18:48:49 +01:00
Piotr Rzeszut adadfb7fad Corrected documentation on SPI FLASH memory usage after SPIFFS area extension. 2024-12-29 22:45:50 +01:00
Piotr Rzeszut 2ccfa187ab Remove unused definitions related to fixed-size SPI flash, improve comments for documentation 2024-12-29 22:19:32 +01:00
pingu2211 514fe677d6 rename all mifarehost functions to match style guide 2024-11-14 09:33:57 +11:00
douniwan5788 96d462acee add: split PacketResponseNG status to status and reason 2024-09-24 03:10:53 +08:00
Jean-Michel Picod 0c116f5517 Add the old bit32 LUA module as a compatiblity shim.
Many exisiting LUA scripts are using bit32 which has been removed
in LUA5.4 in favor of native language support of bitwise operations.
Yet, it's easier to backport this module rather than patching all the
existing LUA scripts because most of them can't be tested.
2024-09-20 17:21:17 +02:00
Jean-Michel Picod 22658097a7 Make the scripting code compatible with LUA 5.4
There's no unsigned anymore, just integers.
2024-09-20 17:21:17 +02:00
iceman1001 0fe568970b style 2024-09-13 13:44:16 +02:00
iceman1001 a18ec2b54e the string params for scripting was limited to 256 chars, this has been increased to 1024 chars, allowing for 512 hex bytes to be read. remember spaces will count as a char when using the quotes. Also increased file name array to match the rest of the pm3 client length. 2024-09-11 12:08:28 +02:00
douniwan5788 112caec054 refactor: lf config renames 2024-08-27 23:45:42 +08:00
iceman1001 5b31211971 style 2024-01-16 11:53:42 +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 4df743c2a0 style 2024-01-15 13:08:55 +01:00
iceman1001 5a483df74d add set isodepstate in lua 2024-01-14 18:24:54 +01:00
iceman1001 d08c6f404b first cleanup of hf_legic lua script. All io.open calls is problematic.\nfixed some colors in the help texts. makes it a bit easier to read\nfix loading files using the searchfile call\nstill problematic with save file calls since it should honor the user defined preference paths. 2023-07-17 22:54:43 +02:00
George Talusan d89ed735b0 add hf_mfu_amiibo_restore to restore an Amiibo dump to a blank NTAG215 2022-07-28 22:05:49 -04:00
iceman1001 9abb026d00 cleaning out unused SendCommandOLD in lua scripting 2022-02-13 20:53:32 +01:00
Philippe Teuwen 30aa7aa7d1 Adapting license headers, WIP 2022-01-08 00:40:52 +01:00
iceman1001 644da79a50 add legic crc16 to lua 2021-10-23 23:53:59 +02:00
Philippe Teuwen 6a2f2b3979 rename global conn 2021-08-21 20:21:08 +02:00
iceman1001 7bfc3d8f58 fix spiffs comms 2021-06-15 11:38:59 +02:00
Philippe Teuwen 323c391f4d nfc commands 2021-05-30 14:23:13 +02:00
iceman1001 27184d7f5b style 2021-04-08 10:44:31 +02:00
iceman1001 f0b4e6651c fix cppchecker - null checks 2021-03-26 21:47:13 +01:00
tharexde 72b21f018e Merge branch 'master' into allin
update 201129
2020-11-29 00:22:09 +01:00
iceman1001 9b2fd29149 text 2020-11-28 23:54:58 +01:00
tharexde 140037d9f0 Adaptation of the implementation of read function to that currently used in master branch 2020-10-27 19:16:54 +01:00
tharexde eee2540e85 adjustments regarding em4x50 (hopefully it works...) 2020-10-26 22:14:18 +01:00
tharexde e1b3cbfc9f will have a closer look at this later... 2020-10-22 15:09:09 +02:00
iceman1001 2479b54eb9 forgot 2020-10-20 22:22:21 +02:00
Philippe Teuwen 29f1147aad make style 2020-10-20 01:00:23 +02:00
iceman1001 8aa70b37e3 extract em 4x05 into own file 2020-10-16 19:13:40 +02:00
iceman1001 1c8194a84f fix coverity 2020-10-16 17:13:05 +02:00
iceman1001 4950098042 fix coverity 2020-10-16 17:10:24 +02:00
iceman1001 df5c635a7d hook up 4x50 read for lua 2020-10-15 19:38:49 +02:00
Philippe Teuwen 55fa5e7c35 make style 2020-10-11 22:40:05 +02:00
iceman1001 9aaae19b54 fix print w vars in lua 2020-10-11 01:35:56 +02:00
iceman1001 743ac26708 make debug.. 2020-10-10 18:14:04 +02:00
iceman1001 2098a6113b enable 4x05_read via lua 2020-10-10 00:51:02 +02:00
Philippe Teuwen ee3f5a9c2b rename t55xx trydetectmod 2020-10-09 15:31:27 +02:00
iceman1001 a5ae725834 cleanbuffer before calling a sendcommand* fct 2020-09-30 10:25:57 +02:00
Philippe Teuwen 610b456a97 fix lau scripts renaming 2020-09-23 00:11:11 +02:00
iceman1001 0be35a8e7e style 2020-09-07 10:35:09 +02:00
iceman1001 ff5f565619 redirect LUA print to Proxmark PrintAndLogEx 2020-08-31 11:36:35 +02:00
iceman1001 c502b1a4f1 no printf 2020-08-29 15:55:15 +02:00
iceman1001 dded3953ef fix memleak on realloc and uninit variable 2020-05-27 20:21:42 +02:00
Philippe Teuwen 72acec5806 Makefile & CMake rework 2020-05-25 02:15:06 +02:00
iceman1001 966bcc0d28 chg: adding execute/home/current working directory functions to lua 2020-05-19 09:13:31 +02:00