PM3 Commands Reference (Iceman Firmware):

Main Help


Current command:
hf legic restore --help


Reads (bin/eml/json) file and it autodetects card type and verifies that the file has the same size
Then write the data back to card. All bytes except the first 7bytes [UID(4) MCC(1) DCF(2)]

usage:
    hf legic restore [-h] -f <fn> [--ob]

options:
    -h, --help                     This help
    -f, --file <fn>                Specify a filename to restore
    --ob                           obfuscate dump data (xor with MCC)

examples/notes:
    hf legic restore -f myfile              -> use user specified filename
    hf legic restore -f myfile --ob         -> use UID as filename and obfuscate data