mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
Merge pull request #1078 from tcprst/mfp_cliparser
hf mfp info - now use cliparser
This commit is contained in:
commit
681f13e04f
2 changed files with 10 additions and 1 deletions
|
@ -266,7 +266,17 @@ static int get_plus_version(uint8_t *version, int *version_len) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static int CmdHFMFPInfo(const char *Cmd) {
|
static int CmdHFMFPInfo(const char *Cmd) {
|
||||||
|
CLIParserContext *ctx;
|
||||||
|
CLIParserInit(&ctx, "hf mfp info",
|
||||||
|
"Get info from MIFARE Plus tags",
|
||||||
|
"hf mfp info");
|
||||||
|
|
||||||
|
void *argtable[] = {
|
||||||
|
arg_param_begin,
|
||||||
|
arg_param_end
|
||||||
|
};
|
||||||
|
CLIExecWithReturn(ctx, Cmd, argtable, true);
|
||||||
|
|
||||||
PrintAndLogEx(NORMAL, "");
|
PrintAndLogEx(NORMAL, "");
|
||||||
PrintAndLogEx(INFO, "--- " _CYAN_("Tag Information") " ---------------------------");
|
PrintAndLogEx(INFO, "--- " _CYAN_("Tag Information") " ---------------------------");
|
||||||
PrintAndLogEx(INFO, "-------------------------------------------------------------");
|
PrintAndLogEx(INFO, "-------------------------------------------------------------");
|
||||||
|
|
|
@ -139,7 +139,6 @@ hf mf gen3uid
|
||||||
hf mf gen3blk
|
hf mf gen3blk
|
||||||
hf mf gen3freeze
|
hf mf gen3freeze
|
||||||
hf mf ice
|
hf mf ice
|
||||||
hf mfp info
|
|
||||||
hf mfu info
|
hf mfu info
|
||||||
hf mfu dump
|
hf mfu dump
|
||||||
hf mfu restore
|
hf mfu restore
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue