2016-05-10 21:30:46 +08:00
|
|
|
//-----------------------------------------------------------------------------
|
2016-10-30 03:42:46 +08:00
|
|
|
// Copyright (C) 2016 iceman <iceman at ...>
|
2016-05-10 21:30:46 +08:00
|
|
|
//
|
|
|
|
// 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.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Data and Graph commands
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef CMDANALYSE_H__
|
|
|
|
#define CMDANALYSE_H__
|
|
|
|
|
|
|
|
#include <stdlib.h> //size_t
|
|
|
|
#include <string.h>
|
|
|
|
#include "cmdmain.h"
|
|
|
|
#include "proxmark3.h"
|
|
|
|
#include "ui.h" // PrintAndLog
|
2016-07-29 03:47:52 +08:00
|
|
|
#include "util.h"
|
|
|
|
#include "crc.h"
|
2016-08-05 03:51:26 +08:00
|
|
|
#include "../common/iso15693tools.h"
|
2016-08-08 03:08:17 +08:00
|
|
|
#include "tea.h"
|
2016-10-30 03:42:46 +08:00
|
|
|
#include "../include/legic_prng.h"
|
2016-07-29 03:47:52 +08:00
|
|
|
|
|
|
|
int usage_analyse_lcr(void);
|
|
|
|
int usage_analyse_checksum(void);
|
|
|
|
int usage_analyse_crc(void);
|
2016-11-18 01:20:44 +08:00
|
|
|
int usage_analyse_hid(void);
|
2016-05-10 21:30:46 +08:00
|
|
|
|
|
|
|
int CmdAnalyse(const char *Cmd);
|
|
|
|
int CmdAnalyseLCR(const char *Cmd);
|
2016-07-29 03:47:52 +08:00
|
|
|
int CmdAnalyseCHKSUM(const char *Cmd);
|
2016-06-14 03:55:52 +08:00
|
|
|
int CmdAnalyseDates(const char *Cmd);
|
2016-07-29 03:47:52 +08:00
|
|
|
int CmdAnalyseCRC(const char *Cmd);
|
2016-08-08 03:08:17 +08:00
|
|
|
int CmdAnalyseTEASelfTest(const char *Cmd);
|
2016-10-30 03:42:46 +08:00
|
|
|
int CmdAnalyseLfsr(const char *Cmd);
|
2016-11-18 01:20:44 +08:00
|
|
|
int CmdAnalyseHid(const char *Cmd);
|
2016-05-10 21:30:46 +08:00
|
|
|
#endif
|