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.

This commit is contained in:
YoungJules committed 2026-07-28 14:37:32 +02:00
1 parent 65465b6cf0
commit faaab023f6
3 files changed
+106 -15

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ Seg = Segment Header
SegC = Crc8 over the Segment Header
Stp = Stamp (could be more as 4 - up to 7)
UID = dec User-ID for online-Mapping
kghC = crc8 over MCD + MSN0..MSN2 + UID
kghC = crc8 over MCD + MSN0..MSN2 + WRP + WRC + RD + segment marker + segment data excluding CRC
(example) Legic-Cash on MIM256/1024 tag' (37 bytes)