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

Problem with getting the mifare password #10

Closed
SailReal opened this issue Dec 16, 2013 · 0 comments
Closed

Problem with getting the mifare password #10

SailReal opened this issue Dec 16, 2013 · 0 comments

Comments

@SailReal
Copy link

Hi,

the script is pretty cool but by getting the mifare password out of the DKeyA and DKeyB I've some problems:

mifarekeys v0.1b
DKeyA: FEFEFEFEFEFE7E00
DKeyB: 007EFEFEFEFEFEFE
Traceback (most recent call last):
File "mifarepwd.py", line 119, in
des3= DES3.new(deskeyABA,DES.MODE_CBC,'\0\0\0\0\0\0\0\0')
File "C:\Python33\lib\site-packages\Crypto\Cipher\DES3.py", line
return DES3Cipher(key, _args, *_kwargs)
File "C:\Python33\lib\site-packages\Crypto\Cipher\DES3.py", line
__
blockalgo.BlockAlgo.init(self, _DES3, key, _args, *_kwargs)
File "C:\Python33\lib\site-packages\Crypto\Cipher\blockalgo.py",
init
self._cipher = factory.new(key, _args, *_kwargs)
ValueError: Invalid key size (must be either 16 or 24 bytes

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

No branches or pull requests

1 participant