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

‘mfcuk_verify_key_block’ defined but not used #25

Closed
GoogleCodeExporter opened this issue Apr 16, 2015 · 5 comments
Closed

‘mfcuk_verify_key_block’ defined but not used #25

GoogleCodeExporter opened this issue Apr 16, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. /mfcuk-0.3.8
2. ./configure
3. make


What is the expected output? What do you see instead?
when running make it gives a output.
[code]
make  all-recursive
make[1]: Entering directory `/nfc/mfcuk-0.3.8'
Making all in src
make[2]: Entering directory `/nfc/mfcuk-0.3.8/src'
  CC     crapto1.o
  CC     crypto1.o
  CC     mifare.o
  CC     nfc-utils.o
  CC     mfcuk_mifare.o
  CC     mfcuk_finger.o
  CC     mfcuk_utils.o
  CC     xgetopt.o
  CC     mfcuk.o
mfcuk.c:248:17: warning: ‘mfcuk_verify_key_block’ defined but not used 
[-Wunused-function]
 static uint32_t mfcuk_verify_key_block(nfc_device *pnd, uint32_t uiUID, uint64_t ui64Key, mifare_key_type bKeyType, uint8_t bTagType, uint32_t uiBlock)
                 ^
  CCLD   mfcuk
make[2]: Leaving directory `/nfc/mfcuk-0.3.8/src'
make[2]: Entering directory `/mfcuk-0.3.8'
make[2]: Leaving directory `/nfc/mfcuk-0.3.8'
make[1]: Leaving directory `/nfc/mfcuk-0.3.8'
[/code]

it wont crack any keys, output of mfcuk -C -R 0:A -v 3
[code]

Let me entertain you!
    uid: -xxxxxxx-
   type: 18
    key: 000000000000
  block: 5b
diff Nt: 65535
  auths: 65537
-----------------------------------------------------

-----------------------------------------------------
Let me entertain you!
    uid: -xxxxxx-
   type: 18
    key: 000000000000
  block: 5b
diff Nt: 65536
  auths: 65538
-----------------------------------------------------
mfcuk_keyrecovery_darkside: ERROR: mfcuk_key_recovery_block() (error code=0x09)
 [/code]

What version of the product are you using? On what operating system?
uname -a
Linux 3.10-2-amd64 #1 SMP Debian 3.10.7-1 (2013-08-17) x86_64 GNU/Linux

libnfc-1.7.0
mfcuk-0.3.8

Please provide any additional information below.


Original issue reported on code.google.com by surffreg...@hotmail.com on 8 Sep 2013 at 2:20

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

ok after more testing...

this problem is here when i use mfcuk 0.3.5, 0.3.7, 0.3.8, 
with libnfc 1.7.0, rc6, rc7

it will compile but still gives the warning;

mfcuk.c:248:17: warning: ‘mfcuk_verify_key_block’ defined but not used 
[-Wunused-function]
 static uint32_t mfcuk_verify_key_block(nfc_device *pnd, uint32_t uiUID, uint64_t ui64Key, mifare_key_type bKeyType, uint8_t bTagType, uint32_t uiBlock)
                 ^
it wont crack any keys with the -R args even when the key is added with -d 
with -s 250 -S 250 olso no luck

it will verify the key with -V 0:A:FFFFFFFFFFFF so this is working only the 
cracking part wont work 
how can this be fixed....??????

Original comment by surffreg...@hotmail.com on 9 Sep 2013 at 11:53

@GoogleCodeExporter
Copy link
Author

Realy no one ......?

Original comment by surffreg...@hotmail.com on 15 Sep 2013 at 2:40

@GoogleCodeExporter
Copy link
Author

I am having the same problem!

Original comment by dudu...@gmail.com on 7 Oct 2013 at 2:56

@GoogleCodeExporter
Copy link
Author

Original comment by romu...@libnfc.org on 10 Jan 2014 at 1:05

  • Changed state: Duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant