mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
style
Some checks are pending
CodeQL / Analyze (push) Waiting to run
MacOS Build and Test / macos-make (push) Waiting to run
MacOS Build and Test / macos-make-btaddon (push) Waiting to run
MacOS Build and Test / macos-cmake (push) Waiting to run
Ubuntu Build and Test / ubuntu-make (push) Waiting to run
Ubuntu Build and Test / ubuntu-make-btaddon (push) Waiting to run
Ubuntu Build and Test / ubuntu-cmake (push) Waiting to run
Windows Build and Test / proxspace (push) Waiting to run
Windows Build and Test / wsl (push) Waiting to run
Some checks are pending
CodeQL / Analyze (push) Waiting to run
MacOS Build and Test / macos-make (push) Waiting to run
MacOS Build and Test / macos-make-btaddon (push) Waiting to run
MacOS Build and Test / macos-cmake (push) Waiting to run
Ubuntu Build and Test / ubuntu-make (push) Waiting to run
Ubuntu Build and Test / ubuntu-make-btaddon (push) Waiting to run
Ubuntu Build and Test / ubuntu-cmake (push) Waiting to run
Windows Build and Test / proxspace (push) Waiting to run
Windows Build and Test / wsl (push) Waiting to run
This commit is contained in:
parent
4af87a2f91
commit
e578d75e66
11 changed files with 104 additions and 50 deletions
|
@ -2428,8 +2428,8 @@ int ht2_read_uid(void) {
|
|||
return PM3_ESOFT;
|
||||
}
|
||||
|
||||
PrintAndLogEx(SUCCESS, "UID.... " _GREEN_("%08X"), uid);
|
||||
PrintAndLogEx(SUCCESS, "TYPE... " _GREEN_("%s"), getHitagTypeStr(uid));
|
||||
PrintAndLogEx(SUCCESS, "UID....... " _GREEN_("%08X"), uid);
|
||||
PrintAndLogEx(SUCCESS, "TYPE...... " _GREEN_("%s"), getHitagTypeStr(uid));
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
@ -182,8 +182,8 @@ int read_hts_uid(void) {
|
|||
return PM3_ESOFT;
|
||||
}
|
||||
|
||||
PrintAndLogEx(SUCCESS, "UID.... " _GREEN_("%08X"), uid);
|
||||
PrintAndLogEx(SUCCESS, "TYPE... " _GREEN_("%s"), hts_get_type_str(uid));
|
||||
PrintAndLogEx(SUCCESS, "UID....... " _GREEN_("%08X"), uid);
|
||||
PrintAndLogEx(SUCCESS, "TYPE...... " _GREEN_("%s"), hts_get_type_str(uid));
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
@ -197,8 +197,8 @@ int read_htu_uid(void) {
|
|||
return PM3_ESOFT;
|
||||
}
|
||||
|
||||
PrintAndLogEx(SUCCESS, "UID.... " _GREEN_("%012llX"), uid);
|
||||
// PrintAndLogEx(SUCCESS, "TYPE... " _GREEN_("%s"), htu_get_type_str(uid));
|
||||
PrintAndLogEx(SUCCESS, "UID....... " _GREEN_("%012llX"), uid);
|
||||
// PrintAndLogEx(SUCCESS, "TYPE...... " _GREEN_("%s"), htu_get_type_str(uid));
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
@ -512,11 +512,14 @@ int detectPyramid(uint8_t *dest, size_t *size, int *waveStartIdx) {
|
|||
|
||||
size_t startIdx = 0;
|
||||
uint8_t preamble[] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1};
|
||||
if (!preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx))
|
||||
if (!preambleSearch(dest, preamble, sizeof(preamble), size, &startIdx)) {
|
||||
return -4; // preamble not found
|
||||
}
|
||||
|
||||
// wrong size? (between to preambles)
|
||||
if (*size < 128) return -5;
|
||||
if (*size < 128) {
|
||||
return -5;
|
||||
}
|
||||
|
||||
return (int)startIdx;
|
||||
}
|
||||
|
|
|
@ -477,6 +477,7 @@ const static vocabulary_t vocabulary[] = {
|
|||
{ 0, "hf mfdes getkeyversions" },
|
||||
{ 0, "hf mfdes getfileids" },
|
||||
{ 0, "hf mfdes getfileisoids" },
|
||||
{ 0, "hf mfdes lsfile" },
|
||||
{ 0, "hf mfdes lsfiles" },
|
||||
{ 0, "hf mfdes dump" },
|
||||
{ 0, "hf mfdes createfile" },
|
||||
|
|
|
@ -5680,7 +5680,8 @@
|
|||
"hf mfdes auth -n 0 -t des -k 0000000000000000 --kdf none -> select PICC level and authenticate with key num=0, key type=des, key=00..00 and key derivation = none",
|
||||
"hf mfdes auth -n 0 -t aes -k 00000000000000000000000000000000 -> select PICC level and authenticate with key num=0, key type=aes, key=00..00 and key derivation = none",
|
||||
"hf mfdes auth -n 0 -t des -k 0000000000000000 --save -> select PICC level and authenticate and in case of successful authentication - save channel parameters to defaults",
|
||||
"hf mfdes auth --aid 123456 -> select application 123456 and authenticate via parameters from `default` command"
|
||||
"hf mfdes auth --aid 123456 -> select application 123456 and authenticate via parameters from `default` command",
|
||||
"hf mfdes auth --dfname D2760000850100 -n 0 -t aes -k 00000000000000000000000000000000 -> select DF by name and authenticate"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
|
@ -5697,9 +5698,10 @@
|
|||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--aid <hex> Application ID of application for some parameters (3 hex bytes, big endian)",
|
||||
"--isoid <hex> Application ISO ID (ISO DF ID) (2 hex bytes, big endian)",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)",
|
||||
"--save saves channels parameters to defaults if authentication succeeds"
|
||||
],
|
||||
"usage": "hf mfdes auth [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--save]"
|
||||
"usage": "hf mfdes auth [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--dfname <hex>] [--save]"
|
||||
},
|
||||
"hf mfdes bruteaid": {
|
||||
"command": "hf mfdes bruteaid",
|
||||
|
@ -6190,10 +6192,11 @@
|
|||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--aid <hex> Application ID (3 hex bytes, big endian)",
|
||||
"--isoid <hex> Application ISO ID (ISO DF ID) (2 hex bytes, big endian).",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)",
|
||||
"-f, --file <fn> Filename of dictionary",
|
||||
"--save Save found key and parameters to defaults"
|
||||
],
|
||||
"usage": "hf mfdes detect [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [-f <fn>] [--save]"
|
||||
"usage": "hf mfdes detect [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--dfname <hex>] [-f <fn>] [--save]"
|
||||
},
|
||||
"hf mfdes dump": {
|
||||
"command": "hf mfdes dump",
|
||||
|
@ -6216,10 +6219,11 @@
|
|||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--aid <hex> Application ID (3 hex bytes, big endian)",
|
||||
"--isoid <hex> Application ISO ID (ISO DF ID) (2 hex bytes, big endian)",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)",
|
||||
"-l, --length <hex> Maximum length for read data files (3 hex bytes, big endian)",
|
||||
"--no-auth Execute without authentication"
|
||||
],
|
||||
"usage": "hf mfdes dump [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [-l <hex>] [--no-auth]"
|
||||
"usage": "hf mfdes dump [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--dfname <hex>] [-l <hex>] [--no-auth]"
|
||||
},
|
||||
"hf mfdes formatpicc": {
|
||||
"command": "hf mfdes formatpicc",
|
||||
|
@ -6263,9 +6267,10 @@
|
|||
"-m, --cmode <plain|mac|encrypt> Communicaton mode",
|
||||
"-c, --ccset <native|niso|iso> Communicaton command set",
|
||||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--no-auth Execute without authentication"
|
||||
"--no-auth Execute without authentication",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)"
|
||||
],
|
||||
"usage": "hf mfdes getfreemem [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--no-auth]"
|
||||
"usage": "hf mfdes getfreemem [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--no-auth] [--dfname <hex>]"
|
||||
},
|
||||
"hf mfdes getaids": {
|
||||
"command": "hf mfdes getaids",
|
||||
|
@ -6318,7 +6323,8 @@
|
|||
"description": "Get File IDs list from card. Master key needs to be provided or flag --no-auth set.",
|
||||
"notes": [
|
||||
"hf mfdes getfileids --aid 123456 -> execute with defaults from `default` command",
|
||||
"hf mfdes getfileids -n 0 -t des -k 0000000000000000 --kdf none --aid 123456 -> execute with default factory setup"
|
||||
"hf mfdes getfileids -n 0 -t des -k 0000000000000000 --kdf none --aid 123456 -> execute with default factory setup",
|
||||
"hf mfdes getfileids --dfname D2760000850100 -> select DF by name and get file IDs"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
|
@ -6335,9 +6341,10 @@
|
|||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--aid <hex> Application ID (3 hex bytes, big endian)",
|
||||
"--isoid <hex> Application ISO ID (ISO DF ID) (2 hex bytes, big endian).",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)",
|
||||
"--no-auth Execute without authentication"
|
||||
],
|
||||
"usage": "hf mfdes getfileids [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--no-auth]"
|
||||
"usage": "hf mfdes getfileids [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--dfname <hex>] [--no-auth]"
|
||||
},
|
||||
"hf mfdes getfileisoids": {
|
||||
"command": "hf mfdes getfileisoids",
|
||||
|
@ -6346,7 +6353,8 @@
|
|||
"hf mfdes getfileisoids --aid 123456 -> execute with defaults from `default` command",
|
||||
"hf mfdes getfileisoids -n 0 -t des -k 0000000000000000 --kdf none --aid 123456 -> execute with default factory setup",
|
||||
"hf mfdes getfileisoids --isoid df01 -> get iso file ids from Desfire Light with factory card settings",
|
||||
"hf mfdes getfileisoids --isoid df01 --schann lrp -t aes -> get iso file ids from Desfire Light via lrp channel with default key authentication"
|
||||
"hf mfdes getfileisoids --isoid df01 --schann lrp -t aes -> get iso file ids from Desfire Light via lrp channel with default key authentication",
|
||||
"hf mfdes getfileisoids --dfname D2760000850100 -> select DF by name and get file ISO IDs"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
|
@ -6363,9 +6371,10 @@
|
|||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--aid <hex> Application ID (3 hex bytes, big endian)",
|
||||
"--isoid <hex> Application ISO ID (ISO DF ID) (2 hex bytes, big endian).",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)",
|
||||
"--no-auth Execute without authentication"
|
||||
],
|
||||
"usage": "hf mfdes getfileisoids [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--no-auth]"
|
||||
"usage": "hf mfdes getfileisoids [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--dfname <hex>] [--no-auth]"
|
||||
},
|
||||
"hf mfdes getfilesettings": {
|
||||
"command": "hf mfdes getfilesettings",
|
||||
|
@ -6373,7 +6382,8 @@
|
|||
"notes": [
|
||||
"hf mfdes getfilesettings --aid 123456 --fid 01 -> execute with defaults from `default` command",
|
||||
"hf mfdes getfilesettings --isoid df01 --fid 00 --no-auth -> get file settings with select by iso id",
|
||||
"hf mfdes getfilesettings -n 0 -t des -k 0000000000000000 --kdf none --aid 123456 --fid 01 -> execute with default factory setup"
|
||||
"hf mfdes getfilesettings -n 0 -t des -k 0000000000000000 --kdf none --aid 123456 --fid 01 -> execute with default factory setup",
|
||||
"hf mfdes getfilesettings --dfname D2760000850100 --fid 01 -> select DF by name and get file settings"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
|
@ -6390,17 +6400,19 @@
|
|||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--aid <hex> Application ID (3 hex bytes, big endian)",
|
||||
"--isoid <hex> Application ISO ID (ISO DF ID) (2 hex bytes, big endian)",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)",
|
||||
"--fid <hex> File ID (1 hex byte). (def: 1)",
|
||||
"--no-auth Execute without authentication"
|
||||
],
|
||||
"usage": "hf mfdes getfilesettings [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--fid <hex>] [--no-auth]"
|
||||
"usage": "hf mfdes getfilesettings [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--dfname <hex>] [--fid <hex>] [--no-auth]"
|
||||
},
|
||||
"hf mfdes getkeysettings": {
|
||||
"command": "hf mfdes getkeysettings",
|
||||
"description": "Get key settings for card level or application level.",
|
||||
"notes": [
|
||||
"hf mfdes getkeysettings -> get picc key settings with default key/channel setup",
|
||||
"hf mfdes getkeysettings --aid 123456 -> get app 123456 key settings with default key/channel setup"
|
||||
"hf mfdes getkeysettings --aid 123456 -> get app 123456 key settings with default key/channel setup",
|
||||
"hf mfdes getkeysettings --dfname D2760000850100 -> select DF by name and get key settings"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
|
@ -6415,9 +6427,10 @@
|
|||
"-m, --cmode <plain|mac|encrypt> Communicaton mode",
|
||||
"-c, --ccset <native|niso|iso> Communicaton command set",
|
||||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--aid <hex> Application ID (3 hex bytes, big endian)"
|
||||
"--aid <hex> Application ID (3 hex bytes, big endian)",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)"
|
||||
],
|
||||
"usage": "hf mfdes getkeysettings [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>]"
|
||||
"usage": "hf mfdes getkeysettings [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--dfname <hex>]"
|
||||
},
|
||||
"hf mfdes getkeyversions": {
|
||||
"command": "hf mfdes getkeyversions",
|
||||
|
@ -6426,7 +6439,8 @@
|
|||
"--keynum parameter: App level: key number. PICC level: 00..0d - keys count, 21..23 vc keys, default 0x00.",
|
||||
"hf mfdes getkeyversions --keynum 00 -> get picc master key version with default key/channel setup",
|
||||
"hf mfdes getkeyversions --aid 123456 --keynum 0d -> get app 123456 all key versions with default key/channel setup",
|
||||
"hf mfdes getkeyversions --aid 123456 --keynum 0d --no-auth -> get key version without authentication"
|
||||
"hf mfdes getkeyversions --aid 123456 --keynum 0d --no-auth -> get key version without authentication",
|
||||
"hf mfdes getkeyversions --dfname D2760000850100 --keynum 00 -> select DF by name and get key versions"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
|
@ -6443,18 +6457,20 @@
|
|||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--aid <hex> Application ID (3 hex bytes, big endian)",
|
||||
"--isoid <hex> Application ISO ID (ISO DF ID) (2 hex bytes, big endian).",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)",
|
||||
"--keynum <hex> Key number/count (1 hex byte). (def: 0x00)",
|
||||
"--keyset <hex> Keyset number (1 hex byte)",
|
||||
"--no-auth Execute without authentication"
|
||||
],
|
||||
"usage": "hf mfdes getkeyversions [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--keynum <hex>] [--keyset <hex>] [--no-auth]"
|
||||
"usage": "hf mfdes getkeyversions [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--dfname <hex>] [--keynum <hex>] [--keyset <hex>] [--no-auth]"
|
||||
},
|
||||
"hf mfdes getuid": {
|
||||
"command": "hf mfdes getuid",
|
||||
"description": "Get UID from card. Get the real UID if the random UID bit is on and get the same UID as in anticollision if not. Any card's key needs to be provided.",
|
||||
"notes": [
|
||||
"hf mfdes getuid -> execute with default factory setup",
|
||||
"hf mfdes getuid --isoid df01 -t aes --schan lrp -> for desfire lights default settings"
|
||||
"hf mfdes getuid --isoid df01 -t aes --schan lrp -> for desfire lights default settings",
|
||||
"hf mfdes getuid --dfname D2760000850100 -> select DF by name and get UID"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
|
@ -6470,9 +6486,10 @@
|
|||
"-c, --ccset <native|niso|iso> Communicaton command set",
|
||||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--aid <hex> Application ID (3 hex bytes, big endian)",
|
||||
"--isoid <hex> Application ISO ID (ISO DF ID) (2 hex bytes, big endian)"
|
||||
"--isoid <hex> Application ISO ID (ISO DF ID) (2 hex bytes, big endian)",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)"
|
||||
],
|
||||
"usage": "hf mfdes getuid [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>]"
|
||||
"usage": "hf mfdes getuid [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--dfname <hex>]"
|
||||
},
|
||||
"hf mfdes help": {
|
||||
"command": "hf mfdes help",
|
||||
|
@ -6512,7 +6529,8 @@
|
|||
"description": "Show application list. Master key needs to be provided or flag --no-auth set (depend on cards settings).",
|
||||
"notes": [
|
||||
"hf mfdes lsapp -> show application list with defaults from `default` command",
|
||||
"hf mfdes lsapp --files -> show application list and show each file type/settings/etc"
|
||||
"hf mfdes lsapp --files -> show application list and show each file type/settings/etc",
|
||||
"hf mfdes lsapp --dfname D2760000850100 -> list apps after selecting DF by name"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
|
@ -6529,16 +6547,18 @@
|
|||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--no-auth Execute without authentication",
|
||||
"--no-deep not to check authentication commands that avail for any application",
|
||||
"--files scan files and print file settings"
|
||||
"--files scan files and print file settings",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)"
|
||||
],
|
||||
"usage": "hf mfdes lsapp [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--no-auth] [--no-deep] [--files]"
|
||||
"usage": "hf mfdes lsapp [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--no-auth] [--no-deep] [--files] [--dfname <hex>]"
|
||||
},
|
||||
"hf mfdes lsfiles": {
|
||||
"command": "hf mfdes lsfiles",
|
||||
"hf mfdes lsfile": {
|
||||
"command": "hf mfdes lsfile",
|
||||
"description": "This commands List files inside application AID / ISOID. Master key needs to be provided or flag --no-auth set (depend on cards settings).",
|
||||
"notes": [
|
||||
"hf mfdes lsfiles --aid 123456 -> AID 123456, list files using `default` command creds",
|
||||
"hf mfdes lsfiles --isoid df01 --no-auth -> list files for DESFire light"
|
||||
"hf mfdes lsfiles --isoid df01 --no-auth -> list files for DESFire light",
|
||||
"hf mfdes lsfiles --dfname D2760000850100 -> select DF by name and list files"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
|
@ -6555,9 +6575,38 @@
|
|||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--aid <hex> Application ID (3 hex bytes, big endian)",
|
||||
"--isoid <hex> Application ISO ID (ISO DF ID) (2 hex bytes, big endian)",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)",
|
||||
"--no-auth Execute without authentication"
|
||||
],
|
||||
"usage": "hf mfdes lsfiles [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--no-auth]"
|
||||
"usage": "hf mfdes lsfiles [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--dfname <hex>] [--no-auth]"
|
||||
},
|
||||
"hf mfdes lsfiles": {
|
||||
"command": "hf mfdes lsfiles",
|
||||
"description": "This commands List files inside application AID / ISOID. Master key needs to be provided or flag --no-auth set (depend on cards settings).",
|
||||
"notes": [
|
||||
"hf mfdes lsfiles --aid 123456 -> AID 123456, list files using `default` command creds",
|
||||
"hf mfdes lsfiles --isoid df01 --no-auth -> list files for DESFire light",
|
||||
"hf mfdes lsfiles --dfname D2760000850100 -> select DF by name and list files"
|
||||
],
|
||||
"offline": false,
|
||||
"options": [
|
||||
"-h, --help This help",
|
||||
"-a, --apdu Show APDU requests and responses",
|
||||
"-v, --verbose Verbose output",
|
||||
"-n, --keyno <dec> Key number",
|
||||
"-t, --algo <DES|2TDEA|3TDEA|AES> Crypt algo",
|
||||
"-k, --key <hex> Key for authenticate (HEX 8(DES), 16(2TDEA or AES) or 24(3TDEA) bytes)",
|
||||
"--kdf <none|AN10922|gallagher> Key Derivation Function (KDF)",
|
||||
"-i, --kdfi <hex> KDF input (1-31 hex bytes)",
|
||||
"-m, --cmode <plain|mac|encrypt> Communicaton mode",
|
||||
"-c, --ccset <native|niso|iso> Communicaton command set",
|
||||
"--schann <d40|ev1|ev2|lrp> Secure channel",
|
||||
"--aid <hex> Application ID (3 hex bytes, big endian)",
|
||||
"--isoid <hex> Application ISO ID (ISO DF ID) (2 hex bytes, big endian)",
|
||||
"--dfname <hex> Application ISO DF Name (5-16 hex bytes, big endian)",
|
||||
"--no-auth Execute without authentication"
|
||||
],
|
||||
"usage": "hf mfdes lsfiles [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>] [-i <hex>] [-m <plain|mac|encrypt>] [-c <native|niso|iso>] [--schann <d40|ev1|ev2|lrp>] [--aid <hex>] [--isoid <hex>] [--dfname <hex>] [--no-auth]"
|
||||
},
|
||||
"hf mfdes mad": {
|
||||
"command": "hf mfdes mad",
|
||||
|
@ -13487,8 +13536,8 @@
|
|||
}
|
||||
},
|
||||
"metadata": {
|
||||
"commands_extracted": 775,
|
||||
"commands_extracted": 780,
|
||||
"extracted_by": "PM3Help2JSON v1.00",
|
||||
"extracted_on": "2025-08-12T16:26:32"
|
||||
"extracted_on": "2025-08-20T08:39:30"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -672,6 +672,7 @@ Check column "offline" for their availability.
|
|||
|`hf mfdes getkeyversions`|N |`Get Key Versions`
|
||||
|`hf mfdes getfileids `|N |`Get File IDs list`
|
||||
|`hf mfdes getfileisoids `|N |`Get File ISO IDs list`
|
||||
|`hf mfdes lsfile `|N |`Show all files list`
|
||||
|`hf mfdes lsfiles `|N |`Show all files list`
|
||||
|`hf mfdes dump `|N |`Dump all files`
|
||||
|`hf mfdes createfile `|N |`Create Standard/Backup File`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue