Skip to content

CLI dump command don't save keys #410

Description

@evazzoler

I try to dump via CLI a mifare with a key file containing the 2 correct keys but keys are not written on the dump. I get "00 00 00 00 00 00 78 77 88 FF 00 00 00 00 00 00" on the 3rd block... (KEY A and B are set to "0")

chameleon --> hf mf dump -t bin -f dump.bin -d my.dic

This causes the slot where I upload the file not working.
(The read and save process via MTools BLE saves the keys on the correct place)

If i download a working dump from a slot with

hf mf esave -s 1 -t bin -f export_dump.bin

I get the keys, too. I can compare export_dump.bin with dump.bin with

hf mf view -d export_dump.bin

And this demonstrate that hf mf dump is bug affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions