Commit graph

4006 commits

Author SHA1 Message Date
iceman1001
4c97151ecc style 2025-03-22 15:46:55 +01:00
iceman1001
c0af6cd7d2 fiddled with pm3 client informative text 2025-03-22 13:09:55 +01:00
iceman1001
12ba14fa58 text 2025-03-22 13:04:18 +01:00
Jean-Michel Picod
95e5634388 Add option to use SPI flash dictionary for autopwn 2025-03-21 18:05:14 +01:00
iceman1001
a2d10d7910 fix cpp warnings 2025-03-21 13:19:01 +01:00
iceman1001
1a437d4a18 fix cpp warning 2025-03-21 11:34:03 +01:00
iceman1001
1c52bee9a1 text and style 2025-03-21 11:25:31 +01:00
iceman1001
b4cc21c68f modified hf 14a apdu to report back when extending time and also added a possibililty to interrupt the extension loop with button press or usb commad. A bunch of minor textual changes 2025-03-20 19:58:13 +01:00
douniwan5788
2c9a74b906 Improve Hitag µ error reason and messages 2025-03-20 21:47:39 +08:00
iceman1001
93c6250894 fix #2796 2025-03-20 12:57:54 +01:00
iceman1001
76fa254c0f only check 4 bytes 2025-03-19 15:35:40 +01:00
iceman1001
1bd811f7a1 better OTP update sanity check by @jmichelp. Checks every bytewise if any bit is 0 2025-03-19 15:34:20 +01:00
iceman1001
c8cde55a5e fix OTP simulation 2025-03-19 15:22:55 +01:00
iceman1001
87c2e82e2f style 2025-03-19 12:53:24 +01:00
Iceman
8350dbd6b9
Merge pull request #2795 from douniwan5788/hitagµ
Hitagµ
2025-03-19 12:44:06 +01:00
douniwan5788
214ded2b97 Replace all μ(greek small letter mu, UTF-8 \xce\xbc) to µ(micro sign, UTF-8 \xc2\xb5) 2025-03-19 19:21:01 +08:00
Philippe Teuwen
ecdfa9755e MifareUL_AES_Auth: do not let HF field on when erroring 2025-03-19 12:03:46 +01:00
douniwan5788
4bde83b89d Added lf hitag htu support for Hitag µ/8265 2025-03-19 18:56:23 +08:00
Iceman
6a671616b9
Merge pull request #2794 from douniwan5788/annotateHitagS
Enhance Hitag S annotation and debugging
2025-03-19 11:40:36 +01:00
iceman1001
3c873d34bc style 2025-03-19 11:26:25 +01:00
Iceman
239ae6c59e
Merge pull request #2782 from douniwan5788/hitag_common
Refactor Hitag low-level functions into hitag_common
2025-03-19 11:23:21 +01:00
douniwan5788
64a4f6cd81 Enhance Hitag S annotation and debugging 2025-03-19 18:12:53 +08:00
Henry Gabryjelski
2aa58457e3 Missing lines from my last commit 2025-03-19 02:34:38 -07:00
douniwan5788
3d0c8cab5c Refactor Hitag low-level functions into hitag_common 2025-03-19 17:05:39 +08:00
Philippe Teuwen
c657ddf135 Add hf mfu aesauth 2025-03-19 09:36:15 +01:00
iceman1001
94a7d87b9d simplify logic 2025-03-19 09:08:15 +01:00
iceman1001
784597641f atleast try to break the simulation loop 2025-03-19 09:07:53 +01:00
iceman1001
0de915e189 Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2025-03-19 08:57:28 +01:00
iceman1001
af93383115 fix #2790 - MFU OTP writes shouldnt allow for zeroing. Bad sanity check implemented, it should check that every bit doesnt try to zero out. Will do for now 2025-03-19 08:56:00 +01:00
Henry Gabryjelski
43e026b1c9 Fix LIW to RM delay
* Change from 40 FC to 72 FC as default delay between detecting LIW and sending the command.
* Use parity for ID, UM1, and UM2 commands
* Remove extra bit hack from AUTH, PIN, and WRITE commands
2025-03-18 23:18:36 -07:00
Henry Gabryjelski
8617541660 rename some constants to increase clarity 2025-03-18 23:06:33 -07:00
Henry Gabryjelski
a588e74e9d rename global variable g_tag 2025-03-18 22:54:46 -07:00
Henry Gabryjelski
ab602794d9 rename global variable g_command_parity 2025-03-18 22:52:19 -07:00
iceman1001
a776f9a0bd style 2025-03-18 08:11:06 +01:00
Iceman
e2de8c6644
Merge pull request #2781 from douniwan5788/refactor_concatbits
Refactor the concatbits function to support both MSB and LSB first src
2025-03-18 07:43:36 +01:00
Iceman
4742a3b39b
Merge pull request #2780 from douniwan5788/rename_hitag2
Rename Hitag2 functions
2025-03-18 07:43:24 +01:00
Henry Gabryjelski
21ad101ff5 Major update to EM4x70 support:
1. Rework how communications with tag occur.
    a. bitstream to be sent to the tag is now fully pre-generated.
    b. bits sent and received are logged with start / end times.

