Skip to content

A CLI written in Python 3.6 that allows user to copy and duplicate a RFID tag to another one.

License

Notifications You must be signed in to change notification settings

m3tadron/RFID-Mifare-cloner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

A CLI written in Python 3.6 that allows user to copy and duplicate a RFID tag to another one.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%