Commit graph

20548 commits

Author SHA1 Message Date
iceman1001
dc44d0fda5 fix error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant] on MAC Xcode26.0 2025-06-12 17:37:02 +02:00
iceman1001
e917491d4a fix error: variable length array folded to constant array as an extension [-Werror,-Wgnu-folding-constant] on MAC Xcode26.0 2025-06-12 17:21:18 +02:00
iceman1001
4725ae5c22 fix #2900 - bad compare 2025-06-12 13:56:49 +02:00
Iceman
6ba00b7bee
Merge pull request #2901 from Antiklesys/master
Minor iclass sam comms tweaks
2025-06-12 13:51:57 +02:00
Antiklesys
0378d91595 Minor iclass sam comms tweaks
1- Removed timeout on client side to allow the sam to be slow in responding
2- Increased SIM_WAIT_DELAY to allow for bigger sam responses
2025-06-12 19:42:56 +08:00
iceman1001
2ca43e0e2d text and style 2025-06-11 21:41:19 +02:00
iceman1001
92c288ab85 style 2025-06-11 21:40:54 +02:00
iceman1001
c1729ca264 if simulation fails, lets return back 2025-06-11 21:39:58 +02:00
rfidgeek1337
f7f0605207
Update lfadc.c
Signed-off-by: rfidgeek1337 <rfidgeek1337@proton.me>
2025-06-11 18:14:19 +02:00
rfidgeek1337
2dfb0706fa
Update lfadc.c
Signed-off-by: rfidgeek1337 <rfidgeek1337@proton.me>
2025-06-11 18:13:21 +02:00
rfidgeek1337
4f682501f1
Update CHANGELOG.md
Signed-off-by: rfidgeek1337 <rfidgeek1337@proton.me>
2025-06-11 18:12:24 +02:00
rfidgeek1337
c4e019ec60
LF HITAG: Adjust timing for LF ADC measurements to increase stability when the tag is in public mode/TTF mode
Signed-off-by: rfidgeek1337 <rfidgeek1337@proton.me>
2025-06-11 18:07:51 +02:00
iceman1001
2108ab6101 fix string formatter warning 2025-06-11 14:39:20 +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
iceman1001
2699060eeb add missing standalone mode when building a bunch of firmware 2025-06-11 12:22:02 +02:00
Iceman
076158cc15
Merge pull request #2898 from HenraL/patch-1
Update pm3_tests.sh
2025-06-11 12:14:24 +02:00
Hanra
d143d9a65c
Update pm3_tests.sh
Added LANG=C to the script to enforce the English language so that it does not break when the system language is not English.

Signed-off-by: Hanra <37299738+HenraL@users.noreply.github.com>
2025-06-11 10:55:35 +02:00
Iceman
8156274007
Merge pull request #2896 from Antiklesys/master
Added hf iclass sam --info
2025-06-10 20:39:40 +02:00
Iceman
cd14990dc5
Merge pull request #2895 from henrygab/em4x70_no_more_par
EM4x70 -- Remove deprecated `--par` option
2025-06-10 20:39:28 +02:00
Antiklesys
5b7e013f1a Update CHANGELOG.md 2025-06-11 01:08:03 +08:00
Antiklesys
7fb5716ea3 Added hf iclass sam --info
Added hf iclass sam --info command that skips any card communication command and just interacts with the SAM to return:

1- Sam Firmware Version
2- Sam Firmware ID
3- Sam Serial Number
2025-06-11 01:06:38 +08:00
Henry Gabryjelski
af7aa26c14 Update changelog
Parity was always used for commands, even when the code seemed to suggest it was optional.  This was due to a bug in `LIW` delays sending 1.25 bits too early, coupled with the parity bit happening to align with non-transmission when needed.

Parity option was deprecated earlier, and now is fully removed.
2025-06-09 15:12:13 -07:00
Henry Gabryjelski
9b37250453 em4x70 --par deprecation: Step 5: remove client parameters entirely 2025-06-09 15:05:28 -07:00
Henry Gabryjelski
b5e6d21128 Make it clear that this code was *always* sending a parity bit. All the tags require the parity bit. 2025-06-09 14:54:30 -07:00
Henry Gabryjelski
69a2cc1ff0 em4x70 --par deprecation: Step 4: remove client references to client->arm field that used to store this 2025-06-09 14:03:05 -07:00
Henry Gabryjelski
4dcf12fd8d em4x70 --par deprecation: Step 3: remove client-only variables, hard-code false for client->arm comms 2025-06-09 13:32:37 -07:00
Henry Gabryjelski
31b1117a51 em4x70 --par deprecation: Step 2: arm-side always uses false 2025-06-09 12:58:50 -07:00
Henry Gabryjelski
86bac8fe8c em4x70 --par deprecation: Step 1: client-side always sets false 2025-06-09 12:18:34 -07:00
Iceman
0a4b67bd7e
Merge pull request #2894 from Antiklesys/master
Updated iclass config cards readability
2025-06-09 19:38:18 +02:00
Antiklesys
b70d462a06 Updated iclass config cards readability
Updated config cards section readability
2025-06-10 01:07:04 +08: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
15fbfafac1 fix exit logic 2025-06-08 23:19:09 +02:00
iceman1001
1fa5e28a38 unify text and hints for static enc nonces a bit more 2025-06-08 21:46:31 +02:00
Iceman
1a6c38ab20
Merge pull request #2892 from jmichelp/patch-4
Rollback em4x50_read() to remove a segv
2025-06-08 21:26:29 +02:00
Jean-Michel Picod
7fd5730d89
Rollback em4x50_read() to remove a segv
Client was expecting a struct starting with an object count but ARM directly sends the array.
The struct is only used on this line in the whole repository, so reverting client is the easiest way to solve the issue.


Signed-off-by: Jean-Michel Picod <jmichel.p@gmail.com>
2025-06-08 21:10:02 +02:00
iceman1001
ec26b6d84f style and text. unify some parameter names 2025-06-08 20:56:01 +02:00
iceman1001
add2eb8e9d hf mf dump, does a guess the key file name, and if you ran for instance a autopwn against a 4K card but didnt mention it , it defaults to 1K. Meaning the recovered keyfile will have 32 keys. When trying to dump card and specifiy 4K, it would automatically find that keyfile and happily go out-of-bounds leading to client crash 2025-06-08 19:31:02 +02:00
iceman1001
3d8a15d361 text 2025-06-08 16:10:26 +02:00
iceman1001
8c880e4a3f missed this one 2025-06-08 16:10:09 +02:00
iceman1001
bcec294606 fix the visual bug with when viewing larger mifare class dumps, 2k, 4k, it would mark the signature sectors... for the rest of the dumps. 2025-06-08 16:09:23 +02:00
iceman1001
27aa9a2085 hf mf rdsc - if a successful read was made , add the used key to the sector trailer output.\nhf mf info - after getting annoyed over command running tests on non mifare classic card, this fixes it. 2025-06-08 10:06:30 +02:00
iceman1001
387009ab6a added a support function 2025-06-08 10:02:40 +02:00
iceman1001
2d610b8dc0 text & style 2025-06-08 10:02:00 +02:00
Iceman
911d4f9df2
Merge pull request #2891 from n-hutton/extra_bitfiles
add bitfiles for prox ultimate build
2025-06-08 08:05:59 +02:00
n-hutton
990e7b5e1f add bitfiles for prox ultimate build 2025-06-08 06:26:33 +01:00
Iceman
d4c281ff17
Merge pull request #2890 from Antiklesys/master
Implemented hf iclass sim -t 7
2025-06-07 17:26:15 +02:00
Antiklesys
80e1c7f0d4 Implemented hf iclass sim -t 7
Implemented an iclass sim function that prevents simulated card responses after updating block 3.
Block 3 gets updated with the XOR key as if it was in personalization mode.
2025-06-07 23:12:21 +08:00
Iceman
d83196fb35
Merge pull request #2889 from BIOS9/master
fix mad v2 cps offset
2025-06-07 14:31:11 +02:00
BIOS9
73be29db44 update changelog 2025-06-08 00:00:56 +12:00