]>
Commit | Line | Data |
---|---|---|
a553f267 | 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 | ||
7fe9b0b7 | 11 | #ifndef CMDLFHID_H__ |
12 | #define CMDLFHID_H__ | |
13 | ||
758f5ee3 | 14 | #include <stdio.h> |
15 | #include <string.h> | |
16 | #include "proxmark3.h" | |
17 | #include "ui.h" | |
18 | #include "graph.h" | |
19 | #include "cmdparser.h" | |
a0a61c91 | 20 | #include "util.h" // wiegand_add_parity etc |
758f5ee3 | 21 | #include "cmdmain.h" |
22 | #include "sleep.h" | |
23 | #include "lfdemod.h" | |
24 | ||
7fe9b0b7 | 25 | int CmdLFHID(const char *Cmd); |
2767fc02 | 26 | //int CmdHIDDemod(const char *Cmd); |
7fe9b0b7 | 27 | int CmdHIDDemodFSK(const char *Cmd); |
28 | int CmdHIDSim(const char *Cmd); | |
2767fc02 | 29 | int CmdHIDClone(const char *Cmd); |
f4fbfb83 | 30 | int CmdHIDWiegand(const char *Cmd); |
3a532acf | 31 | int CmdHIDBrute(const char *Cmd); |
f4fbfb83 | 32 | |
3a532acf | 33 | int usage_lf_hid_wiegand(void); |
758f5ee3 | 34 | int usage_lf_hid_sim(void); |
35 | int usage_lf_hid_clone(void); | |
3a532acf | 36 | int usage_lf_hid_brute(void); |
758f5ee3 | 37 | |
a0a61c91 | 38 | //void calc26(uint16_t fc, uint32_t cardno, uint8_t *out); |
89603cbd | 39 | void calcWiegand(uint8_t fmtlen, uint16_t fc, uint64_t cardno, uint8_t *bits); |
7fe9b0b7 | 40 | #endif |