aczid / crypto1_bs

Bitsliced Crypto-1 brute-forcer
200 stars 78 forks source link

Inconsistent filenames #27

Closed rapperskull closed 6 years ago

rapperskull commented 6 years ago

When running the libnfc_crypto1_crack program on a Mifare Classic tag with UID starting with 0, the filename is truncated: instead of "0x0fffffff_000A.txt" it is "0xfffffff_000A.txt". For consistency and better integration with other programs, the UID should always be printed in full length.

aczid commented 6 years ago

Fixed in https://github.com/aczid/crypto1_bs/commit/5818f369da46fa49268dae0cecf3f6f94a233722 . Thanks!