Commit Graph
142 Commits
Author SHA1 Message Date
iceman1001 f5650a53af text and style 2025-02-18 18:48:33 +01:00
n-hutton acb7de9d8d more cleanup noticed just now 2025-01-21 23:51:26 +00:00
n-hutton 3eb0238481 appears to work - using normal mifare sim init
working demo

works

seems to work so far

more cleanup and works

working copy

working, clean one more pass

cleanup continues

back in buisness babyyy

final cleanup before PR I hope
2025-01-21 23:39:25 +00:00
iceman1001 00f9403537 guard the smarttonfc command 2025-01-14 21:48:26 +01:00
iceman1001 1040fa8a86 style 2025-01-14 18:18:07 +01:00
n-hutton 4a23fb05f0 Cherry pick POC of emv simulation 2024-11-21 19:23:03 +00:00
iceman1001 9ddd833cba fix string handling and styles 2024-11-02 14:50:31 +01:00
iceman1001 20a0bc3a81 style 2024-09-14 15:03:29 +02:00
iceman1001 a4edfd1b7c identify a magic ntag 215, new model, thanks @KCSEC (@iceman1001). -v param is for verbose mode 2024-09-10 19:50:12 +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 5ee9014e02 const 2024-05-14 11:10:50 +02:00
iceman1001 67c14c5314 adapt regression tests 2024-04-22 09:21:55 +02:00
iceman1001 d58a9ad84e text 2024-02-10 19:07:13 +01:00
iceman1001 bb57d6885b return values 2024-02-03 16:39:12 +01:00
iceman1001 0db2d1c92a added lf hitag eview command and unified some command description across the client 2024-01-30 11:02:10 +01:00
iceman1001 05353deb4a unified verbose param text and fixed behavior 2024-01-18 19:46:14 +01:00
iceman1001 4df743c2a0 style 2024-01-15 13:08:55 +01:00
iceman1001 0b9191185b "emv reader" - make apdu logging based on verbose flag and honor previous set value. In case we ever do this in Preferences 2024-01-10 15:04:23 +01:00
iceman1001 fdc1c9d864 text 2023-12-06 22:16:53 +01:00
iceman1001 7026fd69fb pedantic fix 2023-11-05 15:40:36 +01:00
iceman1001 c9bee6d3b8 pointer to buffer. Zero sized array not allowed when pedantic 2023-11-05 15:38:21 +01:00
iceman1001 0ff41fa652 style 2023-10-12 14:53:26 +02:00
iceman1001 82294d71f6 making sure apdu logging is turned off after command execution. Still some commands when failing, hasnt been adapted to it. 2023-10-11 12:43:58 +02:00
iceman1001 7cec258349 minor adjustments to texts 2023-10-09 20:09:22 +02:00
iceman1001 59d67b3606 fix newline in output 2023-09-28 08:54:32 +02:00
Philippe Teuwen 3aeb5c493f fix a few cppcheck warnings 2023-09-07 22:28:37 +02:00
Anton Todorov 6781dadc30 emv: display the transaction time as HH:MM:SS
in the transaction log

Signed-off-by: Anton Todorov <ANTodorov@users.noreply.github.com>
2023-08-06 14:27:58 +03:00
iceman1001 71369a3007 text style 2023-07-15 11:52:42 +02:00
iceman1001 5f8cd5caca make style 2023-07-14 18:34:14 +02:00
iceman1001 b997a78bca remove debugging code 2023-07-14 18:30:50 +02:00
iceman1001 23eca8fecc remove debugging code 2023-07-14 18:29:50 +02:00
iceman1001 3c6d1c492f text 2023-07-14 18:23:36 +02:00
iceman1001 78fe406f50 changed emv reader in verbose mode to extract and print transaction logs stored on card 2023-07-14 18:16:40 +02:00
iceman1001 6f29aa6d8f added a track2 decoder. Seems to have odd delimiters and in hex format. Most likely to be problematic when tested against plenty different types 2023-07-11 08:56:45 +02:00
iceman1001 4ffb779b40 added a track1 decoder 2023-07-11 08:26:58 +02:00
iceman1001 aa7a0b7edd coverty fixes.. those are not pointers to pointer.. 2023-07-10 17:22:16 +02:00
iceman1001 40534d1f07 style 2023-07-10 16:41:00 +02:00
iceman1001 dd3e1d3730 added EMV READER command. It will try to extract information about the EMV application that is installed on the card. 2023-07-10 16:36:57 +02:00
AloneLiberty fae8ffda44 Fix formatting and run make style 2023-03-26 16:12:39 +03:00
Christian Herrmann 2e8bacb00f Fixed data asn1 - now handles bad input better by doing correct root free of obj 2023-03-11 18:59:33 +01:00
Philippe Teuwen 8ac8e3d7d0 reduce variable scopes 2023-01-15 02:23:19 +01:00
iceman1001 67b340d838 swapped to ISO7816 defines 2023-01-14 12:26:30 +01:00
iceman1001 d3b78e0cf2 swapped to defines 2023-01-14 12:21:48 +01:00
Jean-Michel Picod 80a4698a7f Initial rework on TLV to avoid mem leaks 2023-01-06 13:03:10 +01:00
Geonyeob Kim 864b632a19 typo 2022-11-24 00:54:47 +09:00
iceman1001 c27264e4c4 text 2022-08-22 05:49:47 +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 2879b23a1c unify text 2022-02-24 17:38:01 +01:00
iceman1001 f4974a74e6 unify 2022-02-07 22:43:58 +01:00