diff --git a/client/src/cmdhfmfp.c b/client/src/cmdhfmfp.c index 15f244141..6c047f06c 100644 --- a/client/src/cmdhfmfp.c +++ b/client/src/cmdhfmfp.c @@ -2091,7 +2091,7 @@ static command_t CommandTable[] = { {"rdbl", CmdHFMFPRdbl, IfPm3Iso14443a, "Read blocks from card"}, {"rdsc", CmdHFMFPRdsc, IfPm3Iso14443a, "Read sectors from card"}, {"wrbl", CmdHFMFPWrbl, IfPm3Iso14443a, "Write block to card"}, - {"chkey", CmdHFMFPChKey, IfPm3Iso14443a, "Change key on card"}, + {"chkey", CmdHFMFPChKey, IfPm3Iso14443a, "Change key on card"}, {"chconf", CmdHFMFPChConf, IfPm3Iso14443a, "Change config on card"}, {"-----------", CmdHelp, IfPm3Iso14443a, "---------------- " _CYAN_("personalization") " -------------------"}, {"commitp", CmdHFMFPCommitPerso, IfPm3Iso14443a, "Configure security layer (SL1/SL3 mode)"}, diff --git a/client/src/cmdsmartcard.c b/client/src/cmdsmartcard.c index 46a5a9448..b8fbef3a7 100644 --- a/client/src/cmdsmartcard.c +++ b/client/src/cmdsmartcard.c @@ -1313,7 +1313,7 @@ static int CmdRelay(const char *Cmd) { continue; } } else if (cardType == ISODEP_NFCB) { - if (exchange_14b_apdu(cmdbuf + 2, apduLen, !fieldActivated, true, apduRes, sizeof(apduRes), &apduResLen, 0)) { + if (exchange_14b_apdu(cmdbuf + 2, apduLen, !fieldActivated, true, apduRes, sizeof(apduRes), &apduResLen, 0)) { cardType = ISODEP_INACTIVE; mbedtls_net_close(&netCtx); continue; diff --git a/client/src/cmdtrace.c b/client/src/cmdtrace.c index c5565dc75..9ee7b256a 100644 --- a/client/src/cmdtrace.c +++ b/client/src/cmdtrace.c @@ -1121,7 +1121,7 @@ static int CmdTraceLoad(const char *Cmd) { CLIParserFree(ctx); if (gs_trace) { - free(gs_trace); // maybe better to not clobber this until we have successful load? + free(gs_trace); // maybe better to not clobber this until we have successful load? gs_trace = NULL; gs_traceLen = 0; } diff --git a/doc/commands.json b/doc/commands.json index e406bb5fc..160eb6781 100644 --- a/doc/commands.json +++ b/doc/commands.json @@ -10973,16 +10973,18 @@ "command": "mem spiffs dump", "description": "Dumps device SPIFFS file to a local file Size is handled by first sending a STAT command against file to verify existence", "notes": [ - "mem spiffs dump -s tag.bin -> download binary file from device", - "mem spiffs dump -s tag.bin -d a001 -e -> download tag.bin, save as `a001.bin`" + "mem spiffs dump -s tag.bin -> download binary file from device, saved as `tag.bin`", + "mem spiffs dump -s tag.bin -d a001 -> download tag.bin, save as `a001.bin`", + "mem spiffs dump -s tag.bin -t -> download tag.bin into trace buffer" ], "offline": false, "options": [ "-h, --help This help", "-s, --src SPIFFS file to save", - "-d, --dest file name to save to " + "-d, --dest file name to save to ", + "-t, --trace download into trace buffer" ], - "usage": "mem spiffs dump [-h] -s [-d ]" + "usage": "mem spiffs dump [-ht] -s [-d ]" }, "mem spiffs info": { "command": "mem spiffs info", @@ -11087,7 +11089,7 @@ }, "mem spiffs view": { "command": "mem spiffs view", - "description": "View a file on flash memory on devicer in console", + "description": "View a file on flash memory on device in console", "notes": [ "mem spiffs view -f tag.bin" ], @@ -12160,6 +12162,6 @@ "metadata": { "commands_extracted": 703, "extracted_by": "PM3Help2JSON v1.00", - "extracted_on": "2024-01-02T20:54:40" + "extracted_on": "2024-01-02T22:09:45" } } \ No newline at end of file diff --git a/tools/build_all_firmwares.sh b/tools/build_all_firmwares.sh index 261d89135..22a3ee60f 100755 --- a/tools/build_all_firmwares.sh +++ b/tools/build_all_firmwares.sh @@ -32,7 +32,7 @@ mv bootrom/obj/bootrom.elf "$DEST/PM3BOOTROM.elf" # cf armsrc/Standalone/Makefile.hal STANDALONE_MODES=(LF_SKELETON) STANDALONE_MODES+=(LF_EM4100EMUL LF_EM4100RSWB LF_EM4100RSWW LF_EM4100RWC LF_HIDBRUTE LF_HIDFCBRUTE LF_ICEHID LF_MULTIHID LF_NEDAP_SIM LF_NEXID LF_PROXBRUTE LF_PROX2BRUTE LF_SAMYRUN LF_THAREXDE) -STANDALONE_MODES+=(HF_14ASNIFF HF_14BSNIFF HF_15SNIFF HF_AVEFUL HF_BOG HF_CARDHOPPER HF_COLIN HF_CRAFTBYTE HF_ICECLASS HF_LEGIC HF_LEGICSIM HF_MATTYRUN HF_MFCSIM HF_MSDSAL HF_REBLAY HF_TCPRST HF_TMUDFORD HF_YOUNG) +STANDALONE_MODES+=(HF_14ASNIFF HF_14BSNIFF HF_15SNIFF HF_AVEFUL HF_BOG HF_CARDHOPPER HF_COLIN HF_CRAFTBYTE HF_ICECLASS HF_LEGIC HF_LEGICSIM HF_MATTYRUN HF_MFCSIM HF_MSDSAL HF_REBLAY HF_TCPRST HF_TMUDFORD HF_UNISNIFF HF_YOUNG) STANDALONE_MODES+=(DANKARMULTI) STANDALONE_MODES_REQ_BT=(HF_CARDHOPPER HF_REBLAY) STANDALONE_MODES_REQ_SMARTCARD=()