mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-28 03:14:53 +08:00
added a sample VAS private key to client/resources folder. Updated helptexts
This commit is contained in:
parent
08958d36ef
commit
6eba6015c5
2 changed files with 10 additions and 4 deletions
BIN
client/resources/vas_privkey.der
Normal file
BIN
client/resources/vas_privkey.der
Normal file
Binary file not shown.
|
@ -389,9 +389,12 @@ static int VASReader(uint8_t *pidHash, const char *url, size_t urlLen, uint8_t *
|
|||
|
||||
static int CmdVASReader(const char *Cmd) {
|
||||
CLIParserContext *ctx;
|
||||
CLIParserInit(&ctx, "nfc vas reader",
|
||||
CLIParserInit(&ctx, "hf vas reader",
|
||||
"Read and decrypt VAS message",
|
||||
"nfc vas reader -p pass.com.example.ticket -k ./priv.key -> select pass and decrypt with priv.key\nnfc vas reader --url https://example.com -> URL Only mode");
|
||||
"hf vas reader -p pass.com.example.ticket -k client/resources/vas_priv.key -> select pass and decrypt with priv.key\n"
|
||||
"hf vas reader --url https://example.com -> URL Only mode"
|
||||
);
|
||||
|
||||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_str0("p", NULL, "<pid>", "pass type id"),
|
||||
|
@ -491,9 +494,12 @@ static int CmdVASReader(const char *Cmd) {
|
|||
|
||||
static int CmdVASDecrypt(const char *Cmd) {
|
||||
CLIParserContext *ctx;
|
||||
CLIParserInit(&ctx, "nfc vas decrypt",
|
||||
CLIParserInit(&ctx, "hf vas decrypt",
|
||||
"Decrypt a previously captured cryptogram",
|
||||
"nfc vas reader -p pass.com.example.ticket -k ./priv.key -> select pass and decrypt with priv.key\nnfc vas reader --url https://example.com -> URL Only mode");
|
||||
"hf vas reader -p pass.com.example.ticket -k client/resources/vas_priv.key -> select pass and decrypt with priv.key\n"
|
||||
"hf vas reader --url https://example.com -> URL Only mode"
|
||||
);
|
||||
|
||||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_str0("p", NULL, "<pid>", "pass type id"),
|
||||
|
|
Loading…
Reference in a new issue