mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-09-25 13:24:06 +00:00
Replaces the "not implemented yet" stub for ISO14B_STANDARD card type.
Phase A performs a transparent READ BINARY sweep (ISO7816-4 INS=B0 with
15-bit P1/P2 offset), which covers simple memory cards that have an
implicit current EF.
Phase B performs an SFI scan (P1 bit 7 set, bits 4-0 = SFI 1-30), reading
each EF directly without requiring a prior SELECT EF. This avoids SW=6986
("no current EF") returned by ISO7816-4 file-system cards. SFI-form
addressing is limited to 256 bytes per EF per the standard.
Field state is tracked across phases so the WUPB+ATTRIB reconnect cost is
paid only once. Collected data is displayed via a new print_std_blocks()
function (16-byte rows, offset/hex/ASCII columns, dense-output support) and
saved with the PUPI as filename via pm3_save_dump().
If neither phase yields data, actionable hints are printed directing the
user to hf 14b apdu or hf 14b ndefread for application-level access.