iceman1001
377d7cd612
since it still felt a bit slow, Claude came up with the idea of burst mode transfers. A new sim module firmware 'sim022.bin' and we now can auto-negotiate for TA1 = 0x95 which give us 125 000 bits/s which is almost 10x from the 10752 bits/s we were doing before. Thanks Claude!
2026-08-28 01:16:11 +02:00
Msprg and Claude Fable 5
f2c214722c
hf felica liteauth: use NULL instead of "" for options without a long name
...
argtable treats the long option field as a string to scan; an empty
literal makes arg_parse() read one byte past it. AddressSanitizer flags
it as a global-buffer-overflow whenever the command's help is built,
e.g. on every `proxmark3 --fulltext`. Every other command in the client
passes NULL here.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-08-27 23:34:45 +02:00
iceman1001
e2cf7dee5f
clean up old firmware files
2026-08-27 22:40:50 +02:00
iceman1001
7bdd6760a2
maur
2026-08-27 22:37:59 +02:00
iceman1001
76181dfb8e
sim module firmware is now v4.60, (sim020.bin) it adds a better drain when T=0 exits abnormal (abort). Better waiting time floor, with faster ETU which doesnt shrink with WWT.\n Changes to i2c with SDA timings, also modified the fixed msleep(100) with an idle time waiting which leads to 107 ms off from every iteration.\n Added a ATR cache to remember which TA1 was autonegotiated. This impact i2c comms speed with sim module for same card. 'smart pps' is better documented.\n The sam_common.c now also logs 61xx and GET_RESPONSE :) and generic long-form ASN-1 lengths. trace list -t 7816 now also shows rdr frames in us. \n All in all, this should lead for 'emv reader -w' to go from 5.87sec to 2.78sec. 'hf seos sam' is down to 1.92sec. 'hw ping' is down to 0.57sec. A USB round trip is down from 20.8ms to 1.3ms. It should give a snappier end user experience
2026-08-27 22:37:32 +02:00
Niel Nielsen
63112fad75
Merge branch 'RfidResearchGroup:master' into WIFI-test
2026-08-27 16:58:47 +02:00
Niel Nielsen
fe0b6c46b2
Add hostname parameter to WiFi command
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-27 16:44:35 +02:00
iceman1001
9040f60f17
text
2026-08-27 15:41:43 +02:00
iceman1001
5c38ce0a1d
added a wake up pipeline to see if sim module actually is doing things or not. Might not work well on Windows machines... proxspace I am looking at you. but in short this would make comms between device and client faster
2026-08-27 15:35:45 +02:00
iceman1001
bbe0c11e4c
reverting
2026-08-27 14:26:35 +02:00
iceman1001
f78890cb03
no table when no AID found
2026-08-27 14:25:40 +02:00
iceman1001
8b9f3951b1
fix overeager padding being added to string array
2026-08-27 13:42:14 +02:00
Niel Nielsen
862341207c
Implement CmdBWMWifi for WiFi connection setup
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-27 13:25:49 +02:00
Niel Nielsen
57ea719363
Add CmdBWMWifi function for WiFi BWM logging
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-27 13:17:31 +02:00
iceman1001
2b00e3f513
better adaptive table output in
2026-08-27 12:46:33 +02:00
iceman1001
3ba5936c70
faster client polling. Should make the pm3 client more spiffy
2026-08-27 12:44:30 +02:00
iceman1001
aeb5347b87
next sim module firmware sim017.bin,
2026-08-27 09:26:08 +02:00
iceman1001
dabc7d645b
shaving off some time with ATR. Revert back the timings for i2c bus. still a very slow bus
2026-08-27 02:47:45 +02:00
iceman1001
7488b5bb79
fix to work with different SAMs. Fixed some overflow bugs and better asn1 decoding. Also enjoys the speed up from i2c sim module. Thanks Claude
2026-08-27 01:59:33 +02:00
iceman1001
84ad2fb8d4
new sim module firmware, shorter delays for T=0 transfers
2026-08-27 01:38:46 +02:00
iceman1001
a76399c030
unify --t0 --t1 selection of T=0, T=1 parameters
2026-08-26 23:58:48 +02:00
iceman1001
35d1cb4fa7
fixed timings, T=1 <> T=0 swaps when emv card doesn't support T=0,
2026-08-26 23:57:47 +02:00
Iceman
c5ffec1305
Merge pull request #3533 from kormax/felica-idi-issuer-information-parsing
...
Enable `hf felica info` to determine card issuer, serial, issuance date based on extracted IDi
2026-08-27 01:49:02 +07:00
iceman1001
5f05cbf576
the annotations for 7816 handles contact vs contactless situations better now. Thanks Claude
2026-08-26 20:44:34 +02:00
iceman1001
dcb474a963
added ISO 7816-3 protocol and parameter selection exchange command. wired up T=1 in device side and fixed timing issues too. Thanks Claude
2026-08-26 20:42:39 +02:00
iceman1001
6a3ab99611
added updated sim module firmware v4.53, it now supports T=0 and T=1. T=0 got some bug fixes too. Look at https://github.com/gentilkiwi/kproxmark3_sim for all details
2026-08-26 20:34:43 +02:00
Philippe Teuwen
7fb8927523
Fix streaming bug affecting mostly the pm5
...
Bug triggered with:
lf read -s 50000
hw ping
ReadLF_realtime() in lfsampling.c never knew how many samples the client wanted — for the realtime path, lf_sample_payload_t.samples was never populated on the client side, and the ARM handler in appmain.c (CMD_LF_ACQ_RAW_ADC/CMD_LF_SNIFF_RAW_ADC) ignored it anyway. So the device just streamed samples indefinitely, only checking for a stop request roughly once per 64-sample USB burst, and even after noticing it, flushed one more trailing partial burst via async_usb_write_stop().
Meanwhile the client (WaitForRawDataTimeout in comms.c) stops listening in raw mode the instant it has collected exactly the number of bytes it asked for (e.g. 50000), then switches back to normal framed-packet parsing. Since the device kept sending more bytes past that point, those extra bytes sat unread in the pipe and got misinterpreted as a PacketResponseNGPreamble/OLD-frame header, corrupting every subsequent USB exchange (hw ping, etc.) — reproducible even with a plain lf read -s 50000, no trigger/COTAG needed.
Moreover, we make sure the client doesn't stop listening, even briefly, during stream reception.
2026-08-26 20:16:46 +02:00
kormax
3451febfc4
Enable 'hf felica info' to determine card issuer, serial, issuance date based on extracted IDi
2026-08-26 20:40:05 +03:00
kormax
727a7c879f
Optimize FeliCa command execution behavior based on pre-existing IC code knowledge
2026-08-26 17:35:22 +02:00
Niel Nielsen
3156f0bfd7
Add ble_posix.c to CMakeLists.txt
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-26 16:07:37 +02:00
Niel Nielsen
c5c53d444f
Increase RX buffer size and improve comments
...
Enlarged the kernel RX buffer and updated comments for clarity.
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-26 16:07:37 +02:00
Niel Nielsen
46ab575247
Implement BLE support in uart_posix.c
...
Added BLE support to serial port handling for Unix systems, including connection and data transmission methods.
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-26 16:07:37 +02:00
Niel Nielsen
d573ebc624
Add files via upload
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-26 16:07:37 +02:00
Niel Nielsen
93434d0ee6
Delete client/src/ble_posix.h
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-26 16:07:37 +02:00
Niel Nielsen
47574c2e02
Delete client/src/ble_posix.c
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-26 16:07:37 +02:00
Niel Nielsen
3c8b9db0b8
Add files via upload
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-26 16:07:37 +02:00
Niel Nielsen
6e741fa9e9
Add files via upload
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-26 16:07:37 +02:00
Niel Nielsen
d0fc4336be
Add files via upload
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-26 16:07:37 +02:00
Niel Nielsen
ec6f468f36
Add files via upload
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-26 16:07:37 +02:00
Niel Nielsen
5560b2dbbe
Add files via upload
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-26 16:07:37 +02:00
Iceman
48458b6ba7
Merge pull request #3527 from kormax/felica-info-auth-idi-pmi
...
Determine IDi and PMi in `hf felica info` for cards with known keys
2026-08-26 18:15:00 +07:00
kormax
f3bca6c291
Determine IDi and PMi in 'hf felica info' for cards with known keys
2026-08-26 11:34:57 +03:00
Niel Nielsen
14f2980687
Add device name to prompt composition
...
Include device name in prompt composition.
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-25 14:07:34 +02:00
Niel Nielsen
40e308249a
Update PROXPROMPT_COMPOSE format to include command
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-25 14:06:39 +02:00
Iceman
0a9b81421a
Merge pull request #3520 from Akury83/master
...
Update aid_desfire.json
2026-08-25 19:02:38 +07:00
Akury83
7168cb25c6
Update aid_desfire.json
...
Update to include Fermax Australia AID
Signed-off-by: Akury83 <87064827+Akury83@users.noreply.github.com >
2026-08-25 21:33:32 +10:00
Philippe Teuwen
b5b39cdcf3
pm5 todo for hw tune
2026-08-25 13:27:43 +02:00
Niel Nielsen
83ff027bb2
Add CmdBwmAutoOff command for auto power-off toggle
...
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-25 12:43:53 +02:00
Niel Nielsen
94b61d494f
Modify IfPm5 function to handle PM5 conditionally
...
Add conditional handling for PM5 presence based on build configuration.
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-25 12:20:26 +02:00
Niel Nielsen
cc208f3219
Define DEFAULT_PM5 for PM5 platform
...
Add definition for PM5 platform in CMakeLists.txt
Signed-off-by: Niel Nielsen <nieldk@gmail.com >
2026-08-25 12:20:26 +02:00