Current command:
hf cipurse awrite --help
Write file attributes by file ID with key ID and key. If no key is supplied, default key of 737373...7373 will be used usage: hf cipurse awrite [-hav] [-n <dec>] [-k <hex>] [--mfd] [--aid <hex>] [--fid <hex>] [--chfid <hex>] [--noauth] options: 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 --mfd Show info about master file --aid <hex> Select application ID (AID) ( 1..16 bytes ) --fid <hex> File ID --chfid <hex> Child file ID (EF under application/master file) ( 2 bytes ) --noauth Read file attributes without authentication --sreq <plain|mac|encode> Communication reader-PICC security level (def: mac) --sresp <plain|mac|encode> Communication PICC-reader security level (def: mac) -d, --data <hex> File attributes --commit Commit after write examples/notes: hf cipurse awrite --fid 2ff7 -d 080000C1C1C1C1C1C1C1C1C1 -> write default file attributes with id 2ff7 hf cipurse awrite --mfd -d 080000FFFFFFFFFFFFFFFFFF86023232 --commit -> write file attributes for master file (MF) hf cipurse awrite --chfid 0102 -d 020000ffffff -> write file 0102 attributes in the default application to full access hf cipurse awrite --chfid 0102 -d 02000040ffff -> write file 0102 attributes in the default application to full access with keys 1 and 2