Commit Graph
535 Commits
Author SHA1 Message Date
iceman1001 2c6e607110 style 2026-07-15 16:39:15 +02:00
iceman1001 dc5e213420 fix coverity #910754 2026-07-03 17:19:00 +02:00
iceman1001 2d43d4c021 fix coverity #910669 2026-07-03 11:20:33 +02:00
Philippe Teuwen 10fdef1811 standalone mode HF_DOEGOX_COMMIT: DESFire suspended commit without relay 2026-06-23 00:03:00 +02:00
CinderSocket 0791bcc32c fix-emulator-hardening 2026-06-08 18:08:26 -07:00
Philippe Teuwen 13b5b1d519 Adjust hf_doegox_auth0 to support counterfeits 2026-05-28 20:08:15 +02:00
Philippe Teuwen 88d20bd4f2 make style 2026-04-13 09:35:02 +02:00
iceman1001 a5301c2051 textual 2026-03-27 15:41:51 +07:00
Davi Mikael e7c1d17b90 hf_emvpng: translate inline comment to English
Update the inline comment describing the GPO/READ RECORD flow to English, as requested in review.
2026-03-25 00:23:34 -03:00
Davi Mikael c268844d50 Fix EMV flow for cards without usable READ RECORD
Capture Track 2 (tag 57) from the GPO response when available and avoid sending the fixed READ RECORD APDU if the token was already found.
This prevents unnecessary 6A83 responses and improves compatibility with cards that return the required data during GPO.
2026-03-24 20:22:53 -03:00
pingu2211 3d5f1df093 Pull docs out for all the existing stand alone modes, including a diagram and what do the lights mean, so users don't have to go digging in source code 2026-03-11 14:57:06 +11:00
Philippe Teuwen b62658f5ac make style 2026-02-21 12:43:25 +01:00
Philippe Teuwen 89d60fc2cb PoC Standalone mode: unlock Ultralight C / AES tags 2026-02-21 00:07:50 +01:00
Philippe Teuwen 3234c2ba47 cppcheck: fix redundant condition 2026-02-06 14:34:26 +01:00
Philippe Teuwen faca1550b8 hf mfu sim: add support to inject card replies 2026-01-19 21:47:49 +01:00
iceman1001 e1e8e115ab fix wrong params in fct call 2025-11-06 18:19:52 +01:00
iceman1001 4f627ad628 fix compilation error with wrong number of parameters 2025-11-06 18:15:55 +01:00
iceman1001 8585015071 fix compilation error with wrong number of parameters 2025-11-06 18:12:10 +01:00
iceman1001 3333dab6d8 style 2025-10-30 19:31:19 +01:00
Davi Mikael cba6faf2c3 feat(standalone): add EmvPng as a new standalone mode (EMV Visa w/ fixed ARQC)
Introduce EmvPng module under Proxmark3 standalone.
EMV Visa (ISO14443-4) emulation with fixed ARQC (educational/lab use).
Derived from MSDSal’s standalone mode (Salvador Mendoza), adapted for EMV Visa.
2025-10-21 18:55:45 -03:00
iceman1001 3595f42f6d add secure messaging for UL_AES. Calculating CMAC on device side 2025-10-17 13:31:19 +02:00
Oleg Moiseenko 944a80d217 make style 2025-09-21 16:41:30 +03:00
iceman1001 af9567a19e style 2025-09-12 22:00:46 +02:00
iceman1001 6ee974b935 swapped from bigbuf malloc calls to calloc calls on device side. Now all allocations should start from a known state of memory 2025-08-20 16:23:36 +02:00
iceman1001 65607fc727 added Ultralight-C simulation. hf mfu sim -t 13. Use eload first. Also added support to upload UL-C dictionaries and UL-AES to spiffs memory. A lot of textual reworked across client. Unifiy texts and a bit more color ;) 2025-06-19 17:26:20 +02:00
Philippe Teuwen a7dfd06354 fix missing HF_ST25_TEAROFF in STANDALONE_MODES_REQ_FLASH 2025-06-15 13:00:41 +02:00
Philippe Teuwen a5d02c6ba2 style 2025-06-15 12:53:33 +02:00
iceman1001 c1729ca264 if simulation fails, lets return back 2025-06-11 21:39:58 +02:00
iceman1001 646f1a5b97 making the spiffs write guarded if firmware was compiled with spiffs flash enabled 2025-06-11 12:27:04 +02:00
iceman1001 24d6013f10 making the spiffs write guarded if firmware was compiled with spiffs flash enabled 2025-06-11 12:26:11 +02:00
sup3rgiu d5beb66508 Fixed SimulateIso14443aTag() to make MFU counter increments persistent in emulator memory.
- Fixed arguments for `SimulateIso14443aInit` in `hf_msdsal.c`, `hf_cardhopper.c`, `hf_reblay.c` and `hf_tcprst.c`.
2025-05-22 19:57:30 +02:00
iceman1001 84b565bec4 style 2025-05-19 22:31:41 +02:00
nvx 812c58f601 cardhopper fixes
make usart write buffer const
sub out magic numbers with defines
fix edge case handling 255/256 byte frames (including crc)
add sanity checks to avoid buffer overrun on some "should never happen" edge cases
don't wait for rats reply from card before listening to next reader frame
cap fsci to 8 (256 bytes) as that's the most the proxmark3 codebase currently handles
eliminate 1k of ram usage by tweaking how emulation responses are sent
2025-04-21 23:17:47 +10:00
SecLabz 0970558491 Edit hf_st25_tearoff.c comment
Signed-off-by: SecLabz <85152038+SecLabz@users.noreply.github.com>
2025-04-16 15:47:52 +02:00
seclabz 19789381df Added new standalone mode HF_ST25_TEAROFF to store/restore ST25TB tags with tearoff for counters (@seclabz) 2025-04-16 14:05:10 +02:00
iceman1001 bc1c47e81b style 2025-04-13 12:25:14 +02:00
John de Kroon ec4dccb12b Define dump_file
Signed-off-by: John de Kroon <mail@johndekroon.nl>
2025-03-29 12:57:53 +01:00
John de Kroon 59839f1107 Store card in spiff memory
Signed-off-by: John de Kroon <mail@johndekroon.nl>
2025-03-29 12:55:09 +01:00
iceman1001 875b3c44b4 unify text - step 1 2025-03-25 10:12:16 +01:00
Philippe Teuwen e42932738e cppcheck: a few static & const stuff 2025-03-24 22:42:13 +01:00
iceman1001 cef07dedf6 code style, code clean up of redundant functions, comments, its many minor fixes across the platform. Sorry for not making 20 commits 2025-02-21 15:38:33 +01:00
Donny 7923d07ed0 Add hid preamble handle function for standalone 2025-02-20 21:49:15 -08:00
Philippe Teuwen 1acc030fd4 rework simaid & rename few vars 2025-02-12 08:44:42 +01:00
Shawn Hoffman aa286b4a16 fix bigbuf allocators (tracing + malloc) overwriting each other
* BigBuf.c: use s_ prefix for statics
* BigBuf_Clear_ext already calls clear_trace, so remove extra calls
* add some sanity checking of allocator args
* dont compare PDC_RNCR to false
2025-01-24 15:56:45 -08:00
iceman1001 ab676287d2 fix breaking builds 2024-11-20 23:48:14 +01:00
iceman1001 d398576fc7 the 14a sim had a wrong size check of the irats pointer instead of actual size. Only way around it was to add the length at function call 2024-11-15 13:27:39 +01:00
pingu2211 514fe677d6 rename all mifarehost functions to match style guide 2024-11-14 09:33:57 +11:00
nvx ef0cf93a5d fix typos and regenerate command list 2024-11-02 23:34:38 +10:00
nvx 6d7fcc642a add gdm flag to hf mf c* commands
this enables the use of hf mf c* commands with gdm/uscuid cards when the alt wake up mode 20(7)/23 is enabled rather than gen1 wake up
2024-11-02 22:22:13 +10:00
nvx df5e2ce05b improve cardhopper to improve reliability when parts of the packet are buffered 2024-11-02 19:53:23 +10:00