diff --git a/CHANGELOG.md b/CHANGELOG.md index 0392833f4..0db55155d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file. This project uses the changelog in accordance with [keepchangelog](http://keepachangelog.com/). Please use this to write notable changes, which is not the same as git commit log... ## [unreleased][unreleased] + - Mikron JSC Russia Ultralight EV1 41 pages tag type support (@McEloff) + - Add test for Ultralight gen2 magic 'hf search' (@McEloff) + - Add test for Ultralight EV1 gen2 magic 'hf search' (@McEloff) - Added `hf mf gen3*`magic gen 3 card operations (@McEloff) - Readded verichip command which seems missing (@iceman1001) - Fix missing t55x7 config block detection (@iceman1001) diff --git a/armsrc/mifarecmd.c b/armsrc/mifarecmd.c index bfa6bb1cd..63faa25d3 100644 --- a/armsrc/mifarecmd.c +++ b/armsrc/mifarecmd.c @@ -2248,6 +2248,16 @@ void MifareCIdent(void) { if (memcmp(buf, "\x0D\x78\x00\x71\x02\x88\x49\xA1\x30\x20\x15\x06\x08\x56\x3D", 15) == 0) { isGen = MAGIC_GEN_2; } + // test for Ultralight magic gen2 + if (memcmp(buf, "\x0A\x78\x00\x81\x02\xDB\xA0\xC1\x19\x40\x2A\xB5", 12) == 0) { + isGen = MAGIC_GEN_2; + goto OUT; + } + // test for Ultralight EV1 magic gen2 + if (memcmp(buf, "\x85\x00\x00\xA0\x00\x00\x0A\xC3\x00\x04\x03\x01\x01\x00\x0B\x03\x41\xDF", 18) == 0) { + isGen = MAGIC_GEN_2; + goto OUT; + } }; OUT: