Since Kali itself integrates a lot of NFC tools, it is convenient to use, plus a acr122u card reader, to try PJ School water Card!
First install the driver, to ACS official website to download Linux, unzip into their own Linux distribution, Kali is Debian, directly is the Deb installation package, dpkg-i installation on the line
Then install Debhelper Libtool
Apt-get install -y debhelper libtool
apt-get install debhelper Then you can connect the device and then use VI to modify the filevi /usr/lib/PCSC/drivers/IfD-ccid. Bundle/Contents/Info. plist Change the last line of 0x00000000 to 0x00000005 and then restart the following PSCSD servicesService pcscd restart
And then open the PCSCD deamon process.
Pcscd–fd
Then restart the terminal, SU mode can be used, input nfc-list can display the card information
Put the card on the acr122u and knock on it.
Mfoc-o Water.dump
will start the automatic operation, after the run will be generated in the current directory Water.dump
Then with VI Open, command-line mode input%!XXD, you can modify the hexadecimal data, after modifying the input%!xxd-r can be saved
And then to write the original card, using the Nfc-mfclassic
Nfc-mfclassic w|r a|b [DumpFile]
W or R is write or read, A or B is with a password or b password, this is M1 card structure problem, here with b password
Nfc-mfclassic W b water.dump
Then take it and test it!
There are some of the files under the Windows dump hack is 1KB, not the standard 4KB, so you need to fix it with Fixdump!
Run the NFC tool test under Kali Linux!