X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/f4fbfb83e25549c02540ca983cac227139869578..715bed50234cb73cd3cb646e41021e93b3cff6b5:/client/cmdlfhid.h?ds=inline diff --git a/client/cmdlfhid.h b/client/cmdlfhid.h index 3c86a123..57603b2f 100644 --- a/client/cmdlfhid.h +++ b/client/cmdlfhid.h @@ -11,13 +11,30 @@ #ifndef CMDLFHID_H__ #define CMDLFHID_H__ +#include +#include +#include "proxmark3.h" +#include "ui.h" +#include "graph.h" +#include "cmdparser.h" +#include "util.h" +#include "cmdmain.h" +#include "sleep.h" +#include "lfdemod.h" + int CmdLFHID(const char *Cmd); //int CmdHIDDemod(const char *Cmd); int CmdHIDDemodFSK(const char *Cmd); int CmdHIDSim(const char *Cmd); int CmdHIDClone(const char *Cmd); - int CmdHIDWiegand(const char *Cmd); +int CmdHIDBrute(const char *Cmd); + +int usage_lf_hid_wiegand(void); +int usage_lf_hid_sim(void); +int usage_lf_hid_clone(void); +int usage_lf_hid_brute(void); -int usage_hid_wiegand(); +void calc26(uint16_t fc, uint32_t cardno, uint8_t *out); +void calcWiegand(uint8_t fmtlen, uint16_t fc, uint64_t cardno, uint8_t *bits); #endif