From ffb269196f1011a391a2659ffad4927bf56bee05 Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Fri, 19 Oct 2018 16:24:01 +0300 Subject: [PATCH] added a key --- client/cmdhfmfp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/cmdhfmfp.c b/client/cmdhfmfp.c index 58db6b80..cc94ac43 100644 --- a/client/cmdhfmfp.c +++ b/client/cmdhfmfp.c @@ -22,6 +22,7 @@ #include "cmdhf14a.h" #include "mifare.h" #include "cliparser/cliparser.h" +#include "polarssl/libpcrypto.h" static const uint8_t DefaultKey[16] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; @@ -223,7 +224,7 @@ int CmdHFMFPWritePerso(const char *cmd) { return 0; } -uint16_t CardAddresses[] = {0x9000, 0x9001, 0x9003, 0x9004, 0xA000, 0xA001, 0xA080, 0xA081, 0xC000, 0xC001}; +uint16_t CardAddresses[] = {0x9000, 0x9001, 0x9002, 0x9003, 0x9004, 0xA000, 0xA001, 0xA080, 0xA081, 0xC000, 0xC001}; int CmdHFMFPInitPerso(const char *cmd) { int res;