PM3 Commands Reference (Iceman Firmware):

Main Help


Current command:
hf mfdes selectapp --help


Select application on the card. It selects app if it is a valid one or returns an error.

usage:
    hf mfdes selectapp [-hav] [-n <dec>] [-t <DES|2TDEA|3TDEA|AES>] [-k <hex>] [--kdf <none|AN10922|gallagher>]

options:
    -h, --help                     This help
    -a, --apdu                     Show APDU requests and responses
    -v, --verbose                  Verbose output
    -n, --keyno <dec>              Key number
    -t, --algo <DES|2TDEA|3TDEA|AES> Crypt algo
    -k, --key <hex>                Key for authenticate (HEX 8(DES), 16(2TDEA or AES) or 24(3TDEA) bytes)
    --kdf <none|AN10922|gallagher> Key Derivation Function (KDF)
    -i, --kdfi <hex>               KDF input (1-31 hex bytes)
    -m, --cmode <plain|mac|encrypt> Communicaton mode
    -c, --ccset <native|niso|iso>  Communicaton command set
    --schann <d40|ev1|ev2|lrp>     Secure channel
    --aid <hex>                    Application ID of application for some parameters (3 hex bytes, big endian)
    --dfname <str>                 Application DF Name (string, max 16 chars). Selects application via ISO SELECT command
    --mf                           Select MF (master file) via ISO channel
    --isoid <hex>                  Application ISO ID (ISO DF ID) (2 hex bytes, big endian)
    --fileisoid <hex>              Select file inside application by ISO ID (ISO DF ID) (2 hex bytes, big endian).

examples/notes:
    hf mfdes selectapp --aid 123456            -> select application 123456
    hf mfdes selectapp --mf                    -> select master file (PICC level)
    hf mfdes selectapp --dfname aid123456      -> select application aid123456 by DF name
    hf mfdes selectapp --isoid 1111            -> select application 1111 by ISO ID
    hf mfdes selectapp --isoid 1111 --fileisoid 2222        -> select application 1111 file 2222 by ISO ID
    hf mfdes selectapp --isoid 01df --fileisoid 00ef        -> select file 00 on the Desfire Light