Jakub Kramarz
550af14502
cmdhficlass, cmdhfseos: fixed data argument parsing
2025-01-27 20:57:24 +01:00
Jakub Kramarz
97aa1ff598
cmdhficlass: expand sam examples
2025-01-27 20:38:15 +01:00
Jakub Kramarz
098e3765c0
cmdhfseos: fixed typo
2025-01-27 20:34:52 +01:00
Jakub Kramarz
e05c36d4ea
cmdhfseos: change from SendCommandMix to SendCommandNG
2025-01-27 20:23:23 +01:00
Jakub Kramarz
2464cf60fd
sam_seos, sam_picopass: switch from static allocation to BigBuf
2025-01-27 20:17:44 +01:00
Jakub Kramarz
15aea059ef
cmdhficlass: change from SendCommandMix to SendCommandNG
2025-01-27 20:17:44 +01:00
Jakub Kramarz
5750d47ba3
rename util_hidsio to hidsio
2025-01-27 20:17:44 +01:00
Jakub Kramarz
e3e9ca504e
cmdhfseos less verbose args parsing
2025-01-27 20:17:44 +01:00
Jakub Kramarz
7b34f462cd
sam_picopass: add nr-mac extraction and epurse update prevention modes
2025-01-27 20:17:44 +01:00
Jakub Kramarz
53b67d1969
sam_picopass: shorter timeouts
2025-01-27 20:17:43 +01:00
Jakub Kramarz
9696c97639
sam_picopass: adapt implementation from sam_seos
2025-01-27 20:17:43 +01:00
Jakub Kramarz
f3b831ca3e
sam_seos: rename sam_set_card_detected
2025-01-27 20:17:43 +01:00
Jakub Kramarz
2ae2388cef
util_hdsio: extract getSioMediaTypeInfo
2025-01-27 20:17:43 +01:00
Jakub Kramarz
b8d5daa77b
sam_common: extract payload copy procedures
2025-01-26 14:36:44 +01:00
Iceman
d5004fc9ff
Merge pull request #2730 from Eltrick/more-mfc-keys
...
Add more keys from that one hotel in June2024
2025-01-26 13:34:38 +01:00
Lucifer Voeltner
ed6a7c734e
Add more keys from that one hotel in June2024
2025-01-26 15:34:24 +07:00
Iceman
75eb897594
Merge pull request #2729 from aoxhwjfoavdlhsvfpzha/patch-1
...
Update cmdlfhitag.c
2025-01-25 12:22:50 +01:00
aoxhwjfoavdlhsvfpzha
80558f26e7
Update cmdlfhitag.c
...
lf hitag chk helptext had a misplaced newline
Signed-off-by: aoxhwjfoavdlhsvfpzha <58840974+aoxhwjfoavdlhsvfpzha@users.noreply.github.com >
2025-01-25 03:06:11 -08:00
Iceman
ecea5db50b
Merge pull request #2728 from shuffle2/master
...
fix bigbuf allocators (tracing + malloc) overwriting each other
2025-01-25 01:11:49 +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
Iceman
dc5d456db5
Merge pull request #2726 from n-hutton/emv_sim_cleanup_squash
...
Cleanup PR to emv contactless to contact bridge
2025-01-22 15:53:25 +01:00
n-hutton
8dbe1c7b06
more
2025-01-21 23:52:33 +00: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
Philippe Teuwen
32f06db2e8
fix workflow yaml
2025-01-18 18:24:33 +01:00
Iceman
2f2f3d9a6d
Merge pull request #2723 from ry4000/master
...
R&Y: Added Payment/Transport AIDs and Updated AIDs in `aid_desfire.json`
2025-01-18 05:25:29 +01:00
ry4000
4ef545487d
R&Y: Added PT / PS AIDs and Updated PT AIDs
...
Signed-off-by: ry4000 <154689120+ry4000@users.noreply.github.com >
2025-01-18 11:45:22 +11:00
Philippe Teuwen
9c05f2c729
hf mfu info: fix strong mod bit parsing
...
"2" was probably referring to bit 2 == 0x04
I checked the following datasheets and STRG_MOD_EN is always at 0x04:
- UL EV1
- NTAG 213/215/216
- NTAG 213_F/216_F
2025-01-16 22:44:01 +01:00
Iceman
22c7ac0c49
Merge pull request #2722 from kitsunehunter/iceman-typo
...
fix typo
2025-01-15 23:42:58 +01:00
Iceman
b467eb5c59
Merge pull request #2721 from henrygab/codeQL_fixes2
...
Fix printf() mismatch
2025-01-15 23:42:40 +01:00
Xavier
f72436a5f9
fix typo
...
Signed-off-by: Xavier <90627943+kitsunehunter@users.noreply.github.com >
2025-01-15 16:20:12 -05:00
Henry Gabryjelski
740cfad457
Fix printf() mismatch
2025-01-15 13:11:41 -08:00
Iceman
7082302a02
Merge pull request #2720 from henrygab/codeQL_fixes2
...
CodeQL -- Actual fixes
2025-01-15 19:02:17 +01:00
Henry Gabryjelski
1e95dadde9
Remove static assertions
2025-01-15 09:25:21 -08:00
Henry Gabryjelski
715e876c62
Per explicit request of iceman1001
2025-01-15 09:22:18 -08:00
Henry Gabryjelski
dc0e6f4f91
Fix regression
...
Found by iceman1001's code review ... THANK YOU!
2025-01-15 09:18:39 -08:00
iceman1001
cb7109e751
fix hf mf cload - now it allows for proper GDM ic to load mfc ev1 signature data. On uscuid ic which are more locked down it will failed with a message. Dont forget to enable signature for the gdm ic.
2025-01-15 16:07:13 +01:00
Henry Gabryjelski
6613ff7334
Workaround old GCC on Windows builds
...
This is supported for GCC >= version 13
See GCC bug 85487:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487
2025-01-14 20:35:45 -08:00
Henry Gabryjelski
99e8de3687
fix build break on some compilers
2025-01-14 18:01:09 -08:00
Henry Gabryjelski
05319463fb
improve comment
2025-01-14 18:01:09 -08:00
Henry Gabryjelski
1c3f84503a
Quiet a spurious warning
...
The compiler warning is incorrect.
Since `calloc()` zero's memory, can
remove redundant line setting value
to zero, giving quieter builds.
2025-01-14 18:01:09 -08:00
Henry Gabryjelski
18f6604eb0
Prevent potential stack corruption
2025-01-14 18:01:09 -08:00
Henry Gabryjelski
1c75690b1a
Various codeQL fixes
...
Code was previously performing arithmetic in
various loop check conditions. Integer promotion rules could cause unintended comparisons.
`spiffs` defined `fs->block_count` as `uint32_t`, but defined `spiffs_page_ix` as `uint16_t`. Various overflow checks detected by CodeQL and fixed by checking for those conditions before looping.
2025-01-14 18:01:09 -08:00
Henry Gabryjelski
91be146ecb
CodeQL fixes for "Comparison between A of type TypeA and B of wider type TypeB"
2025-01-14 17:54:58 -08:00
Henry Gabryjelski
20c4756f2a
no-op
2025-01-14 17:52:51 -08:00
Henry Gabryjelski
4d67f56656
Mismatched format string specifier (need to deref size pointer)
2025-01-14 17:52:51 -08:00
iceman1001
f0bdcf3838
viewing a MFC ev1 now prints the two special sectors
2025-01-15 00:01:44 +01:00
iceman1001
16a776e79f
fix hf mf view to load MFC ev1 sized dumps
2025-01-14 23:22:55 +01:00
iceman1001
16c3433bfe
fix hf mf mad to read mfc ev1 dumps
2025-01-14 23:20:18 +01:00
Philippe Teuwen
70389e55b1
quick fix for nfc decode to handle ev1 dumps, untested
2025-01-14 23:17:11 +01:00