]>
Commit | Line | Data |
---|---|---|
1 | //----------------------------------------------------------------------------- | |
2 | // Copyright (C) 2010 iZsh <izsh at fail0verflow.com> | |
3 | // | |
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 | |
6 | // the license. | |
7 | //----------------------------------------------------------------------------- | |
8 | // Low frequency HID commands | |
9 | //----------------------------------------------------------------------------- | |
10 | ||
11 | #ifndef CMDLFHID_H__ | |
12 | #define CMDLFHID_H__ | |
13 | ||
14 | #include <stdio.h> | |
15 | #include <string.h> | |
16 | #include "proxmark3.h" | |
17 | #include "ui.h" | |
18 | #include "graph.h" | |
19 | #include "cmdparser.h" | |
20 | #include "util.h" | |
21 | #include "cmdmain.h" | |
22 | #include "sleep.h" | |
23 | #include "lfdemod.h" | |
24 | ||
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); | |
32 | ||
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); | |
37 | ||
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); | |
40 | #endif |