X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/9b952b29ebba638c59ab03621c0f04fca7ec602c..refs/pull/943/head:/client/cmdlfem4x.h diff --git a/client/cmdlfem4x.h b/client/cmdlfem4x.h index ff8e1c4d..c4c4c2b2 100644 --- a/client/cmdlfem4x.h +++ b/client/cmdlfem4x.h @@ -11,6 +11,9 @@ #ifndef CMDLFEM4X_H__ #define CMDLFEM4X_H__ +#include // for bool +#include + extern int CmdLFEM4X(const char *Cmd); extern void printEM410x(uint32_t hi, uint64_t id); extern int CmdEMdemodASK(const char *Cmd); @@ -18,11 +21,13 @@ extern int CmdAskEM410xDemod(const char *Cmd); extern int AskEm410xDecode(bool verbose, uint32_t *hi, uint64_t *lo ); extern int AskEm410xDemod(const char *Cmd, uint32_t *hi, uint64_t *lo, bool verbose); extern int CmdEM410xSim(const char *Cmd); +extern int CmdEM410xBrute(const char *Cmd); extern int CmdEM410xWatch(const char *Cmd); extern int CmdEM410xWatchnSpoof(const char *Cmd); extern int CmdEM410xWrite(const char *Cmd); extern bool EM4x05Block0Test(uint32_t *wordData); extern int CmdEM4x05info(const char *Cmd); +extern int EM4x05WriteWord(uint8_t addr, uint32_t data, uint32_t pwd, bool usePwd, bool swap, bool invert); extern int CmdEM4x05WriteWord(const char *Cmd); extern int CmdEM4x05dump(const char *Cmd); extern int CmdEM4x05ReadWord(const char *Cmd);