您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Robin Thoni 83e70c564d README.md 7 年前
cli reinit 7 年前
gui reinit 7 年前
libnfc_cpptools reinit 7 年前
tests reinit 7 年前
.gitignore init 7 年前
CMakeLists.txt reinit 7 年前
README.md README.md 7 年前

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:

nfc_cpptools-cli --devices

List tags:

nfc_cpptools-cli --tags

Read a tag with some command line keys:

nfc_cpptools-cli --read --key ffffffffffff --key a1a2a3a4a5a6

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

nfc_cpptools-cli --read --key-file ~/my_key_file --output ~/my_dump

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

cat ~/my_dump | nfc_cpptools-cli --write --key-file ffffffffffff

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

nfc_cpptools-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:

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

Build and Install

Requirements

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