PM3 Commands Reference (Iceman Firmware):

Main Help


Current command:
hf cipurse formatall --help


Format card. Erases all the data at the card level!

usage:
    hf cipurse formatall [-hav] [-n <dec>] [-k <hex>] [--sreq <plain|mac|encode>] [--sresp <plain|mac|encode>]

options:
    -h, --help                     This help
    -a, --apdu                     Show APDU requests and responses
    -v, --verbose                  Verbose mode
    -n <dec>                       Key ID
    -k, --key <hex>                Auth key
    --sreq <plain|mac|encode>      Communication reader-PICC security level (def: mac)
    --sresp <plain|mac|encode>     Communication PICC-reader security level (def: mac)
    --no-auth                      Execute without authentication

examples/notes:
    hf cipurse formatall           -> Format card with default key
    hf cipurse formatall -n 2 -k 65656565656565656565656565656565      -> Format card with keyID 2
    hf cipurse formatall --no-auth      -> Format card without authentication. Works for card in perso state