transit parsers: MIFARE Classic card systems

Run from hf mf view / dump / autopwn on the full dump. Detection is by
sector keys plus a data signature, as Metrodroid and Flipper do it, so
a dump needs the real keys in its trailers.

  Bip! (Santiago)            Metrodroid ChileBip, Flipper bip.c
  CharlieCard (Boston)       Metrodroid, Flipper charliecard.c
  Kazan                      Metrodroid, Flipper kazan.c
  Metromoney (Tbilisi)       Metrodroid, Flipper metromoney.c
  Nextfare: Go card (Brisbane), TAP (LA), Go-To (Minneapolis)
                             Metrodroid Nextfare/SeqGo/LaxTap/MspGoto
  Podorozhnik / Plantain     Metrodroid, Flipper plantain.c
  RENFE Suma 10              Metroflip renfe_sum10.c, partial
  SmartRider (Perth), MyWay  Metrodroid
  Troika, MFC and Ultralight Metrodroid, Flipper troika.c
  Umarsh                     Metrodroid, Flipper umarsh.c
  Zolotaya Korona            Metrodroid

Two Cities cards match both Troika and Podorozhnik, each printing its own
half. Self tests use the Metrodroid vectors where they exist (Troika UL
asset, Nextfare, a SmartRider timestamp) and synthetic dumps otherwise.
parsetransitmfc.h holds the shared sector/key accessors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
iceman1001andClaude Opus 5.5 committed 2026-11-10 10:05:13 +07:00
1 parent ea599c4a71
commit 4fcd3c274e
27 files changed
+3569

No files matched your search

+11
View File
@@ -445,6 +445,17 @@ set (TARGET_SOURCES
${PM3_ROOT}/client/src/parsers/parserkf.c
${PM3_ROOT}/client/src/parsers/parsenortic.c
${PM3_ROOT}/client/src/parsers/parsetransit.c
${PM3_ROOT}/client/src/parsers/parsebip.c
${PM3_ROOT}/client/src/parsers/parsecharlie.c
${PM3_ROOT}/client/src/parsers/parsekazan.c
${PM3_ROOT}/client/src/parsers/parsemetromoney.c
${PM3_ROOT}/client/src/parsers/parsenextfare.c
${PM3_ROOT}/client/src/parsers/parseplantain.c
${PM3_ROOT}/client/src/parsers/parserenfe.c
${PM3_ROOT}/client/src/parsers/parsesmartrider.c
${PM3_ROOT}/client/src/parsers/parsetroika.c
${PM3_ROOT}/client/src/parsers/parseumarsh.c
${PM3_ROOT}/client/src/parsers/parsezolotayakorona.c
${PM3_ROOT}/client/src/parsers/hrtparser/hrtparser.c
${PM3_ROOT}/client/src/pla.c
${PM3_ROOT}/client/src/preferences.c