Current command:
hf mf restore --help
Restore MIFARE Classic dump file to tag. The key file and dump file will program the card sector trailers. By default we authenticate to card with key 0xFFFFFFFFFFFF. If access rights in dump file is all zeros, it will be replaced with default values `--uid` param is used for filename templates `hf-mf--dump.bin` and `hf-mf- usage: hf mf restore [-h] [--mini] [--1k] [--2k] [--4k] [-u <hex>] [-f <fn>] [-k <fn>] [--ka] [--force] options: -h, --help This help --mini MIFARE Classic Mini / S20 --1k MIFARE Classic 1k / S50 (def) --2k MIFARE Classic/Plus 2k --4k MIFARE Classic 4k / S70 -u, --uid <hex> uid, (4|7|10 hex bytes) -f, --file <fn> specify a filename for dump file -k, --kfn <fn> key filename --ka use specified keyfile to authenticate --force override warnings examples/notes: hf mf restore hf mf restore --1k --uid 04010203 hf mf restore --1k --uid 04010203 -k hf-mf-AABBCCDD-key.bin hf mf restore --4k-key.bin. if not specified, it will read the card uid instead. `--ka` param you can indicate that the key file should be used for authentication instead. if so we also try both B/A keys `--force` param is used to override warnings and allow bad ACL block writes. if not specified, it will skip blocks with bad ACL.