{ "mifare classic": { "nested": { "cmd": "hf mf nested -- --blk - -k ", "static cmd": "hf mf staticnested -- --blk - -k ", "card type": { "mini": "mini", "1k": "1k", "2k": "2k", "4k": "4k" }, "key type": { "A": "a", "B": "b" }, "key pattern": "\\|\\s*\\d{3}\\s*\\|\\s*.+?\\s*\\|\\s*.+?\\s*\\|\\s*.+?\\s*\\|\\s*.+?\\s*\\|", "key A index": 2, "key B index": 4 }, "check": { "cmd": "hf mf chk --", "card type": { "mini": "mini", "1k": "1k", "2k": "2k", "4k": "4k" }, "key pattern": "\\|\\s*\\d{3}\\s*\\|\\s*.+?\\s*\\|\\s*.+?\\s*\\|\\s*.+?\\s*\\|\\s*.+?\\s*\\|", "key A index": 2, "key B index": 4 }, "info": { "cmd": "hf 14a info" }, "sniff": { "cmd": "hf sniff" }, "sniff 14a": { "cmd": "hf 14a sniff" }, "list": { "cmd": "trace list -t mf" }, "dump": { "cmd": "hf mf dump" }, "restore": { "cmd": "hf mf restore" }, "emulator wipe": { "cmd": "hf mf eclr" }, "Magic Card wipe": { "cmd": "hf mf cwipe" }, "emulator read block": { "cmd": "hf mf egetblk --blk ", "data pattern": "([0-9a-fA-F]{2} ){15}[0-9a-fA-F]{2}" }, "Magic Card read block": { "cmd": "hf mf cgetblk --blk ", "data pattern": "([0-9a-fA-F]{2} ){15}[0-9a-fA-F]{2}" }, "normal read block": { "cmd": "hf mf rdbl --blk - -k ", "key type": { "A": "a", "B": "b" }, "data pattern": "([0-9a-fA-F]{2} ){15}[0-9a-fA-F]{2}" }, "darkside": { "cmd": "hf mf darkside" }, "save sniff": { "cmd": "trace save -f " }, "load sniff": { "cmd": "trace load -f ", "show cmd": "trace list --buffer -t mf" }, "hardnested": { "cmd": "hf mf hardnested --blk - -k --tblk --t", "known key type": { "A": "a", "B": "b" }, "target key type": { "A": "a", "B": "b" } }, "normal read sector": { "cmd": "hf mf rdsc --sec - -k ", "key type": { "A": "a", "B": "b" }, "data pattern": "([0-9a-fA-F]{2} ){15}[0-9a-fA-F]{2}" }, "Magic Card read sector": { "cmd": "hf mf cgetsc --sec ", "data pattern": "([0-9a-fA-F]{2} ){15}[0-9a-fA-F]{2}" }, "normal write block": { "cmd": "hf mf wrbl --blk - -k -d ", "key type": { "A": "a", "B": "b" }, "failed flag": [ "fail", "error" ] }, "Magic Card write block": { "cmd": "hf mf csetblk --blk -d ", "failed flag": [ "fail", "error" ] }, "emulator write block": { "cmd": "hf mf esetblk --blk -d " }, "Magic Card lock": { "cmd": "hf 14a raw ", "sequence": [ "-ak -b 7 40", "-ak 43", "-ak E0 00 39 F7", "-ak E1 00 E1 EE", "-ak 85 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 18 47", "-a 52" ] }, "Magic Card set parameter": { "cmd": "hf mf csetuid --uid --atqa --sak " } } }