fix help text samples

This commit is contained in:
iceman1001 committed 2025-09-25 19:51:49 +02:00
1 parent b097e10aa3
commit 347a4d5eff
2 files changed
+13 -7

No files matched your search

+3 -1
View File
@@ -663,7 +663,9 @@ static int CmdFlashMemInfo(const char *Cmd) {
CLIParserInit(&ctx, "mem info", CLIParserInit(&ctx, "mem info",
"Collect signature and verify it from flash memory", "Collect signature and verify it from flash memory",
"mem info\n" "mem info\n"
"mem info -s -d 0102030405060708 -p pm3_generic_private_key.pem -w --> generate and write a RSA 1024 signature " "mem info -v --> print public keys\n"
"mem info -s -p pm3_generic_private_key.pem --> generate a RSA 1024 signature for your SPI ID\n"
"mem info -s -p pm3_generic_private_key.pem -w --> generate and write a RSA 1024 signature for your SPI ID"
); );
void *argtable[] = { void *argtable[] = {
+10 -6
View File
@@ -7820,7 +7820,7 @@
"--expire <YYYY-MM-DDTHH:mm> Expire Date Offset", "--expire <YYYY-MM-DDTHH:mm> Expire Date Offset",
"--created <YYYY-MM-DDTHH:mm> Card Creation Date", "--created <YYYY-MM-DDTHH:mm> Card Creation Date",
"--prop_id <decimal> Property ID", "--prop_id <decimal> Property ID",
"-d data Unencrypted 17 byte card data" "-d data Encrypted 17 byte card data"
], ],
"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" "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"
}, },
@@ -12322,7 +12322,10 @@
"command": "mem info", "command": "mem info",
"description": "Collect signature and verify it from flash memory", "description": "Collect signature and verify it from flash memory",
"notes": [ "notes": [
"mem info" "mem info",
"mem info -v -> print public keys",
"mem info -s -p pm3_generic_private_key.pem -> generate a RSA 1024 signature for your SPI ID",
"mem info -s -p pm3_generic_private_key.pem -w -> generate and write a RSA 1024 signature for your SPI ID"
], ],
"offline": false, "offline": false,
"options": [ "options": [
@@ -13616,9 +13619,10 @@
"-h, --help This help", "-h, --help This help",
"-r, --raw <hex> raw hex to be decoded", "-r, --raw <hex> raw hex to be decoded",
"-b, --bin <bin> binary string to be decoded", "-b, --bin <bin> binary string to be decoded",
"-n, --new <hex> new padded pacs as raw hex to be decoded" "-n, --new <hex> new padded pacs as raw hex to be decoded",
"-f, --force skip preabmle checking, brute force all possible lengths for raw hex input"
], ],
"usage": "wiegand decode [-h] [-r <hex>] [-b <bin>] [-n <hex>]" "usage": "wiegand decode [-hf] [-r <hex>] [-b <bin>] [-n <hex>]"
}, },
"wiegand encode": { "wiegand encode": {
"command": "wiegand encode", "command": "wiegand encode",
@@ -13653,8 +13657,8 @@
} }
}, },
"metadata": { "metadata": {
"commands_extracted": 783, "commands_extracted": 784,
"extracted_by": "PM3Help2JSON v1.00", "extracted_by": "PM3Help2JSON v1.00",
"extracted_on": "2025-09-21T13:25:47" "extracted_on": "2025-09-25T17:48:12"
} }
} }