Commit Graph
396 Commits
Author SHA1 Message Date
Matthew CarrollandClaude Opus 5 bdc4828e0f lf t55xx writetest: read each block three times and name how it differs
One read cannot see the fault this suite is most useful for. A block that comes
back silently wrong on some reads and right on others scores the same as one
that is simply wrong, and the same as one that is fine. Read each block three
times and mark disagreement between them as `unstable`.

Where a block is wrong the same way every time, name it: `rol1`, `ror5`,
`inverted`, `inv+ror2`, `shr1`. The kind matters. A rotation says the word
boundary moved, an inversion says psk picked the opposite phase, and a shift
says a demodulation opened a bit early and padded with zero - three different
faults that want three different fixes, and all of them previously reported as
"block 3,4 bad".

Measured on a T5577 over the 21 PSK1 configurations, this turns 56 fields of
"bad" into 56 marked unstable, and on a build that has since fixed part of it,
into 24 rotations whose size tracks the bit rate - ror5 at RF/32, ror4 at RF/40,
ror2 at RF/100 - which is a fixed sample offset rather than noise, and says
where to look.

Block 1 is 00000000, which equals all of its own rotations, so a rotated read of
it cannot be told from a correct one. Noted in the header rather than changed,
since the payload is the suite's own choice.

Also corrects the header, which described block 2 as ffffffff where the script
writes aa5500ff.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-10 12:30:20 -07:00
iceman1001 bd20f7cc81 OLD/MIX convert to NG: Phase D. reworked all lua scripts to handle and behavie same way. Thanks Claude 2026-08-29 16:31:01 +02:00
Philippe Teuwen 72d72ddc9d update extflash init scripts 2026-08-20 10:11:42 +02:00
iceman1001 75c2803d30 Corrected the file extension 2026-08-19 18:48:12 +02:00
c-barron 2d2207e0f6 Document USCUID-UL commands and fix hf_mf_uscuid_prog usage name
The magic card notes listed "No implemented commands" for USCUID-UL,
but hf_mfu_uscuid.py and hf_mf_uscuid_prog.lua both drive these cards
(config, type, UID, signature, backdoor read/write). Document both
scripts and how to set the tag signature, and correct the script name
shown in the lua script's own usage text.
2026-08-08 11:58:15 -07:00
iceman1001 2dbd4836c3 improve test harness for LF 2026-07-28 15:53:20 +02:00
YoungJules faaab023f6 Added --kgh flag on clone to take care of checksum in last byte of segment payload on KGH cards, which includes the uid. Added a small debug on legic sim. Gated --fill option on wrbl to only allow after offset 22. You can still brick your card by wrbling byte by byte, but fill won't kill. 2026-07-28 14:37:32 +02:00
michael 9ca0f9d16b Improved UMC version detection/reporting in the lua script, added notes about 6666 having the same PACK issue and a reminder than the Ultralight EV1 plays by the same rules (pw/pack wise). 2026-07-02 13:16:53 -07:00
Iceman 8c54d901f7 Merge pull request #3361 from dangerous-tac0s/ultimatecard-pack-fix
PACK fix for the lua script hf_mf_ultimatecard
2026-06-08 09:51:58 +02:00
michael 0b84d3bd3c Made the PACK handling dynamic based on UMC version.... 06a0 gets 0x13 otherwise 0xe6 2026-06-06 17:24:40 -07:00
michael 7e7774c56d Corrected the hf_mf_ultimatecard lua script to handle the PACK such that the UG4 will use it. 2026-06-06 14:20:11 -07:00
YoungJules 52005ec95c Some improvements to a couple lua scripts for Legic. Improved help, made the purpose clearer, added json dump support, better support for blank cards, look for KGH (Kaba Group Header) etc. 2026-05-07 11:19:57 +02:00
Philippe Teuwen 88d20bd4f2 make style 2026-04-13 09:35:02 +02:00
iceman1001 a64d115fa8 changed filed name to match prefered style 2026-04-09 12:22:10 +07:00
iceman1001 9e09e6c5cc changed file name to match prefered style 2026-04-09 12:21:38 +07:00
iceman1001 e199f3dd11 thanks to Claude, this script actually has become the way I wanted it to be. It is alpha-num sorted, column width adapted, and alternative rows are now in yellow. There is also a -s parameter if you have a known value you are looking for. If found it will be marked in green text. Marvelous changes! 2026-04-09 12:18:38 +07:00
kormax fa08075ded Add ISO14A_CLEARTRACE param to explicitly clear 14a trace 2026-03-24 23:24:22 +02:00
Cameron 4d5acfb907 fix broken logfile location in Paxton_clone.lua
fix broken logfile location in Paxton_clone.lua - MacOS doesn't natively support -printf for the gnu "find" utility. This command seems to work just find without the printf formatting.

Signed-off-by: Cameron <9978550+NRException@users.noreply.github.com>
2026-03-20 15:50:13 +00:00
Jan Breig 2e63288c5f hf_legic_clone: fix oops 2026-02-13 16:45:15 +01:00
Jan Breig afad3399d4 hf_legic_clone: fix type errors for lua5.4
fix: https://github.com/RfidResearchGroup/proxmark3/issues/3093
2026-02-13 16:44:45 +01:00
Lee Hambley 2687abd620 Refactor amiibo loading and debug functions
Signed-off-by: Lee Hambley <lee.hambley@gmail.com>
2026-01-03 20:14:53 +01:00
Lee Hambley 3e692c45b1 Update hf_mfu_amiibo_sim.lua
Changes the way the `.bin` is loaded into the emulator because Command::newNG didn't work.

Signed-off-by: Lee Hambley <lee.hambley@gmail.com>
2026-01-03 18:19:52 +01:00
iceman1001 c92914d972 adding missing dictionary for ULC to upload to SPIFFS 2025-09-12 10:42:15 +02:00
iceman1001 02b4d61796 style 2025-09-02 16:16:29 +02:00
Cory Solovewicz de05d46f54 Update hf_mfu_amiibo_restore.lua
Fix broken reference to dependency. 

Signed-off-by: Cory Solovewicz <cory@solovewicz.com>
2025-08-30 21:55:36 -07:00
Trigat 62fdf5706c Update ntag_clean.lua
Modified style and format.

Signed-off-by: Trigat <trigat@protonmail.com>
2025-08-24 15:44:15 -05:00
Trigat 44fc91caa6 Delete client/luascripts/emv_extract.lua
Signed-off-by: Trigat <trigat@protonmail.com>
2025-08-24 15:39:30 -05:00
Trigat 34e85935b8 Add ntag_clean.lua via upload
Script that zeros NTAG pages

Signed-off-by: Trigat <trigat@protonmail.com>
2025-08-24 12:41:07 -05:00
Trigat 01a7c888b4 Add emv_extract.lua via upload
Script that extracts EMV track 2 information

Signed-off-by: Trigat <trigat@protonmail.com>
2025-08-24 12:39:38 -05:00
iceman1001 79d1e102af style 2025-07-28 15:45:04 +02:00
Iceman 7c187b0ad5 Merge pull request #2935 from jamesmacwhite/paxton_clone_linux
paxton_clone.lua: Detect operating system for logfile handling on Linux environments
2025-07-13 23:38:54 +02:00
James White 8de424410f Detect operating system for logfile handling on Linux environments 2025-07-13 13:10:51 +01:00
iceman1001 2597c7576e style 2025-07-10 11:52:39 +02:00
iceman1001 47648c541c text 2025-06-19 20:26:13 +02:00
Philippe Teuwen a5d02c6ba2 style 2025-06-15 12:53:33 +02:00
iceman1001 84b565bec4 style 2025-05-19 22:31:41 +02:00
Dmitry Malenok a9244b8ea4 The '-f' option replaces the direct specification of the dump filename in the '-r' command. 2025-05-12 22:33:26 +03:00
Dmitry Malenok 8227834730 Added hf_mfu_ultra.lua script enables restoring dump to ULTRA/UL-5 tags and clearing previously written ULTRA tags 2025-05-11 13:32:21 +03:00
iceman1001 bc1c47e81b style 2025-04-13 12:25:14 +02:00
kiyoukan c827b4e582 Add files via upload
Signed-off-by: kiyoukan <kiyoukan@gmail.com>
2025-03-25 15:44:40 -04:00
Philippe Teuwen 78ae375d55 make miscchecks, skip venv 2025-03-23 23:22:23 +01:00
Philippe Teuwen 6359471c5e make style 2025-03-23 23:14:18 +01:00
Jarek Barwinski fbc8e99ffe Update lf_t55xx_multiwriter.lua
Signed-off-by: Jarek Barwinski <116510448+jareckib@users.noreply.github.com>
2025-03-21 15:13:02 +00: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
iceman1001 4c74704aa1 remove wrong script 2025-03-19 09:44:02 +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
iceman1001 a776f9a0bd style 2025-03-18 08:11:06 +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