mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
style
This commit is contained in:
parent
3727abd28c
commit
4f88d7105f
2 changed files with 31 additions and 31 deletions
|
@ -3295,7 +3295,7 @@ int CmdHF14AMfAuth4(const char *Cmd) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://www.nxp.com/docs/en/application-note/AN10787.pdf
|
// https://www.nxp.com/docs/en/application-note/AN10787.pdf
|
||||||
int CmdHF14AMfMAD(const char *cmd) {
|
int CmdHF14AMfMAD(const char *Cmd) {
|
||||||
|
|
||||||
CLIParserInit("hf mf mad",
|
CLIParserInit("hf mf mad",
|
||||||
"Checks and prints Mifare Application Directory (MAD)",
|
"Checks and prints Mifare Application Directory (MAD)",
|
||||||
|
@ -3310,7 +3310,7 @@ int CmdHF14AMfMAD(const char *cmd) {
|
||||||
arg_lit0("bB", "keyb", "use key B for access printing sectors (by default: key A)"),
|
arg_lit0("bB", "keyb", "use key B for access printing sectors (by default: key A)"),
|
||||||
arg_param_end
|
arg_param_end
|
||||||
};
|
};
|
||||||
CLIExecWithReturn(cmd, argtable, true);
|
CLIExecWithReturn(Cmd, argtable, true);
|
||||||
bool verbose = arg_get_lit(1);
|
bool verbose = arg_get_lit(1);
|
||||||
uint8_t aid[2] = {0};
|
uint8_t aid[2] = {0};
|
||||||
int aidlen;
|
int aidlen;
|
||||||
|
@ -3385,7 +3385,7 @@ int CmdHF14AMfMAD(const char *cmd) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int CmdHFMFNDEF(const char *cmd) {
|
int CmdHFMFNDEF(const char *Cmd) {
|
||||||
|
|
||||||
CLIParserInit("hf mf ndef",
|
CLIParserInit("hf mf ndef",
|
||||||
"Prints NFC Data Exchange Format (NDEF)",
|
"Prints NFC Data Exchange Format (NDEF)",
|
||||||
|
@ -3400,7 +3400,7 @@ int CmdHFMFNDEF(const char *cmd) {
|
||||||
arg_lit0("bB", "keyb", "use key B for access sectors (by default: key A)"),
|
arg_lit0("bB", "keyb", "use key B for access sectors (by default: key A)"),
|
||||||
arg_param_end
|
arg_param_end
|
||||||
};
|
};
|
||||||
CLIExecWithReturn(cmd, argtable, true);
|
CLIExecWithReturn(Cmd, argtable, true);
|
||||||
|
|
||||||
bool verbose = arg_get_lit(1);
|
bool verbose = arg_get_lit(1);
|
||||||
bool verbose2 = arg_get_lit(1) > 1;
|
bool verbose2 = arg_get_lit(1) > 1;
|
||||||
|
|
|
@ -36,35 +36,35 @@
|
||||||
extern int CmdHFMF(const char *Cmd);
|
extern int CmdHFMF(const char *Cmd);
|
||||||
|
|
||||||
extern int CmdHF14AMfList(const char *Cmd);
|
extern int CmdHF14AMfList(const char *Cmd);
|
||||||
extern int CmdHF14AMfDbg(const char *cmd);
|
extern int CmdHF14AMfDbg(const char *Cmd);
|
||||||
extern int CmdHF14AMfRdBl(const char *cmd);
|
extern int CmdHF14AMfRdBl(const char *Cmd);
|
||||||
extern int CmdHF14AMfURdBl(const char *cmd);
|
extern int CmdHF14AMfURdBl(const char *Cmd);
|
||||||
extern int CmdHF14AMfRdSc(const char *cmd);
|
extern int CmdHF14AMfRdSc(const char *Cmd);
|
||||||
extern int CmdHF14SMfURdCard(const char *cmd);
|
extern int CmdHF14SMfURdCard(const char *Cmd);
|
||||||
extern int CmdHF14AMfDump(const char *cmd);
|
extern int CmdHF14AMfDump(const char *Cmd);
|
||||||
extern int CmdHF14AMfRestore(const char *cmd);
|
extern int CmdHF14AMfRestore(const char *Cmd);
|
||||||
extern int CmdHF14AMfWrBl(const char *cmd);
|
extern int CmdHF14AMfWrBl(const char *Cmd);
|
||||||
extern int CmdHF14AMfUWrBl(const char *cmd);
|
extern int CmdHF14AMfUWrBl(const char *Cmd);
|
||||||
extern int CmdHF14AMfChk(const char *cmd);
|
extern int CmdHF14AMfChk(const char *Cmd);
|
||||||
extern int CmdHF14AMfDarkside(const char *cmd);
|
extern int CmdHF14AMfDarkside(const char *Cmd);
|
||||||
extern int CmdHF14AMfNested(const char *cmd);
|
extern int CmdHF14AMfNested(const char *Cmd);
|
||||||
extern int CmdHF14AMfNestedHard(const char *Cmd);
|
extern int CmdHF14AMfNestedHard(const char *Cmd);
|
||||||
//extern int CmdHF14AMfSniff(const char* cmd);
|
//extern int CmdHF14AMfSniff(const char* Cmd);
|
||||||
extern int CmdHF14AMf1kSim(const char *cmd);
|
extern int CmdHF14AMf1kSim(const char *Cmd);
|
||||||
extern int CmdHF14AMfKeyBrute(const char *Cmd);
|
extern int CmdHF14AMfKeyBrute(const char *Cmd);
|
||||||
extern int CmdHF14AMfEClear(const char *cmd);
|
extern int CmdHF14AMfEClear(const char *Cmd);
|
||||||
extern int CmdHF14AMfEGet(const char *cmd);
|
extern int CmdHF14AMfEGet(const char *Cmd);
|
||||||
extern int CmdHF14AMfESet(const char *cmd);
|
extern int CmdHF14AMfESet(const char *Cmd);
|
||||||
extern int CmdHF14AMfELoad(const char *cmd);
|
extern int CmdHF14AMfELoad(const char *Cmd);
|
||||||
extern int CmdHF14AMfESave(const char *cmd);
|
extern int CmdHF14AMfESave(const char *Cmd);
|
||||||
extern int CmdHF14AMfECFill(const char *cmd);
|
extern int CmdHF14AMfECFill(const char *Cmd);
|
||||||
extern int CmdHF14AMfEKeyPrn(const char *cmd);
|
extern int CmdHF14AMfEKeyPrn(const char *Cmd);
|
||||||
extern int CmdHF14AMfCSetUID(const char *cmd);
|
extern int CmdHF14AMfCSetUID(const char *Cmd);
|
||||||
extern int CmdHF14AMfCSetBlk(const char *cmd);
|
extern int CmdHF14AMfCSetBlk(const char *Cmd);
|
||||||
extern int CmdHF14AMfCGetBlk(const char *cmd);
|
extern int CmdHF14AMfCGetBlk(const char *Cmd);
|
||||||
extern int CmdHF14AMfCGetSc(const char *cmd);
|
extern int CmdHF14AMfCGetSc(const char *Cmd);
|
||||||
extern int CmdHF14AMfCLoad(const char *cmd);
|
extern int CmdHF14AMfCLoad(const char *Cmd);
|
||||||
extern int CmdHF14AMfCSave(const char *cmd);
|
extern int CmdHF14AMfCSave(const char *Cmd);
|
||||||
extern int CmdHf14MfDecryptBytes(const char *Cmd);
|
extern int CmdHf14MfDecryptBytes(const char *Cmd);
|
||||||
extern int CmdHf14AMfSetMod(const char *Cmd);
|
extern int CmdHf14AMfSetMod(const char *Cmd);
|
||||||
extern int CmdHf14AMfNack(const char *Cmd);
|
extern int CmdHf14AMfNack(const char *Cmd);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue