-
Notifications
You must be signed in to change notification settings - Fork 911
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
reworking magic cheneese card wipe #365
Conversation
…f we have wrong block0 we will cant make select, but we need set uid.
Is this pull request ok? |
I'm not sure why you want to mix in all functionality into csetuid.. |
@iceman1001: "all functionality" is just adding an option I would support a merge. |
A compatibility with magic 4K would be nice, something like |
I thought about adding command @Fl0-0 I have only one 4k card that not compatible with this type of setting block at all( I need some investigation to add this card to code. |
The -w wipe option is something that got snuck in there by the chinese who impl the c* cmds. The suggested -k option is already covered in lua-script. script run remagic -h Not to mention the fact that the command is labeled "cetsuid" meaning is sets the uid. Not a mix command with lot of extras. @piwi, you of all people to support this? Sometimes I get the feeling you are just trolling. @merlokk I like your effort but I strongly dislike the given structure how it just makes the CLI unclear. I don't support this PR given the above reasons. |
I have not touched any functionality other than this block: ' if (wantFill) {...}' What I can do now? |
I suggest you implement hf mf cwipe with "k" option :) thank you for your understanding, @merlokk |
@merlokk: if you can do as @iceman1001 proposed, this would be one step beyond. |
...and when you are at it, make it support the different sizes.. Mini, 1k,2k,4k Not hardcode 64blocks.. |
It needs to rewrite big portion of code because wipe option linked with commands on the arm side. |
hrm, I just noticed that in PM3 Master doesn't have the wipe-param like I have in icemanfork. |
As I remembered it was there)... Maybe someone's refactoring kill it... I look. |
All is OK) |
now it really ok) |
all is ok? or it needs to be improved some way? |
Give us some time to check. In the meantime please update CHANGELOG.MD. |
done) 81293e6 |
Please declare static functions as static (those which have no extern declaration in the header file). |
done 719970f |
added: fill card with default data, keys and access conditions
and some refactoting