Closed Fl0-0 closed 5 years ago
After playing with gdb and tracing the call to mfnestedhard()
, i discovered that the key argument is NULL.
Call to mfnestedhard() by hf mf hardnested 0 A A0A1A2A3A4A5 4 A
:
#0 mfnestedhard (blockNo=blockNo@entry=0x0, keyType=keyType@entry=0x0, key=key@entry=0x7fffea322224 "\240\241\242\243\244\245", trgBlockNo=trgBlockNo@entry=0x4, trgKeyType=trgKeyType@entry=0x0,
trgkey=trgkey@entry=0x0, nonce_file_read=0x0, nonce_file_write=0x0, slow=0x0, tests=0x0, foundkey=0x7fffea322230, filename=0x7fffea322620 "") at cmdhfmfhard.c:2161
Call to mfnestedhard() by hf mf autopwn
:
#0 mfnestedhard (blockNo=blockNo@entry=0x0, keyType=keyType@entry=0x0, key=key@entry=0x7fffea32d39c "", trgBlockNo=trgBlockNo@entry=0x4, trgKeyType=trgKeyType@entry=0x0, trgkey=trgkey@entry=0x0,
nonce_file_read=0x0, nonce_file_write=0x0, slow=0x0, tests=0x0, foundkey=0x7fffea32d3b8, filename=0x0) at cmdhfmfhard.c:2161
Commit https://github.com/RfidResearchGroup/proxmark3/commit/abb011c179beb89f571288cf3770229bde17fbac change key
for tmp_key
, it works again with key
.
Can confirm. I noticed this behavior too. hf mf autopwn
does not work while manual hf mf hardnested
works.
I need to verify the coverity issue related with this.
Any news on this issue ?
see my comment on the PR, thanks for your help @Fl0-0 !
yup, thanks @Fl0-0 !
hf mf autopwn does not work and loop on
#db# AcquireNonces: Auth1 error
To Reproduce Steps to reproduce the behavior:
Expected behavior It works well when i do it manually:
Desktop (please complete the following information):