PM3 Commands Reference (Iceman Firmware):

Main Help


Current command:
hf mf ndefformat --help


format MIFARE Classic Tag as a NFC tag with Data Exchange Format (NDEF)
If no  given, UID will be used as filename.
It will try default keys and MAD keys to detect if tag is already formatted in order to write.

If not, it will try finding a key file based on your UID.  ie, if you ran autopwn before

usage:
    hf mf ndefformat [-h] [-k <fn>] [--mini] [--1k] [--2k] [--4k]

options:
    -h, --help                     This help
    -k, --keys <fn>                filename of keys
    --mini                         MIFARE Classic Mini / S20
    --1k                           MIFARE Classic 1k / S50 (def)
    --2k                           MIFARE Classic/Plus 2k
    --4k                           MIFARE Classic 4k / S70

examples/notes:
    hf mf ndefformat
    hf mf ndefformat --1k                                -> MIFARE Classic 1k
    hf mf ndefformat --keys hf-mf-01020304-key.bin       -> MIFARE 1k with keys from specified file