]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/cmdlfhid.h
CHG: started the process of fixing "hf legic write" and "hf legic sim" commands.
[proxmark3-svn] / client / cmdlfhid.h
... / ...
CommitLineData
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
25int CmdLFHID(const char *Cmd);
26//int CmdHIDDemod(const char *Cmd);
27int CmdHIDDemodFSK(const char *Cmd);
28int CmdHIDSim(const char *Cmd);
29int CmdHIDClone(const char *Cmd);
30int CmdHIDWiegand(const char *Cmd);
31int CmdHIDBrute(const char *Cmd);
32
33int usage_lf_hid_wiegand(void);
34int usage_lf_hid_sim(void);
35int usage_lf_hid_clone(void);
36int usage_lf_hid_brute(void);
37
38void calc26(uint16_t fc, uint32_t cardno, uint8_t *out);
39void calcWiegand(uint8_t fmtlen, uint16_t fc, uint64_t cardno, uint8_t *bits);
40#endif
Impressum, Datenschutz