mvdzwaan / mfcuk

Automatically exported from code.google.com/p/mfcuk
GNU General Public License v2.0
0 stars 0 forks source link

‘mfcuk_verify_key_block’ defined but not used #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
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 commented 9 years ago
Realy no one ......?

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

GoogleCodeExporter commented 9 years ago
I am having the same problem!

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

GoogleCodeExporter commented 9 years ago

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