PM3 Commands Reference (Iceman Firmware):

Main Help


Current command:
hf iclass calcnewkey --help


Calculate new keys for updating (blocks 3 & 4)

usage:
    hf iclass calcnewkey [-h] [--old <hex>] [--oki <dec>] [--new <hex>] [--nki <dec>] [--csn <hex>] [--elite]

options:
    -h, --help                     This help
    --old <hex>                    Specify key as 8 hex bytes
    --oki <dec>                    Old key index to select key from memory 'hf iclass managekeys'
    --new <hex>                    Specify key as 8 hex bytes
    --nki <dec>                    New key index to select key from memory 'hf iclass managekeys'
    --csn <hex>                    Specify a Card Serial Number (CSN) to diversify the key (if omitted will attempt to read a CSN)
    --elite                        Elite computations applied to new key
    --elite2                       Elite computations applied to both old and new key
    --oldelite                     Elite computations applied only to old key

examples/notes:
    hf iclass calcnewkey --old 1122334455667788 --new 2233445566778899 --csn deadbeafdeadbeaf --elite2      -> e key to e key given csn
    hf iclass calcnewkey --old 1122334455667788 --new 2233445566778899 --elite                              -> std key to e key read csn
    hf iclass calcnewkey --old 1122334455667788 --new 2233445566778899                                      -> std to std read csn