Commit Graph
237 Commits
Author SHA1 Message Date
iceman1001 a0efcb2686 fix data crypt - output error. We have 8 bytes. 2025-10-17 08:53:54 +02:00
iceman1001 599aa22431 style 2025-08-28 12:09:14 +02:00
iceman1001 ed84b1fcf4 style 2025-07-13 15:55:44 +02:00
iceman1001 ca6dbc5251 data crypto - now also can du AES256 2025-07-13 11:06:01 +02:00
iceman1001 875b3c44b4 unify text - step 1 2025-03-25 10:12:16 +01:00
iceman1001 a5dcb4a812 text and style 2025-03-21 08:30:13 +01:00
iceman1001 4d603a4530 unify hint text 2025-03-20 22:55:26 +01:00
iceman1001 b4cc21c68f modified hf 14a apdu to report back when extending time and also added a possibililty to interrupt the extension loop with button press or usb commad. A bunch of minor textual changes 2025-03-20 19:58:13 +01:00
iceman1001 17a8f0f9c2 text 2025-03-20 12:17:37 +01:00
iceman1001 b3285cce8a style 2024-11-02 15:13:40 +01:00
stuiterveer 08c22a0a5e Show correct example for lf data num --hex 2024-11-01 10:38:51 +01:00
stuiterveer a370673028 Fix typo from envelop to envelope 2024-10-31 13:15:53 +01:00
iceman1001 375b1439a1 data num now also properly pad hex converted to binary string operations 02 -> 00000010 -> 11111101 -> 01000000 2024-10-19 06:46:16 +02:00
iceman1001 8c04d9d0c8 data num didnt properly zero pad binary string outputs. It was cutting starting zeros. Those are now handled. Hex output still doesnt handle zero padding 2024-10-19 06:39:43 +02:00
douniwan5788 4b6653696c fix: CMD_DOWNLOAD_BIGBUF for getSamples() and download_trace() 2024-08-27 23:45:42 +08:00
Philippe Teuwen 3ef3c98a1d cosmetic 2024-07-31 00:49:13 +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
iceman1001 6bdfe11c1a minor fixes 2024-05-28 10:00:11 +02:00
iceman1001 369db7c9d7 style 2024-05-27 20:29:02 +02:00
Iceman 184393ee41 Merge branch 'master' into loud-nightingale
Signed-off-by: Iceman <iceman@iuse.se>
2024-05-15 09:41:50 +02:00
iceman1001 42f0699c78 style 2024-05-14 10:04:28 +02:00
jlitewski f1340495b3 Another fix to the Graph SaveStates 2024-04-25 22:06:12 -04:00
iceman1001 f6e0b8c330 style 2024-04-24 09:13:32 +02:00
Iceman 9343014b68 Merge branch 'master' into purring-basilisk
Signed-off-by: Iceman <iceman@iuse.se>
2024-04-22 17:41:01 +02:00
iceman1001 3f6ea0f0fc style 2024-04-22 16:35:22 +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 12e38cdfff text 2024-04-22 09:34: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 bb1c662af0 Graph Markers, Version 2 2024-04-18 23:08:33 -04:00
Jacob Litewski 31bfa16b76 Marker code cleanup 2024-04-14 14:58:52 -04:00
Jacob Litewski f2afbca6ec Refactored Plot Annotations and some cleanup 2024-04-13 23:03:35 -04:00
iceman1001 3c8b1317c2 deprecated hex2bin and bin2hex. Use data num instead 2024-04-13 11:30:26 +02:00
Jacob Litewski 0608a7c530 Minor Changes to the Operation Buffer Implementation
Instead of being initialized as all zeros and showing changes if those values are not zero, it now has a copy of the Graph Buffer data, and will show changes if it's different from what's stored in the Graph Buffer.
2024-04-12 08:34:05 -04:00
Jacob Litewski 6b72e39f51 Command Organization in cmddata.c
Getting ready to do some refactoring!
2024-04-11 20:06:36 -04:00
iceman1001 4e540053e9 style 2024-04-07 11:38:51 +02:00
iceman1001 21f25ccd1f the data load for long file since we got the extended sniff possibility is hard to see. This commit now shows a comma printed version. It helps me :) 2024-04-03 17:05:34 +02:00
iceman1001 700d558432 move hitag2 crypto parts to the common folder in order to be able to use it on the client side. Some textual and minor adaptations across the bord 2024-03-27 09:32:00 +01:00
iceman1001 61b8d628c2 move the hw tune command from cmddata.c into cmdhw.c where it should have been. This also removes the data tune command. 2024-02-21 13:20:51 +01:00
iceman1001 b910d7ea94 make miscchecks 2024-02-17 14:47:49 +01:00
iceman1001 f5e976afa6 style 2024-02-16 21:59:45 +01:00
iceman1001 63360b034d style 2024-02-15 18:11:46 +01:00
iceman1001 d58a9ad84e text 2024-02-10 19:07:13 +01:00
iceman1001 5a828bd6a8 data diff now handles file sizes up to 4096 bytes 2024-01-29 18:57:19 +01:00
iceman1001 081ff216eb style 2024-01-23 15:28:50 +01:00
team-orangeBlue 5243377d57 MacOS compilation fix
So for macOS, "NONE" isn't an option for PrintAndLogEx.
Info it is I guess. Padding fix applied by removing the 4 chars extra.

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2024-01-20 00:11:03 +03:00
team-orangeBlue ae0efe32f9 Add libpcrypto
I'm doing this at 0:03, this is my excuse.

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2024-01-20 00:03:20 +03:00
team-orangeBlue cd783fa2f0 Add data crypto
Command to cipher data.
Checked with premade datasets for all algorithms (AES CMAC too!)
One sample provided.

Now with make style!

Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com>
2024-01-19 23:41:29 +03:00
iceman1001 bc219ab619 fix string formatter 2024-01-18 13:44:33 +01:00
iceman1001 9c7890e50c in data manrawdemode the em410xdecode resets the size if it fails to decode, render the setdemodbuf useless afterwards. 2024-01-16 08:59:08 +01:00