mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
text + remove debug
This commit is contained in:
parent
b062ffa6cd
commit
2f1611a7cf
2 changed files with 3 additions and 5 deletions
|
@ -4888,8 +4888,9 @@ static int CmdHF14ADesDefault(const char *Cmd) {
|
||||||
static int CmdHF14ADesSetConfiguration(const char *Cmd) {
|
static int CmdHF14ADesSetConfiguration(const char *Cmd) {
|
||||||
CLIParserContext *ctx;
|
CLIParserContext *ctx;
|
||||||
CLIParserInit(&ctx, "hf mfdes setconfig",
|
CLIParserInit(&ctx, "hf mfdes setconfig",
|
||||||
"Set card configuration. Danger zone! Needs to provide card's master key and works if not blocked by config.",
|
"Set card configuration. WARNING! Danger zone! Needs to provide card's master key and works if not blocked by config.",
|
||||||
"hf mfdes setconfig --param 03 --data 0428 -> set parameter with data value");
|
"hf mfdes setconfig --param 03 --data 0428 -> set parameter 03\n"
|
||||||
|
"hf mfdes setconfig --param 02 --data 0875778102637264 -> set parameter 02");
|
||||||
|
|
||||||
void *argtable[] = {
|
void *argtable[] = {
|
||||||
arg_param_begin,
|
arg_param_begin,
|
||||||
|
@ -4971,8 +4972,6 @@ static int CmdHF14ADesSetConfiguration(const char *Cmd) {
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static int CmdHF14ADesChangeKey(const char *Cmd) {
|
static int CmdHF14ADesChangeKey(const char *Cmd) {
|
||||||
CLIParserContext *ctx;
|
CLIParserContext *ctx;
|
||||||
CLIParserInit(&ctx, "hf mfdes changekey",
|
CLIParserInit(&ctx, "hf mfdes changekey",
|
||||||
|
|
|
@ -1216,7 +1216,6 @@ int DesfireSetConfiguration(DesfireContext *dctx, uint8_t paramid, uint8_t *para
|
||||||
// send command
|
// send command
|
||||||
uint8_t resp[257] = {0};
|
uint8_t resp[257] = {0};
|
||||||
size_t resplen = 0;
|
size_t resplen = 0;
|
||||||
PrintAndLogEx(INFO, "plain data[%d]: %s", datalen, sprint_hex(data, datalen));
|
|
||||||
int res = DesfireSetConfigurationCmd(dctx, data, datalen, resp, &resplen);
|
int res = DesfireSetConfigurationCmd(dctx, data, datalen, resp, &resplen);
|
||||||
|
|
||||||
// check response
|
// check response
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue