nfc-tools / mfcuk

MiFare Classic Universal toolKit (MFCUK)
GNU General Public License v2.0
960 stars 227 forks source link

Segmentation fault when data files are not found #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure
2. make
3. src/mfcuk_keyrecovery_darkside -C

Original issue reported on code.google.com by romu...@libnfc.org on 1 Apr 2011 at 9:26

GoogleCodeExporter commented 9 years ago
Mifare Classic DarkSide Key Recovery Tool - 0.3
by Andrei Costin, zveriu@gmail.com, http://andreicostin.com

WARN: cannot open template file './data/tmpls_fingerprints/mfcuk_tmpl_skgt.mfd'
WARN: cannot open template file './data/tmpls_fingerprints/mfcuk_tmpl_ratb.mfd'
WARN: cannot open template file 
'./data/tmpls_fingerprints/mfcuk_tmpl_oyster.mfd'

dont work  solutions please

Original comment by planetg...@hotmail.com on 6 May 2011 at 2:08

GoogleCodeExporter commented 9 years ago
Hi there,

I've met same fault. But I've fix this by mv "data" folder inside "bin" folder, 
to the same place with mfcuk_keyrecovery_darkside. 

Kevin

Original comment by Kevin2...@gmail.com on 27 May 2011 at 4:02

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r53.

Original comment by romu...@libnfc.org on 25 Sep 2011 at 5:08

adrianbrink commented 9 years ago

I've installed mfcuk with homebrew and I still get this error, because I don't have a data folder or mfcuk_keyrecovery_darkside file. I am running Mac OS X 10.10.3 with the newest homebrew.

How can I fix this?

logless commented 8 years ago

Enter the directory of mfcuk within Homebrew (usually /Cellar/mfcuk/0.3.8/ then enter the bin directory and place the /data/ directory inside (get the data directory from https://github.com/S0c5/mfcuk_fix/tree/master/data (you actually only need the tmpls_fingerprints directory to fix the errors). After you place it in, start mfcuk from within the /bin/ directory. The errors should be gone.

TheodoreDean commented 3 years ago

Enter the directory of mfcuk within Homebrew (usually /Cellar/mfcuk/0.3.8/ then enter the bin directory and place the /data/ directory inside (get the data directory from https://github.com/S0c5/mfcuk_fix/tree/master/data (you actually only need the tmpls_fingerprints directory to fix the errors). After you place it in, start mfcuk from within the /bin/ directory. The errors should be gone.

If install by using Homebrew, after put the data directory at /Cellar/mfcuk/x.x.x, just start mfcuk, the error is disppear.