mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-11-22 10:27:54 +00:00
Bring the SAM commands to parity with Seader's (bettse/seader, GPLv3) read and save options: - hf mf sam: MIFARE Classic SE via CMD_HF_SAM_MFC - hf mfdes sam: DESFire EV1/EV2 via CMD_HF_SAM_SEOS, as Seader drives it - --dg legacy|sr|prox|mfc and --save on hf iclass / seos / mf / mfdes sam - wiegand downgrade: the same outputs offline, from a saved credential or PACS bits, plus --selftest Outputs follow seader_credential.c: - legacy / sr: 20 block iCLASS dump, Seader's config, epurse, Kd from the HID standard key, block 6 03030303 0003E014 (A3 for SR, PACS left unencrypted), PACS in block 7, SR SIO in blocks 10-17. A CSN read from iCLASS is kept, anything else gets Seader's fake CSN 7AF53113FEFF12E0. - mfc: 1K dump with Seader's block 0, MAD, HID sector 1 keys and PACS in block 5, the layout hf mf encodehid writes. - prox: lf hid clone --bin, and -w H10301 for 26 bits as Seader does. - --save: a "hid credential" JSON with PACS, bits, UID, SIO, media type. The PACS parsing hf iclass sam and hf seos sam each had a copy of moves to hidsio.c; hf seos sam is now the shared ISO14443-A command. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>