Commit graph

20028 commits

Author SHA1 Message Date
Iceman
b5c36148e1
Update bug_report.md
Signed-off-by: Iceman <iceman@iuse.se>
2025-03-19 09:00:44 +01:00
iceman1001
0de915e189 Merge branch 'master' of github.com:RfidResearchGroup/proxmark3 2025-03-19 08:57:28 +01:00
iceman1001
49d25920c1 added support function for left shifting arrays 2025-03-19 08:57:20 +01:00
iceman1001
e9cbdec952 fix output 2025-03-19 08:56:23 +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
Iceman
c3e9a5b9c0
Merge pull request #2792 from henrygab/em4x70_LIW_fix_dev
Em4x70 -- Fix protocol error (Time from LIW detection until transmit first RM bit)
2025-03-19 07:27:12 +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
7b528a8569 fixed missing file in cmakelists.txt for experimental lib 2025-03-18 16:48:07 +01:00
Iceman
46ea897d21
Merge pull request #2788 from jareckib/master
paxton_clone v1.20
2025-03-18 16:04:46 +01:00
Jarek Barwinski
4c318d1d86
paxton_clone
v1.20
Added verification - " Verification successful. Data was written correctly."

Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-03-18 13:31:12 +00:00
Iceman
165e3524c6
Merge pull request #2787 from jareckib/patch-1
Update lf_t55xx_fix.lua
2025-03-18 10:44:23 +01:00
Jarek Barwinski
ddd148329e
Merge branch 'master' into patch-1
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-03-18 09:11:38 +00:00
iceman1001
a776f9a0bd style 2025-03-18 08:11:06 +01:00
Iceman
0446509d1e
Merge pull request #2786 from jareckib/master
paxton_clone.lua
2025-03-18 07:43:50 +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
Iceman
f2380fe619
Merge pull request #2785 from henrygab/em4x70
Em4x70 - Major improvements to tracing, stability, and debugability
2025-03-18 07:37:52 +01:00
Jarek Barwinski
06ff7934f3
Merge branch 'master' into master
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-03-17 23:00:28 +00:00
Jarek Barwinski
6469c87460
Update lf_t55xx_fix.lua
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-03-17 22:56:50 +00:00
Jarek Barwinski
688a3faa88
Update Paxton_clone.lua
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-03-17 20:37:14 +00:00
Jarek Barwinski
197cae811f
Update lf_t55xx_fix.lua
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-03-17 20:30:40 +00:00
Jarek Barwinski
b3a2e81a06
lf_t55xx_fix.lua
v1.0.1

Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-03-17 20:15:24 +00:00
Jarek Barwinski
9e84d9a2f9
paxton_clone.lua
v1.18


Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-03-17 14:19:08 +00:00
Henry Gabryjelski
22b2d422d6 update changelog 2025-03-16 01:06:19 -07: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
Iceman
f31ee2633f
Merge pull request #2783 from Eltrick/hf-mfu-uscuid
`hf_mfu_uscuid.py` - A helper script for interacting with USCUID-UL
2025-03-15 06:38:11 +01:00
Lucifer Voeltner
0908ff2126
hf_mfu_uscuid.py - A helper script for interacting with USCUID-UL 2025-03-15 09:02:17 +07:00
douniwan5788
e24578c2ea Rename Hitag2 functions 2025-03-15 04:24:42 +08:00
Iceman
02511e06f6
Merge pull request #2779 from tinooo/pcf7930-refactor-and-documentation
PCF7931 refactor and documentation
2025-03-14 09:40:33 +01: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
e9ef11f812 [PCF7931] Added infos to CHANGELOG.md 2025-03-14 09:01:06 +01:00
tinooo
c3f03d50f1
Merge branch 'RfidResearchGroup:master' into pcf7930-refactor-and-documentation 2025-03-13 15:44:54 +01:00
Iceman
5ad0c14291
Merge pull request #2778 from jareckib/master
lf_t55xx_multiwriter
2025-03-13 10:34:39 +01:00
Jarek Barwinski
b3e5c037e5
lf_t55xx_multiwriter
This simple script stores 1, 2 or 3 different EM4102 on a single T5577.
  There is an option to enter the number engraved on the fob in decimal form.
  The script can therefore be useful if the original EM4102 doesn't work but 
  has an engraved ID number. By entering such an ID as a single EM4102, we 
  can create a working copy of our damaged fob.
  A tag T5577 created in this way works with the following USB readers:
  
  - ACM08Y
  - ACM26C
  - Sycreader R60D
  - Elatech Multitech TWN4

Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-03-13 08:01:31 +00:00
iceman1001
aa35a8a1a6 missing defines 2025-03-12 17:40:07 +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
tinooo
3a8dc89dca [PCF7930] Refactoring & bugfix in READING
firs commit of a few to come.
First renames of variables, added a few comments to improve clarity.
Fixed types (int -> unitx_t , const, ...) - not all. still some to come

Fixed 2 conditions that did not work properly. Here some explanation:

  Imagine dest[i-1] = 255 and dest[i] = 0. THis would mean a clear falling edge.
  However, this code would not work, since dest[i] > lmax is not true.
  This condition only works if I have at least 1 sample between lmax and 255.
  Same for the other way around.
2025-03-12 17:38:27 +01:00
iceman1001
06a1627a95 style 2025-03-12 16:48:30 +01:00