mfoc icon indicating copy to clipboard operation
mfoc copied to clipboard

Screen output does not include keys

Open thekix opened this issue 3 years ago • 0 comments

Hi,

using mfoc, we can see something like this for an empty tag:

Auth with all sectors succeeded, dumping keys to a file!
Block 63, type A, key d86ca4cd9921 :00  00  00  00  00  00  08  77  8f  69  00  00  00  00  00  00  
Block 62, type A, key d86ca4cd9921 :00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  
Block 61, type A, key d86ca4cd9921 :00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  
Block 60, type A, key d86ca4cd9921 :00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00  

If we see the output file, is something like this (last block):

kix@inle:/home/kix$ hexdump -v fq-tg.mfc 
...
00003c0 0000 0000 0000 0000 0000 0000 0000 0000
00003d0 0000 0000 0000 0000 0000 0000 0000 0000
00003e0 0000 0000 0000 0000 0000 0000 0000 0000
00003f0 6cd8 cda4 2199 7708 698f 2d65 30f8 c617

If we compare the hexdump and the mfoc output, se can see this:

mfoc output: Block 63, type A, key d86ca4cd9921 :00  00  00  00  00  00  08  77  8f  69  00  00  00  00  00  00  
hexdump output: 00003f0                          6c  d8  cd  a4  21  99  77  08  69  8f  2d  65  30  f8  c6  17

We can see the A key (d86c a4cd 9921) and the B key (652d f830 17c6) are replaced by zeros in the mfoc output.

Probably the output should include the keys. What do you think?

Regards kix

thekix avatar Jan 02 '21 09:01 thekix