]>
git.zerfleddert.de Git - proxmark3-svn/blob - client/cmdlfhid.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // Low frequency HID commands
9 //-----------------------------------------------------------------------------
16 #include "proxmark3.h"
19 #include "cmdparser.h"
25 int CmdLFHID(const char *Cmd
);
26 //int CmdHIDDemod(const char *Cmd);
27 int CmdHIDDemodFSK(const char *Cmd
);
28 int CmdHIDSim(const char *Cmd
);
29 int CmdHIDClone(const char *Cmd
);
30 int CmdHIDWiegand(const char *Cmd
);
31 int CmdHIDBrute(const char *Cmd
);
33 int usage_lf_hid_wiegand(void);
34 int usage_lf_hid_sim(void);
35 int usage_lf_hid_clone(void);
36 int usage_lf_hid_brute(void);
38 void calc26(uint16_t fc
, uint32_t cardno
, uint8_t *out
);
39 void calcWiegand(uint8_t fmtlen
, uint16_t fc
, uint64_t cardno
, uint8_t *bits
);