mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 01:55:38 +08:00
508b37ba9c
ADD: added a new string helper function "sprint_hex_ascii" in util.c ADD: added "LF AWID BRUTE", a very simple bruteforce command for the awid commands. it takes a facility-code, and iterates all possible 0xFFFF cardnum by sending sim command. It also uses the usb_poll function to stop the bruteforce on keypress and not leaving the pm3 device running the simulation. the command implements the help parameter.
25 lines
923 B
C
25 lines
923 B
C
//-----------------------------------------------------------------------------
|
|
// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
|
|
//
|
|
// This code is licensed to you under the terms of the GNU GPL, version 2 or,
|
|
// at your option, any later version. See the LICENSE.txt file for the text of
|
|
// the license.
|
|
//-----------------------------------------------------------------------------
|
|
// Low frequency AWID commands
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef CMDLFAWID_H__
|
|
#define CMDLFAWID_H__
|
|
|
|
int CmdLFAWID(const char *Cmd);
|
|
int CmdAWIDDemodFSK(const char *Cmd);
|
|
int CmdAWIDSim(const char *Cmd);
|
|
int CmdAWIDClone(const char *Cmd);
|
|
int CmdAWIDBrute(const char *Cmd);
|
|
int getAWIDBits(unsigned int fc, unsigned int cn, uint8_t *AWIDBits);
|
|
int usage_lf_awid_fskdemod(void);
|
|
int usage_lf_awid_clone(void);
|
|
int usage_lf_awid_sim(void);
|
|
int usage_lf_awid_brute(void);
|
|
|
|
#endif
|