X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/2b1f4228c2987459445d30443f92038f9ea080c6..17a9ca0cdc865d16ecd12bd9fb08b5ab2b329d73:/client/cmdhfmf.h diff --git a/client/cmdhfmf.h b/client/cmdhfmf.h index 6c0b206c..26df2df4 100644 --- a/client/cmdhfmf.h +++ b/client/cmdhfmf.h @@ -16,31 +16,36 @@ #include #include #include "proxmark3.h" + #include "iso14443crc.h" #include "data.h" #include "ui.h" #include "cmdparser.h" #include "common.h" #include "util.h" -#include "mifarehost.h" +//#include "mifarehost.h" +#include "mifare.h" // nonces_t struct +#include "cmdhfmfhard.h" +#include "nonce2key/nonce2key.h" int CmdHFMF(const char *Cmd); - -int CmdHF14AMfDbg(const char* cmd); -int CmdHF14AMfRdBl(const char* cmd); -int CmdHF14AMfURdBl(const char* cmd); -int CmdHF14AMfRdSc(const char* cmd); -int CmdHF14SMfURdCard(const char* cmd); -int CmdHF14AMfDump(const char* cmd); -int CmdHF14AMfRestore(const char* cmd); -int CmdHF14AMfWrBl(const char* cmd); -int CmdHF14AMfUWrBl(const char* cmd); -int CmdHF14AMfChk(const char* cmd); -int CmdHF14AMifare(const char* cmd); -int CmdHF14AMfNested(const char* cmd); + +int CmdHF14AMfDbg(const char* cmd); +int CmdHF14AMfRdBl(const char* cmd); +int CmdHF14AMfURdBl(const char* cmd); +int CmdHF14AMfRdSc(const char* cmd); +int CmdHF14SMfURdCard(const char* cmd); +int CmdHF14AMfDump(const char* cmd); +int CmdHF14AMfRestore(const char* cmd); +int CmdHF14AMfWrBl(const char* cmd); +int CmdHF14AMfUWrBl(const char* cmd); +int CmdHF14AMfChk(const char* cmd); +int CmdHF14AMifare(const char* cmd); +int CmdHF14AMfNested(const char* cmd); int CmdHF14AMfNestedHard(const char *Cmd); int CmdHF14AMfSniff(const char* cmd); int CmdHF14AMf1kSim(const char* cmd); +int CmdHF14AMfKeyBrute(const char *Cmd); int CmdHF14AMfEClear(const char* cmd); int CmdHF14AMfEGet(const char* cmd); int CmdHF14AMfESet(const char* cmd); @@ -56,4 +61,7 @@ int CmdHF14AMfCLoad(const char* cmd); int CmdHF14AMfCSave(const char* cmd); int CmdHf14MfDecryptBytes(const char *Cmd); +void showSectorTable(void); +void readerAttack(nonces_t data, bool setEmulatorMem, bool verbose); +void printKeyTable( uint8_t sectorscnt, sector *e_sector ); #endif