Skip to content

Commit 347a4d5

Browse files
committed
fix help text samples
1 parent b097e10 commit 347a4d5

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

client/src/cmdflashmem.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,9 @@ static int CmdFlashMemInfo(const char *Cmd) {
663663
CLIParserInit(&ctx, "mem info",
664664
"Collect signature and verify it from flash memory",
665665
"mem info\n"
666-
"mem info -s -d 0102030405060708 -p pm3_generic_private_key.pem -w --> generate and write a RSA 1024 signature "
666+
"mem info -v --> print public keys\n"
667+
"mem info -s -p pm3_generic_private_key.pem --> generate a RSA 1024 signature for your SPI ID\n"
668+
"mem info -s -p pm3_generic_private_key.pem -w --> generate and write a RSA 1024 signature for your SPI ID"
667669
);
668670

669671
void *argtable[] = {

doc/commands.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7820,7 +7820,7 @@
78207820
"--expire <YYYY-MM-DDTHH:mm> Expire Date Offset",
78217821
"--created <YYYY-MM-DDTHH:mm> Card Creation Date",
78227822
"--prop_id <decimal> Property ID",
7823-
"-d data Unencrypted 17 byte card data"
7823+
"-d data Encrypted 17 byte card data"
78247824
],
78257825
"usage": "hf saflok modify [-h] [--level <decimal>] [--type <decimal>] [--id <decimal>] [--open <decimal>] [--lock_id <decimal>] [--pass_num <decimal>] [--seq_combo <decimal>] [--deadbolt <decimal>] [--days <decimal>] [--expire <YYYY-MM-DDTHH:mm>] [--created <YYYY-MM-DDTHH:mm>] [--prop_id <decimal>] -d data"
78267826
},
@@ -12322,7 +12322,10 @@
1232212322
"command": "mem info",
1232312323
"description": "Collect signature and verify it from flash memory",
1232412324
"notes": [
12325-
"mem info"
12325+
"mem info",
12326+
"mem info -v -> print public keys",
12327+
"mem info -s -p pm3_generic_private_key.pem -> generate a RSA 1024 signature for your SPI ID",
12328+
"mem info -s -p pm3_generic_private_key.pem -w -> generate and write a RSA 1024 signature for your SPI ID"
1232612329
],
1232712330
"offline": false,
1232812331
"options": [
@@ -13616,9 +13619,10 @@
1361613619
"-h, --help This help",
1361713620
"-r, --raw <hex> raw hex to be decoded",
1361813621
"-b, --bin <bin> binary string to be decoded",
13619-
"-n, --new <hex> new padded pacs as raw hex to be decoded"
13622+
"-n, --new <hex> new padded pacs as raw hex to be decoded",
13623+
"-f, --force skip preabmle checking, brute force all possible lengths for raw hex input"
1362013624
],
13621-
"usage": "wiegand decode [-h] [-r <hex>] [-b <bin>] [-n <hex>]"
13625+
"usage": "wiegand decode [-hf] [-r <hex>] [-b <bin>] [-n <hex>]"
1362213626
},
1362313627
"wiegand encode": {
1362413628
"command": "wiegand encode",
@@ -13653,8 +13657,8 @@
1365313657
}
1365413658
},
1365513659
"metadata": {
13656-
"commands_extracted": 783,
13660+
"commands_extracted": 784,
1365713661
"extracted_by": "PM3Help2JSON v1.00",
13658-
"extracted_on": "2025-09-21T13:25:47"
13662+
"extracted_on": "2025-09-25T17:48:12"
1365913663
}
1366013664
}

0 commit comments

Comments
 (0)