Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFID: 3 new T5577 extra actions: Set/clear custom pw; write block; wipe #678

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

plgcoder
Copy link

@plgcoder plgcoder commented Jun 26, 2023

What's new

3 brand new T5577 extra actions!

Extra action "Clear/set custom T5577 password":
With Set custom password option a tag can be protected from writes with a user entered password, after done, all writes to the tag so protected must be done entering the same password stored in the tag, or they fail.
Optionally sets lock bit on password block or configuration block to set them read-only.
Optionally sets master key: 6 to disable test-mode access. That on some cloned T5577 sets them read-only!
With clear custom password option an existing password can be removed from a tag, like existing "Clear T5577 password" extra action but with a user entered hex password.
Same options of set custom password.
With Clear/set extra action you can resolve issues like this https://forum.flipperzero.one/t/t5577-password-protection/7197

Extra action "Write T5577 block": writes a user entered block with hex data. A password can be entered if tag is protected. Optionally sets lock bit to set read-only. Test with 0014 8040 in block 0, FF80 0000 in block 1, 0000 0000 in block 2, all blocks in page 0; result should be an EM4100 with all zeroes in data.

Extra action "Wipe T5577": sets a default configuration block 00148040 and writes zeroes in all data blocks of page 0. Result is a tag with no readable protocol.

Verification

  • Enter the menu Extra actions and use new features

Checklist (For Reviewer)

  • PR has description of feature/bug
  • Description contains actions to verify feature/bugfix
  • I've built this code, uploaded it to the device and verified feature/bugfix

@plgcoder plgcoder requested a review from RogueMaster as a code owner June 26, 2023 19:51
@RogueMaster RogueMaster merged commit 0d03b7c into RogueMaster:420 Jun 26, 2023
@RogueMaster
Copy link
Owner

You should also PR to the flipper devices

@RogueMaster
Copy link
Owner

I reverted it, sorry. There were some compile errors. Please review compile errors and correct as needed and resubmit PR. Preferably to flipper devices since I will merge from there and that way your code can also get their review.

@RogueMaster RogueMaster changed the title 3 new T5577 extra actions: Set/clear custom pw; write block; wipe RFID: 3 new T5577 extra actions: Set/clear custom pw; write block; wipe Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants