PM3 Commands Reference (Iceman Firmware):

Main Help


Current command:
hf cipurse delete --help


Delete file by file ID with key ID and key. If no key is supplied, default key of 737373...7373 will be used

usage:
    hf cipurse delete [-hav] [-n <dec>] [-k <hex>] [--fid <hex>] [--aid <hex>] [--chfid <hex>] [--sreq <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
    --fid <hex>                    File/application ID under MF for delete
    --aid <hex>                    Application ID (AID) for delete ( 1..16 bytes )
    --chfid <hex>                  Child file ID (EF under application/master file) ( 2 bytes )
    --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
    --commit                       commit after delete

examples/notes:
    hf cipurse delete --fid 2ff7            -> Authenticate with keyID 1, delete file with id 2ff7 at top level
    hf cipurse delete -n 2 -k 65656565656565656565656565656565 --fid 2ff7      -> Authenticate keyID 2 and delete file
    hf cipurse delete --aid A0000005070100 --no-auth       -> delete PTSE file with AID A0000005070100 without authentication
    hf cipurse delete --aid 4144204631 --chfid 0102       -> delete EF with FID 0x0102 under default application