2. Support built-in `hw dbg` for controlling verbosity of debug output

The new bitstream generation and logging has exposed a surprising legacy behavior ... each of the command that sent additional data (beyond the command) were:
* inserting an extra RM zero bit
* force-enabling command parity is used

This was not expected.  However, this PR maintains the behavior of the existing code.

TODO: Root-cause why the third RM bit is needed.  Fix code to remove that hack.

TODO: change the arm/client interface to ONLY use arrays of bytes, with well-defined content endianness, to avoid this problem.
2025-03-16 01:05:55 -07:00
douniwan5788
d13e7b0b64 Refactor the concatbits function to support both MSB and LSB first src 2025-03-15 15:21:58 +08:00
douniwan5788
e24578c2ea Rename Hitag2 functions 2025-03-15 04:24:42 +08:00
tinooo
939f5cb11f [PCF7931] Added type cast to compare equally sized types
the github pipeline was stressed about comparing an uint16_t to an uint32_t.
2025-03-14 09:05:53 +01:00
tinooo
c3f03d50f1
Merge branch 'RfidResearchGroup:master' into pcf7930-refactor-and-documentation 2025-03-13 15:44:54 +01:00
tinooo
0b2b238457 [PCF7931] getting things ready for PR
since this is somekind of work in progress, I'm still going for a PR.
This commit is reworking some comments and making the code stable
(at least as good es or better as before).

Also made als const as #define
2025-03-12 17:39:16 +01:00
tinooo
23ddf69f70 [PCF7931] added IIR filter
different tags seem to behave differently.
an old tag from the car had way worse signal. Therefore filtering made it way better.
Still not ideal.
2025-03-12 17:39:13 +01:00
tinooo
d3a87ead61 [PCF7930] refactor move code
move "remapping" of dataframes to the actual send function,
where the timer is located
2025-03-12 17:39:11 +01:00
tinooo
8723037e68 [PCF7931] refactor SendCmdPCF7931
first steps in understading and optimizing this function.
replace != with < - if we don't poll fast enough, it is possible that
the condition != is missed.
2025-03-12 17:39:08 +01:00
tinooo
ea96a3b0c9 [PCF7931] refactor write function
rename some variables for more clear reading
changed data type to meaningfull size
2025-03-12 17:39:05 +01:00
tinooo
f6600ec962 [PCF7931] Refactor removed early returns
unneccessary returns.
2025-03-12 17:39:02 +01:00
tinooo
3939e28640 [PCF7931] Starting refactor of write procedure
added comments
2025-03-12 17:38:59 +01:00
tinooo
2da713eba9 [PCF7931] draft continue with refactoring ReadPCF7931()
still not done with DemodPCF7931(). But now including changes in  ReadPCF7931().
They work tightly together.
Trying to resolve some issues and bugs. Basically it seems to work and
my results are consistent. However, they still deviate from what I get if
I do analyze the signal using lf read and data commands.

still some issues somewhere.
2025-03-12 17:38:55 +01:00
tinooo
9bfd55ebe0 [PCF7931] draft of working & refacored DemodPCF7931()
demod function now seems to work basically. Not all error cases are handled I guess.
Also still debug prints, since I've to figure out the rest.

Also unclear, why limit the buffer size to 1-2 blocks only?
2025-03-12 17:38:53 +01:00