Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Robin Thoni 7dd4e39974 [Hotfix] Added flag to write sector0 il y a 5 ans
cli [Hotfix] Added flag to write sector0 il y a 5 ans
src [Hotfix] Fixed writeSector0 il y a 5 ans
tests string utils; cli il y a 7 ans
.gitignore init il y a 7 ans
CMakeLists.txt cmake install rules; fixed cli tags and devices actions il y a 7 ans
README.md README il y a 7 ans

README.md

Mifare-Tools

Library and command line tools for Mifare classic 1K NFC tags. It can:

  • List NFC devices
  • List NFC tags
  • Read a Mifare Classic 1K tag
  • Write a Mifare Classic 1K tag

Usage

List devices:

mifare-tools-cli --devices

List tags:

mifare-tools-cli --tags

Read a tag with some command line keys:

mifare-tools-cli --read --key ffffffffffff --key a1a2a3a4a5a6

Read a tag with a key file and save dump to a file:

mifare-tools-cli --read --key-file ~/my_key_file --output ~/my_dump

Write a tag with a command line key, from stdin:

cat ~/my_dump | mifare-tools-cli --write --key-file ffffffffffff

Write a tag with a command line key, from a file:

mifare-tools-cli --write --key-file ffffffffffff --input ~/my_dump

Write a tag with a key file, from a file, on a specified device, on a specified tag:

mifare-tools-cli --write --key-file ffffffffffff --input ~/my_dump --device pn53x_usb:003:008 --tag a1a2a3

Build and Install

Requirements

Libnfc https://github.com/nfc-tools/libnfc Libfreefare https://github.com/nfc-tools/libfreefare

Build and Install

git clone https://git.rthoni.com/robin.thoni/mifare-tools
cd mifare-tools
mkdir build
cd build
cmake ..
make
sudo make install