nfc-tools / miLazyCracker

Mifare Classic Plus - Hardnested Attack Implementation for SCL3711 LibNFC USB reader
325 stars 62 forks source link

No way to add key on mfoc #26

Open rfmgob opened 3 years ago

rfmgob commented 3 years ago

Hi.

I've got quite a lot of experience using mfoc, mfcuk, etc., but I've run into some pretty basic issues using miLazyCracker. Basically, I find no way to add a key I already know to the list of default keys that miLazyCracker uses. In the plain Mfoc it would be so easy to add (mfoc -k xxxxxxxxxxxx , being xxxxxxxxxxxx the key I want to add), but on miLazyCracker how am I supposed to add previously known key?

Thanks in advance for your help.

gabrieleaquaro commented 3 years ago

Well, i was trying to do the same thing today and i found a workaround looking at the milazycracker.sh code. If you want to add some key to the default list you can create a file called "extended-std.keys" and paste the keys inside it, one per line. Then you can run the program with "-f extended-std.keys" argument. Probably it's easy to modify the script to read a file of keys with a different name, but at the moment it works only like that.

Danaalaezerez commented 2 months ago

Hi friend! I'm trying to do exactly the same thing, but I can't get it to read the "extended-std.keys" file. Where do I have to create the "extended-std.keys" file? Sorry if this is a dumb question, :P