mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
Adding FM1208-10 detection with slightly different block0, thanks @mmm!
This commit is contained in:
parent
fcca67bf89
commit
365758ff50
1 changed files with 8 additions and 1 deletions
|
@ -9715,10 +9715,17 @@ static int CmdHF14AMfInfo(const char *Cmd) {
|
||||||
&& card.sak == 0x20 && memcmp(blockdata + 8, "\x62\x63\x64\x65\x66\x67\x68\x69", 8) == 0) {
|
&& card.sak == 0x20 && memcmp(blockdata + 8, "\x62\x63\x64\x65\x66\x67\x68\x69", 8) == 0) {
|
||||||
PrintAndLogEx(SUCCESS, "Fudan FM11RF32 (SAK=20)");
|
PrintAndLogEx(SUCCESS, "Fudan FM11RF32 (SAK=20)");
|
||||||
} else if (fKeyType == MF_KEY_BD && memcmp(fkey, k08, sizeof(fkey)) == 0
|
} else if (fKeyType == MF_KEY_BD && memcmp(fkey, k08, sizeof(fkey)) == 0
|
||||||
&& card.sak == 0x28 && memcmp(blockdata + 5, "\x28\x04\x00\x90\x10\x15\x01\x00\x00\x00\x00", 11) == 0) {
|
&& card.sak == 0x28 && (
|
||||||
|
(memcmp(blockdata + 5, "\x28\x04\x00\x90\x10\x15\x01\x00\x00\x00\x00", 11) == 0) ||
|
||||||
|
(memcmp(blockdata + 5, "\x28\x04\x00\x90\x11\x15\x01\x00\x00\x00\x00", 11) == 0))) {
|
||||||
// Note: it also has ATS =
|
// Note: it also has ATS =
|
||||||
// 10 78 80 90 02 20 90 00 00 00 00 00 + UID + CRC
|
// 10 78 80 90 02 20 90 00 00 00 00 00 + UID + CRC
|
||||||
PrintAndLogEx(SUCCESS, "Fudan FM1208-10");
|
PrintAndLogEx(SUCCESS, "Fudan FM1208-10");
|
||||||
|
} else if (fKeyType == MF_KEY_BD && memcmp(fkey, k08, sizeof(fkey)) == 0
|
||||||
|
&& card.sak == 0x28 && memcmp(blockdata + 5, "\x28\x04\x00\x90\x11\x15\x01\x00\x00\x00\x00", 11) == 0) {
|
||||||
|
// Note: it also has ATS =
|
||||||
|
// 10 78 80 90 02 20 90 00 00 00 00 00 + UID + CRC
|
||||||
|
PrintAndLogEx(SUCCESS, "Fudan FM1208-10 ?");
|
||||||
} else if (fKeyType == MF_KEY_BD && memcmp(fkey, k08, sizeof(fkey)) == 0
|
} else if (fKeyType == MF_KEY_BD && memcmp(fkey, k08, sizeof(fkey)) == 0
|
||||||
&& card.sak == 0x28 && memcmp(blockdata + 5, "\x28\x04\x00\x90\x53\xB7\x0C\x00\x00\x00\x00", 11) == 0) {
|
&& card.sak == 0x28 && memcmp(blockdata + 5, "\x28\x04\x00\x90\x53\xB7\x0C\x00\x00\x00\x00", 11) == 0) {
|
||||||
// Note: it also has ATS =
|
// Note: it also has ATS =
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue