Skip to content

"hf mf nested" gets stuck with some cards #899

@uzlonewolf

Description

@uzlonewolf

When you run hf mf nested against a card that does not respond at all to a bad key (instead of NACKing it like it should), the pm3 gets stuck in a loop and requires you to pull the USB cable.

Adding a if(BUTTON_PRESS() || usb_poll_validate_length()) inside the inner while(target_nt[i] == 0) loop in void MifareNested() fixes it; I'll create a pull request for this in a bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions