A simple tool to read/write Mifare RFID tags with an ACR122U device
Here is a simple Java program to read/write Mifare RFID tags with an ACR122U device.
~$ mvn clean package
~$ java -jar ./acr122urw.jar -h
Usage: java -jar acr122urw.jar [option]
Options:
-h, --help show this help message and exit
-d, --dump [KEYS...] dump Mifare Classic 1K cards using KEYS
-w, --write S B KEY DATA write DATA to sector S, block B of Mifare Classic 1K cards using KEY
Examples:
java -jar acr122urw.jar --dump FF00A1A0B000 FF00A1A0B001 FF00A1A0B099
java -jar acr122urw.jar --write 13 2 FF00A1A0B001 FFFFFFFFFFFF00000000060504030201
The ACR122U NFC Reader is made by Advanced Card Systems Ltd (Hong Kong, China).
~# # For Debian Testing
~# echo "install pn533 /bin/false" >> /etc/modprobe.d/blacklist-nfc.conf
~# echo "install nfc /bin/false" >> /etc/modprobe.d/blacklist-nfc.conf
~# modprobe -r pn533 nfc
~# apt-get install libpcsclite1 libccid pcscd libacsccid1 pcsc-tools
~# pcscd -f
Bitcoin address: 13BMqpqbzJ62LjMWcPGWrTrdocvGqifdJ3