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.
- linux based distribution (Ubuntu 17.10 in my case)
- mfoc / libnfc (see Missing dependencies section)
- Usb tag reader (ACR122U in my case)
- Python3.6+
sudo apt install autoconf
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
git clone git@github.com:nfc-tools/mfoc.git
autoreconf -is
./configure
make && sudo make install
You need to use sudo to interact with the tag reader :
sudo python3 RFID_mifare_cloner/rfid_mifare_cloner.py
Install dependencies (only pytest) :
pip install -r requirements.txt
Then just run :
pytest