From 864b632a1992a56a6287907e926e412f8817abd2 Mon Sep 17 00:00:00 2001 From: Geonyeob Kim Date: Thu, 24 Nov 2022 00:54:47 +0900 Subject: [PATCH] typo --- client/src/cmdhffido.c | 6 +++--- client/src/cmdhfksx6924.c | 14 +++++++------- client/src/emv/cmdemv.c | 20 ++++++++++---------- doc/commands.json | 26 +++++++++++++------------- 4 files changed, 33 insertions(+), 33 deletions(-) diff --git a/client/src/cmdhffido.c b/client/src/cmdhffido.c index d95923159..a00206c01 100644 --- a/client/src/cmdhffido.c +++ b/client/src/cmdhffido.c @@ -413,7 +413,7 @@ static int CmdHFFidoAuthenticate(const char *cmd) { void *argtable[] = { arg_param_begin, - arg_lit0("a", "apdu", "Show APDU reqests and responses"), + arg_lit0("a", "apdu", "Show APDU requests and responses"), arg_lit0("v", "verbose", "Verbose mode"), arg_rem("default mode:", "dont-enforce-user-presence-and-sign"), arg_lit0("u", "user", "mode: enforce-user-presence-and-sign"), @@ -675,7 +675,7 @@ static int CmdHFFido2MakeCredential(const char *cmd) { void *argtable[] = { arg_param_begin, - arg_lit0("a", "apdu", "Show APDU reqests and responses"), + arg_lit0("a", "apdu", "Show APDU requests and responses"), arg_litn("v", "verbose", 0, 2, "Verbose mode. vv - show full certificates data"), arg_lit0("t", "tlv", "Show DER certificate contents in TLV representation"), arg_lit0("c", "cbor", "Show CBOR decoded data"), @@ -794,7 +794,7 @@ static int CmdHFFido2GetAssertion(const char *cmd) { void *argtable[] = { arg_param_begin, - arg_lit0("a", "apdu", "Show APDU reqests and responses"), + arg_lit0("a", "apdu", "Show APDU requests and responses"), arg_litn("v", "verbose", 0, 2, "Verbose mode. vv - show full certificates data"), arg_lit0("c", "cbor", "Show CBOR decoded data"), arg_lit0("l", "list", "Add CredentialId from json to allowList"), diff --git a/client/src/cmdhfksx6924.c b/client/src/cmdhfksx6924.c index d405459c9..1bbe45700 100644 --- a/client/src/cmdhfksx6924.c +++ b/client/src/cmdhfksx6924.c @@ -69,7 +69,7 @@ static int CmdHFKSX6924Balance(const char *Cmd) { void *argtable[] = { arg_param_begin, arg_lit0("k", "keep", "keep field ON for next command"), - arg_lit0("a", "apdu", "show APDU reqests and responses"), + arg_lit0("a", "apdu", "Show APDU requests and responses"), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, true); @@ -102,7 +102,7 @@ static int CmdHFKSX6924Info(const char *Cmd) { void *argtable[] = { arg_param_begin, arg_lit0("k", "keep", "keep field ON for next command"), - arg_lit0("a", "apdu", "show APDU reqests and responses"), + arg_lit0("a", "apdu", "Show APDU requests and responses"), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, true); @@ -224,7 +224,7 @@ static int CmdHFKSX6924Select(const char *Cmd) { void *argtable[] = { arg_param_begin, - arg_lit0("a", "apdu", "show APDU reqests and responses"), + arg_lit0("a", "apdu", "Show APDU requests and responses"), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, true); @@ -252,8 +252,8 @@ static int CmdHFKSX6924Initialize(const char *Cmd) { void *argtable[] = { arg_param_begin, arg_lit0("k", "keep", "keep field ON for next command"), - arg_lit0("a", "apdu", "show APDU reqests and responses"), - arg_str1(NULL, NULL, "", NULL), + arg_lit0("a", "apdu", "Show APDU requests and responses"), + arg_str1(NULL, NULL, "", NULL), arg_param_end }; CLIExecWithReturn(ctx, Cmd, argtable, true); @@ -269,7 +269,7 @@ static int CmdHFKSX6924Initialize(const char *Cmd) { SetAPDULogging(APDULogging); if (datalen != 4) { - PrintAndLogEx(WARNING, "Mpda parameter must be 4 byte long (eg: 000003e8)"); + PrintAndLogEx(WARNING, "Mpda parameter must be 4 bytes long (eg: 000003e8)"); return PM3_EINVARG; } @@ -305,7 +305,7 @@ static int CmdHFKSX6924PRec(const char *Cmd) { void *argtable[] = { arg_param_begin, arg_lit0("k", "keep", "keep field ON for next command"), - arg_lit0("a", "apdu", "show APDU reqests and responses"), + arg_lit0("a", "apdu", "Show APDU requests and responses"), arg_str1(NULL, NULL, "", NULL), arg_param_end }; diff --git a/client/src/emv/cmdemv.c b/client/src/emv/cmdemv.c index a855b672f..bf1cde60d 100644 --- a/client/src/emv/cmdemv.c +++ b/client/src/emv/cmdemv.c @@ -140,7 +140,7 @@ static int CmdEMVSearch(const char *Cmd) { arg_param_begin, arg_lit0("sS", "select", "Activate field and select card"), arg_lit0("kK", "keep", "Keep field ON for next command"), - arg_lit0("aA", "apdu", "Show APDU reqests and responses"), + arg_lit0("aA", "apdu", "Show APDU requests and responses"), arg_lit0("tT", "tlv", "TLV decode results of selected applets"), arg_lit0("wW", "wired", "Send data via contact (iso7816) interface. (def: Contactless interface)"), arg_param_end @@ -196,7 +196,7 @@ static int CmdEMVPPSE(const char *Cmd) { arg_lit0("kK", "keep", "Keep field ON for next command"), arg_lit0("1", "pse", "PSE (1PAY.SYS.DDF01) mode"), arg_lit0("2", "ppse", "PPSE (2PAY.SYS.DDF01) mode (def)"), - arg_lit0("aA", "apdu", "Show APDU reqests and responses"), + arg_lit0("aA", "apdu", "Show APDU requests and responses"), arg_lit0("tT", "tlv", "TLV decode results of selected applets"), arg_lit0("wW", "wired", "Send data via contact (iso7816) interface. (def: Contactless interface)"), arg_param_end @@ -255,7 +255,7 @@ static int CmdEMVGPO(const char *Cmd) { arg_lit0("kK", "keep", "Keep field ON for next command"), arg_lit0("pP", "params", "Load parameters from `emv_defparams.json` file for PDOLdata making from PDOL and parameters"), arg_lit0("mM", "make", "Make PDOLdata from PDOL (tag 9F38) and parameters (def: uses default parameters)"), - arg_lit0("aA", "apdu", "Show APDU reqests and responses"), + arg_lit0("aA", "apdu", "Show APDU requests and responses"), arg_lit0("tT", "tlv", "TLV decode results of selected applets"), arg_lit0("wW", "wired", "Send data via contact (iso7816) interface. (def: Contactless interface)"), arg_strx0(NULL, NULL, "", "PDOLdata/PDOL"), @@ -362,7 +362,7 @@ static int CmdEMVReadRecord(const char *Cmd) { void *argtable[] = { arg_param_begin, arg_lit0("kK", "keep", "Keep field ON for next command"), - arg_lit0("aA", "apdu", "Show APDU reqests and responses"), + arg_lit0("aA", "apdu", "Show APDU requests and responses"), arg_lit0("tT", "tlv", "TLV decode results of selected applets"), arg_lit0("wW", "wired", "Send data via contact (iso7816) interface. (def: Contactless interface)"), arg_strx1(NULL, NULL, "", "", "Terminal decision. aac - declined, tc - approved, arqc - online authorisation requested"), arg_lit0("pP", "params", "Load parameters from `emv_defparams.json` file for CDOLdata making from CDOL and parameters"), arg_lit0("mM", "make", "Make CDOLdata from CDOL (tag 8C and 8D) and parameters (def: use default parameters)"), - arg_lit0("aA", "apdu", "Show APDU reqests and responses"), + arg_lit0("aA", "apdu", "Show APDU requests and responses"), arg_lit0("tT", "tlv", "TLV decode results of selected applets"), arg_lit0("wW", "wired", "Send data via contact (iso7816) interface. (def: Contactless interface)"), arg_strx1(NULL, NULL, "", "CDOLdata/CDOL"), @@ -544,7 +544,7 @@ static int CmdEMVGenerateChallenge(const char *Cmd) { void *argtable[] = { arg_param_begin, arg_lit0("kK", "keep", "Keep field ON for next command"), - arg_lit0("aA", "apdu", "Show APDU reqests and responses"), + arg_lit0("aA", "apdu", "Show APDU requests and responses"), arg_lit0("wW", "wired", "Send data via contact (iso7816) interface. (def: Contactless interface)"), arg_param_end }; @@ -598,7 +598,7 @@ static int CmdEMVInternalAuthenticate(const char *Cmd) { arg_lit0("kK", "keep", "Keep field ON for next command"), arg_lit0("pP", "params", "Load parameters from `emv_defparams.json` file for DDOLdata making from DDOL and parameters"), arg_lit0("mM", "make", "Make DDOLdata from DDOL (tag 9F49) and parameters (def: use default parameters)"), - arg_lit0("aA", "apdu", "Show APDU reqests and responses"), + arg_lit0("aA", "apdu", "Show APDU requests and responses"), arg_lit0("tT", "tlv", "TLV decode results of selected applets"), arg_lit0("wW", "wired", "Send data via contact (iso7816) interface. (def: Contactless interface)"), arg_strx1(NULL, NULL, "", "DDOLdata/DDOL"), @@ -823,7 +823,7 @@ static int CmdEMVExec(const char *Cmd) { void *argtable[] = { arg_param_begin, arg_lit0("sS", "select", "Activate field and select card"), - arg_lit0("aA", "apdu", "Show APDU reqests and responses"), + arg_lit0("aA", "apdu", "Show APDU requests and responses"), arg_lit0("tT", "tlv", "TLV decode results"), arg_lit0("jJ", "jload", "Load transaction parameters from `emv_defparams.json` file"), arg_lit0("fF", "forceaid", "Force search AID. Search AID instead of execute PPSE"), @@ -1448,7 +1448,7 @@ static int CmdEMVScan(const char *Cmd) { void *argtable[] = { arg_param_begin, - arg_lit0("aA", "apdu", "Show APDU reqests and responses"), + arg_lit0("aA", "apdu", "Show APDU requests and responses"), arg_lit0("tT", "tlv", "TLV decode results"), arg_lit0("eE", "extract", "Extract TLV elements and fill Application Data"), arg_lit0("jJ", "jload", "Load transaction parameters from `emv_defparams.json` file"), @@ -1872,7 +1872,7 @@ static int CmdEMVRoca(const char *Cmd) { void *argtable[] = { arg_param_begin, arg_lit0("tT", "selftest", "Self test"), - arg_lit0("aA", "apdu", "Show APDU reqests and responses"), + arg_lit0("aA", "apdu", "Show APDU requests and responses"), arg_lit0("wW", "wired", "Send data via contact (iso7816) interface. (def: Contactless interface)"), arg_param_end }; diff --git a/doc/commands.json b/doc/commands.json index c9ce72f8c..b2138ee11 100644 --- a/doc/commands.json +++ b/doc/commands.json @@ -761,7 +761,7 @@ "options": [ "-h, --help This help", "-k, -K, --keep Keep field ON for next command", - "-a, -A, --apdu Show APDU reqests and responses", + "-a, -A, --apdu Show APDU requests and responses", "-w, -W, --wired Send data via contact (iso7816) interface. (def: Contactless interface)" ], "usage": "emv challenge [-hkaw]" @@ -777,7 +777,7 @@ "options": [ "-h, --help This help", "-s, -S, --select Activate field and select card", - "-a, -A, --apdu Show APDU reqests and responses", + "-a, -A, --apdu Show APDU requests and responses", "-t, -T, --tlv TLV decode results", "-j, -J, --jload Load transaction parameters from `emv_defparams.json` file", "-f, -F, --forceaid Force search AID. Search AID instead of execute PPSE", @@ -807,7 +807,7 @@ "-d, -D, --decision Terminal decision. aac - declined, tc - approved, arqc - online authorisation requested", "-p, -P, --params Load parameters from `emv_defparams.json` file for CDOLdata making from CDOL and parameters", "-m, -M, --make Make CDOLdata from CDOL (tag 8C and 8D) and parameters (def: use default parameters)", - "-a, -A, --apdu Show APDU reqests and responses", + "-a, -A, --apdu Show APDU requests and responses", "-t, -T, --tlv TLV decode results of selected applets", "-w, -W, --wired Send data via contact (iso7816) interface. (def: Contactless interface)", " CDOLdata/CDOL" @@ -828,7 +828,7 @@ "-k, -K, --keep Keep field ON for next command", "-p, -P, --params Load parameters from `emv_defparams.json` file for PDOLdata making from PDOL and parameters", "-m, -M, --make Make PDOLdata from PDOL (tag 9F38) and parameters (def: uses default parameters)", - "-a, -A, --apdu Show APDU reqests and responses", + "-a, -A, --apdu Show APDU requests and responses", "-t, -T, --tlv TLV decode results of selected applets", "-w, -W, --wired Send data via contact (iso7816) interface. (def: Contactless interface)", " PDOLdata/PDOL" @@ -857,7 +857,7 @@ "-k, -K, --keep Keep field ON for next command", "-p, -P, --params Load parameters from `emv_defparams.json` file for DDOLdata making from DDOL and parameters", "-m, -M, --make Make DDOLdata from DDOL (tag 9F49) and parameters (def: use default parameters)", - "-a, -A, --apdu Show APDU reqests and responses", + "-a, -A, --apdu Show APDU requests and responses", "-t, -T, --tlv TLV decode results of selected applets", "-w, -W, --wired Send data via contact (iso7816) interface. (def: Contactless interface)", " DDOLdata/DDOL" @@ -899,7 +899,7 @@ "-k, -K, --keep Keep field ON for next command", "-1, --pse PSE (1PAY.SYS.DDF01) mode", "-2, --ppse PPSE (2PAY.SYS.DDF01) mode (def)", - "-a, -A, --apdu Show APDU reqests and responses", + "-a, -A, --apdu Show APDU requests and responses", "-t, -T, --tlv TLV decode results of selected applets", "-w, -W, --wired Send data via contact (iso7816) interface. (def: Contactless interface)" ], @@ -916,7 +916,7 @@ "options": [ "-h, --help This help", "-k, -K, --keep Keep field ON for next command", - "-a, -A, --apdu Show APDU reqests and responses", + "-a, -A, --apdu Show APDU requests and responses", "-t, -T, --tlv TLV decode results of selected applets", "-w, -W, --wired Send data via contact (iso7816) interface. (def: Contactless interface)", "