Joe Rozner
73799a6c69
Raise simaid selectaid_response cap to 256
...
The selectaid_response buffer in `hf 14a simaid` was capped at 100
bytes, which is well below the ISO 14443A frame maximum of 256 bytes
and prevents users from emulating tags whose SELECT AID response is
larger than a trivial status word.
This bumps selectaid_response from 100 to 256 in all three locations
(ARM packet handler, client locals, client payload struct) along with
the argparse help text. getdata_response is left at 100. The payload
struct overlays PM3_CMD_DATA_SIZE (512) via packet->data.asBytes;
with the new sizes it totals 435 bytes, so it still fits.
Pairs with the earlier tosend bounds check / DYNAMIC_MODULATION_BUFFER2
fix, which raised the actual transmit ceiling to the 256-byte frame
limit — this change lets callers supply a response up to that limit.
2026-04-22 23:38:18 -07:00
team-orangeBlue
4be1967ab0
Add WTX support in ExchangeRaw14A
...
For whatever reason there was no support for WTX replies from a tag.
If a tag replied with an APDU frame of 0xF[n] instead of 0x0[n], the client would error out when it should not have done that.
There's now support for that.
Signed-off-by: team-orangeBlue <63470411+team-orangeBlue@users.noreply.github.com >
2026-03-25 10:12:56 +03:00
Iceman
26acc503e5
Merge pull request #3170 from kormax/14a-explicit-clear-trace-flag
...
Add ISO14A_CLEARTRACE param to explicitly clear 14a trace
2026-03-25 07:38:02 +07:00
kormax
fa08075ded
Add ISO14A_CLEARTRACE param to explicitly clear 14a trace
2026-03-24 23:24:22 +02:00
kormax
fd9d07506c
Add support for 'ResponseContains' app matching for 'aidlist.json'
2026-03-24 18:32:51 +02:00
Aaron Tulino (Aaronjamt)
bd7d0735ce
[hf 14a] Add Mifare Plus card type for sim
2026-03-18 12:48:22 -07:00
kormax
215ac24edb
Allow to detect which exact app implements AID via matching response data
2026-03-16 19:32:35 +02:00
kormax
c8a4314353
Add hf gst commands
2026-03-14 17:34:58 +02:00
kormax
24d1fe79f8
Refine known AIDs; add Android HCE
2026-03-11 20:45:24 +02:00
kormax
de94afa4f6
Add 'hf aliro info' command
2026-02-27 20:26:50 +02:00
Iceman
5c3e036fea
Merge pull request #3102 from aaronjamt/patch-14a-sim-enter-stop
...
[14a sim] Stop sim with Enter key
2026-02-26 11:13:56 +01:00
Aaron Tulino (Aaronjamt)
a468265f5e
[14a sniff] Stop sniff with Enter key
2026-02-26 02:51:26 -07:00
Aaron Tulino (Aaronjamt)
766065e6e4
[14a sim] Stop sim with Enter key
2026-02-25 19:41:49 -07:00
Philippe Teuwen
c00e4801b7
make style
2026-02-06 13:43:41 +01:00
Philippe Teuwen
faca1550b8
hf mfu sim: add support to inject card replies
2026-01-19 21:47:49 +01:00
Aaron Tulino (Aaronjamt)
d7c9094cad
More hex conversion cleanup
...
Found a few more places that can easily be switched to use `sprint_hex_inrow`
2025-12-20 13:49:05 -07:00
kormax
34f18a0002
Add polling loop annotation support for iso14443b
2025-12-19 09:29:31 +02:00
iceman1001
abb0427960
style
2025-11-10 16:20:50 +01:00
kormax
41f4d5111f
Remove direct use of strndup to support older compilers
2025-11-03 12:10:16 +02:00
kormax
bc5fabf0e4
Add quick ECP configuration aliases for hf 14a config --pla
2025-11-01 15:08:11 +02:00
iceman1001
6df95a2dc9
ident a payment card
2025-10-30 19:40:06 +01:00
iceman1001
f4895860a5
ident a payment card
2025-10-30 19:31:43 +01:00
iceman1001
77624fe57e
add UL_AES CMAC secure messaging to hf 14a raw. Remember use hf mfu aesauth -k --schann --key before in order to authenticate and keep field up. After that you can use it with hf 14a raw -c --schann 60 - to GET_VERSION
2025-10-17 13:34:04 +02:00
Philippe Teuwen
fd88967443
make style
2025-10-14 09:50:59 +02:00
Philippe Teuwen
f0d8690e73
hf 14a raw -s: add --wait for delay between select and command
2025-10-09 22:43:39 +02:00
Philippe Teuwen
ae6f2c1b4c
Ultralight AES basic DataProtKey emulation support
2025-10-03 22:43:49 +02:00
Oleg Moiseenko
944a80d217
make style
2025-09-21 16:41:30 +03:00
Philippe Teuwen
45fe423cd4
14a ATR fingerprint: skip if hist bytes <= 1
2025-09-20 22:06:32 +02:00
Philippe Teuwen
bde33711c7
style
2025-09-20 22:02:23 +02:00
Philippe Teuwen
f93c9977ad
hf 14a info: add ATR fingerprinting
2025-09-20 12:32:03 +02:00
iceman1001
45d869e87a
change "mem wipe" / "mem info" to use NG.\nsome more style changes
2025-09-12 22:06:37 +02:00
iceman1001
5b37fe8af6
hf mf info - dont try fudan cards
2025-06-29 23:38:33 +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
iceman1001
79400d0779
text and style
2025-06-17 18:28:22 +02:00
Philippe Teuwen
a5d02c6ba2
style
2025-06-15 12:53:33 +02:00
iceman1001
2ca43e0e2d
text and style
2025-06-11 21:41:19 +02:00
iceman1001
5f2edb9bb8
reworked and improved the hf mfp chk key handling. reworked the nxp_detect_card technology function to enable other parts of the client to benefit from detecting card types. Like hf mf info or hf mf autopwn - two most common used commands. Now less waiting and more easily to know what next steps to do.
2025-06-09 15:36:44 +02:00
iceman1001
83837699e1
text , but the ultralight detect in 14a info is a bit confusing. This PR was intended to make it more clear. We still need to improve the text output
2025-05-30 01:38:55 +02:00
iceman1001
607f1bb26c
style
2025-05-24 22:49:46 +02:00
iceman1001
84b565bec4
style
2025-05-19 22:31:41 +02:00
iceman1001
cb4a0e2333
rename struct to follow code style
2025-04-30 13:27:41 +02:00
Iceman
430d5cd3b9
Merge pull request #2824 from kormax/magsafe-polling-config
...
Move `mag`safe polling argument to `hf 14a config`
2025-04-21 04:34:53 +02:00
kormax
3550f11726
Remove mag argument from commands; Add support for magsafe polling via 14a config
2025-04-20 17:55:55 +03:00
Philippe Teuwen
a8a1c77343
Fix hf 14a info on Desfire cases, thanks NVX for pointing it!
2025-04-18 19:38:32 +02:00
kormax
eb2324ed93
Remove ecp argument from commands
2025-04-15 23:20:46 +03:00
Philippe Teuwen
cf3cb6e03a
dyslexia
2025-04-14 13:51:55 +02:00
Philippe Teuwen
013a7a4caf
rewrite hf 14a info with full AN10833 Rev 3.8 and a few extra
2025-04-14 10:37:16 +02:00
kormax
56336d9d82
Add support for polling loop annotations
2025-04-09 12:31:21 +03:00
iceman1001
875b3c44b4
unify text - step 1
2025-03-25 10:12:16 +01:00
iceman1001
12f94a921a
text and cpp warning for hitagu fix suggested by jump
2025-03-24 09:13:21 +01:00