Current command:
hf mfp chkey --help
Change the keys on a Mifare Plus tag usage: hf mfp chkey [-hvb] [--nmr] --ki <hex> [-k <hex>] -d <hex> options: -h, --help This help -v, --verbose Verbose output --nmr Do not expect MAC in response --ki <hex> Key Index, 2 hex bytes -k, --key <hex> Current sector key, 16 hex bytes -b, --typeb Sector key is key B -d, --data <hex> New key, 16 hex bytes examples/notes: This requires the key that can update the key that you are trying to update. hf mfp chkey --ki 401f -d FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF --key A0A1A2A3A4A5A6A7A0A1A2A3A4A5A6A7 -> Change key B for Sector 15 from MAD to default hf mfp chkey --ki 9000 -d 32F9351A1C02B35FF97E0CA943F814F6 --key FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF -> Change card master key to custom from default