]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/cmdlfhid.h
ADD: `analyse nuid` - generates NUID 4byte from a UID 7byte. Mifare Classic Ev1...
[proxmark3-svn] / client / cmdlfhid.h
CommitLineData
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 25int CmdLFHID(const char *Cmd);
2767fc02 26//int CmdHIDDemod(const char *Cmd);
7fe9b0b7 27int CmdHIDDemodFSK(const char *Cmd);
28int CmdHIDSim(const char *Cmd);
2767fc02 29int CmdHIDClone(const char *Cmd);
f4fbfb83 30int CmdHIDWiegand(const char *Cmd);
3a532acf 31int CmdHIDBrute(const char *Cmd);
f4fbfb83 32
3a532acf 33int usage_lf_hid_wiegand(void);
758f5ee3 34int usage_lf_hid_sim(void);
35int usage_lf_hid_clone(void);
3a532acf 36int usage_lf_hid_brute(void);
758f5ee3 37
a0a61c91 38//void calc26(uint16_t fc, uint32_t cardno, uint8_t *out);
89603cbd 39void calcWiegand(uint8_t fmtlen, uint16_t fc, uint64_t cardno, uint8_t *bits);
7fe9b0b7 40#endif
Impressum, Datenschutz