From: roel@libnfc.org Date: Wed, 30 Dec 2009 00:11:23 +0000 (+0000) Subject: mifare client update X-Git-Tag: v1.0.0~422 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/fa03a110e92f32a0bbe247c511b332fb5cc99d4e?hp=2561caa24c84be1f93649a8c5abce0fabe29a5d5 mifare client update --- diff --git a/client/command.c b/client/command.c index 3b4c147f..a5c561a9 100644 --- a/client/command.c +++ b/client/command.c @@ -132,6 +132,12 @@ static void CmdHi14areader(char *str) SendCommand(&c); } +static void CmdHi14amifare(char *str) +{ + UsbCommand c={CMD_READER_MIFARE, {strtol(str, NULL, 0), 0, 0}}; + SendCommand(&c); +} + static void CmdHi15reader(char *str) { UsbCommand c={CMD_READER_ISO_15693, {strtol(str, NULL, 0), 0, 0}}; @@ -2815,6 +2821,7 @@ static struct { {"grid", CmdGrid, 1, " -- overlay grid on graph window, use zero value to turn off either"}, {"hexsamples", CmdHexsamples, 0, " -- Dump big buffer as hex bytes"}, {"hi14alist", CmdHi14alist, 0, "List ISO 14443a history"}, + {"hi14amifare", CmdHi14amifare, 0, "Read out sector 0 parity error messages"}, {"hi14areader", CmdHi14areader, 0, "Act like an ISO14443 Type A reader"}, {"hi14asim", CmdHi14asim, 0, " -- Fake ISO 14443a tag"}, {"hi14asnoop", CmdHi14asnoop, 0, "Eavesdrop ISO 14443 Type A"},