Topic: [Applied] MFOC Patch for Mifare Mini

Hi,
I created a Patch for MFOC to support Mifare Classic Mini Cards. I tried to contact the developers via Google Code and E-Mail, but no response since a month. Is there an active developer on this forum who can apply the patch to the repo?

As I can not post URLs on this forum (??) you need to enter it manually:

code.google.com/p/mfoc/issues/detail?id=12

Re: [Applied] MFOC Patch for Mifare Mini

Hello,
Your patch works with mifare mini 0.3k?

French beginner in RFiD.
Maybe you can help me? Contact : la.fouine44@hotmail.fr

Re: [Applied] MFOC Patch for Mifare Mini

jep it works with 0.3k. Sadly it looks like the project is not maintained any more and no one will merge the patch so you have to apply it manually

Re: [Applied] MFOC Patch for Mifare Mini

That's what I get :

root@it:~# git clone https://code.google.com/p/mfoc/
fatal: destination path 'mfoc' already exists and is not an empty directory.

root@it:~# cd mfoc

root@it:~/mfoc# wget -O mfoc.patch "https://mfoc.googlecode.com/issues/atta … =XXXXXXXXX"
--2015-01-19 21:02:23--  https://mfoc.googlecode.com/issues/atta … =XXXXXXXXX
Resolving mfoc.googlecode.com (mfoc.googlecode.com)... 74.125.71.82, 2a00:1450:400c:c07::52
Connecting to mfoc.googlecode.com (mfoc.googlecode.com)|74.125.71.82|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://www.google.com/accounts/Service … DXXXXXXXXX [following]
--2015-01-19 21:02:23--  https://www.google.com/accounts/Service … DXXXXXXXXX
Resolving www.google.com (www.google.com)... 216.58.208.36, 2a00:1450:400c:c03::69
Connecting to www.google.com (www.google.com)|216.58.208.36|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://accounts.google.com/ServiceLogi … DXXXXXXXXX [following]
--2015-01-19 21:02:23--  https://accounts.google.com/ServiceLogi … DXXXXXXXXX
Resolving accounts.google.com (accounts.google.com)... 216.58.211.109, 2a00:1450:4007:80c::200d
Connecting to accounts.google.com (accounts.google.com)|216.58.211.109|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-01-19 21:02:24 ERROR 404: Not Found.

root@it:~/mfoc# patch -p1 < mfoc.patch

I still did last command despite the error . Its seems good to you ?

French beginner in RFiD.
Maybe you can help me? Contact : la.fouine44@hotmail.fr

Re: [Applied] MFOC Patch for Mifare Mini

google code only let's you download attachments when you are authorized so a normal wget will not work. Download it via a browser and transfer it to the machine to apply it

Re: [Applied] MFOC Patch for Mifare Mini

Ok. I will try ;-)
Thank you.

French beginner in RFiD.
Maybe you can help me? Contact : la.fouine44@hotmail.fr

Re: [Applied] MFOC Patch for Mifare Mini

I've downloaded the file but then I can't add it to MFOC .
Can you help me through the steps to follow?
Thank you .

French beginner in RFiD.
Maybe you can help me? Contact : la.fouine44@hotmail.fr

Re: [Applied] MFOC Patch for Mifare Mini

what's the output of
patch -p1 < mfoc.patch
??

Re: [Applied] MFOC Patch for Mifare Mini

root@it:~# patch -p1 < mfoc.patch
bash: mfoc.patch: No such file or directory

French beginner in RFiD.
Maybe you can help me? Contact : la.fouine44@hotmail.fr

Re: [Applied] MFOC Patch for Mifare Mini

root@it:~# cd mfoc
root@it:~/mfoc# patch -p1 < mfoc.patch
root@it:~/mfoc#

French beginner in RFiD.
Maybe you can help me? Contact : la.fouine44@hotmail.fr

Re: [Applied] MFOC Patch for Mifare Mini

you need to configure and compile mfoc after this

./configure
make
make install

Re: [Applied] MFOC Patch for Mifare Mini

root@it:~# cd mfoc
root@it:~/mfoc# patch -p1 < mfoc.patch
root@it:~/mfoc# ./configure
bash: ./configure: No such file or directory

French beginner in RFiD.
Maybe you can help me? Contact : la.fouine44@hotmail.fr

Re: [Applied] MFOC Patch for Mifare Mini

try

autoreconf -vis

first

Re: [Applied] MFOC Patch for Mifare Mini

root@it:~/mfoc# root@it:~# autoreconf -vis
root@it:~#: command not found
root@it:~/mfoc# autoreconf: 'configure.ac' or 'configure.in' is required
No command 'autoreconf:' found, did you mean:
Command 'autoreconf' from package 'autoconf2.13' (main)
Command 'autoreconf' from package 'autoconf' (main)
autoreconf:: command not found

French beginner in RFiD.
Maybe you can help me? Contact : la.fouine44@hotmail.fr

Re: [Applied] MFOC Patch for Mifare Mini

you need to install the following 2 packages (ubuntu) or the corresponding ones for your distro.

autoconf
build-essential

Re: [Applied] MFOC Patch for Mifare Mini

I just installed the package, this is the result :

root@it:~# autoreconf -vis
autoreconf: 'configure.ac' or 'configure.in' is required
root@it:~/mfoc# autoreconf -vis
autoreconf: 'configure.ac' or 'configure.in' is required

French beginner in RFiD.
Maybe you can help me? Contact : la.fouine44@hotmail.fr

Re: [Applied] MFOC Patch for Mifare Mini

you need to cd in the directory first

Re: [Applied] MFOC Patch for Mifare Mini

FireFart wrote:

I tried to contact the developers via Google Code and E-Mail, but no response since a month. Is there an active developer on this forum who can apply the patch to the repo?

I've been thinking to fork the project since I found myself in the same situation. I implemented the -s option but devs didn't answer my e-mails...

Re: [Applied] MFOC Patch for Mifare Mini

Patch is now applied upstream

Romuald Conty