#clone #mifare #rfid #cli

bin+lib mfc-cloner

A way to facilitate easy cloning of mifare classic cards

3 releases

0.1.2 Feb 17, 2021
0.1.1 Nov 8, 2020
0.1.0 Nov 8, 2020

#4 in #mifare

Download history 38/week @ 2024-02-23 15/week @ 2024-03-01

53 downloads per month

MIT license

53KB
237 lines

banner

What is mfc-cloner?

Mfc-cloner is a way to facilitate easy cloning of mifare classic cards.

It is a wrapper around libnfc and mfoc that streamlines the decrypting and writing process.

Mfc-cloner features include:

  • Writing a source file to a blank card
  • Overwriting a previously written card with another source file

Requirements

Requires:

and a NFC contactless reader. I used a ACS NFC ACR122U RFID Contactless Smart IC Card Reader.

Usage

banner

Installation

cargo install mfc-cloner

Write to a blank mifare classic card

mfc-cloner write-blank <card-uid> <source-file>

Overwrite a mifare classic card

mfc-cloner overwite --key <file> <source-file>

Dump a mifare classic card

mfc-cloner dump --key <file> 

Dependencies

~5–16MB
~170K SLoC