From 5558d935bde42bcaef71920b53658c8cf66eacae Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 13 Jun 2016 21:55:52 +0200 Subject: [PATCH 1/1] ADD: added the skeleton for analysing dates in a given byte array. --- client/cmdanalyse.c | 11 +++++++++-- client/cmdanalyse.h | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/client/cmdanalyse.c b/client/cmdanalyse.c index d725d939..ff6c0d4e 100644 --- a/client/cmdanalyse.c +++ b/client/cmdanalyse.c @@ -46,9 +46,16 @@ int CmdAnalyseLCR(const char *Cmd) { return 0; } +int CmdAnalyseDates(const char *Cmd){ + // look for datestamps in a given array of bytes + PrintAndLog("To be implemented. If you feel to contribute!"); + return 0; +} + static command_t CommandTable[] = { - {"help", CmdHelp, 1, "This help"}, - {"lcr", CmdAnalyseLCR, 0, "Generate final byte for XOR LRC"}, + {"help", CmdHelp, 1, "This help"}, + {"lcr", CmdAnalyseLCR, 0, "Generate final byte for XOR LRC"}, + {"dates", CmdAnalyseDates, 0, "Look for datestamps in a given array of bytes"}, {NULL, NULL, 0, NULL} }; diff --git a/client/cmdanalyse.h b/client/cmdanalyse.h index 9f5132a3..58ec865a 100644 --- a/client/cmdanalyse.h +++ b/client/cmdanalyse.h @@ -20,5 +20,5 @@ command_t * CmdDataCommands(); int CmdAnalyse(const char *Cmd); int CmdAnalyseLCR(const char *Cmd); - +int CmdAnalyseDates(const char *Cmd); #endif -- 2.39.5