PM3 Commands Reference (Iceman Firmware):

Main Help


Current command:
hf mf wrbl --help


Write MIFARE Classic block with 16 hex bytes of data

Sector 0 / Block 0 - Manufacturer block
When writing to block 0 you must use a VALID block 0 data (UID, BCC, SAK, ATQA)
Writing an invalid block 0 means rendering your Magic GEN2 card undetectable.
Look in the magic_cards_notes.md file for help to resolve it.

`--force` param is used to override warnings like bad ACL and BLOCK 0 writes.
          if not specified, it will exit if detected

usage:
    hf mf wrbl [-hab] --blk <dec> [--force] [-k <hex>] [-d <hex>]

options:
    -h, --help                     This help
    --blk <dec>                    block number
    -a                             input key type is key A (def)
    -b                             input key type is key B
    --force                        override warnings
    -k, --key <hex>                key, 6 hex bytes
    -d, --data <hex>               bytes to write, 16 hex bytes

examples/notes:
    hf mf wrbl --blk 1 -d 000102030405060708090a0b0c0d0e0f
    hf mf wrbl --blk 1 -k A0A1A2A3A4A5 -d 000102030405060708090a0b0c0d0e0f