# RFID-Mifare-cloner **Repository Path**: createit/RFID-Mifare-cloner ## Basic Information - **Project Name**: RFID-Mifare-cloner - **Description**: A CLI written in Python 3.6 that allows user to copy and duplicate a RFID tag to another one. - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-07-26 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RFID Mifare Cloner The purpose of this software is to provide an friendly interface to clone a RFID tag to an other tag and to train me writing a CLI with specific graphics. ![Alt text](rfid_cloner.png?raw=true "Title") ## Requirements - linux based distribution (Ubuntu 17.10 in my case) - mfoc / libnfc (see Missing dependencies section) - Usb tag reader (ACR122U in my case) - Python3.6+ ## Missing dependencies ? `sudo apt install autoconf` ### Install libnfc (Ubuntu) - ` sudo apt-get install pcsc-tools pcscd libpcsclite-dev libpcsclite1 libusb-dev` - ` wget http://dl.bintray.com/nfc-tools/sources/libnfc-1.7.1.tar.bz2` - ` tar xjf libnfc-1.7.1.tar.bz2 ` - ` cd libnfc-1.7.1` - ` ./configure` - ` make` - ` sudo make install` - ` ldconfig` Test it : ` nfc-scan-device` ### Install mfoc - `git clone git@github.com:nfc-tools/mfoc.git` - `autoreconf -is` - `./configure` - `make && sudo make install` ## RUN IT You need to use sudo to interact with the tag reader : `sudo python3 RFID_mifare_cloner/rfid_mifare_cloner.py` ## Run tests Install dependencies (only pytest) : `pip install -r requirements.txt` Then just run : `pytest` ## Additionnal ressources : http://tvaira.free.fr/rfid/tutoriel-nfc-acr122u.pdf