Last active
November 17, 2023 17:05
-
-
Save morsine/e3819cbb78acfe0fe0e6cfd5c2aeac61 to your computer and use it in GitHub Desktop.
mifare classic cracker install - debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#switch to root | |
sudo -i | |
#install | |
apt-get install libglib2.0-dev libnfc-dev autoconf libtool libusb-dev libpcsclite-dev build-essential unzip -y | |
#download and compile | |
wget https://github.com/nfc-tools/libnfc/releases/download/libnfc-1.7.1/libnfc-1.7.1.tar.bz2 | |
tar -jxvf libnfc-1.7.1.tar.bz2 | |
cd libnfc-1.7.1 | |
autoreconf -vis | |
./configure --with-drivers=all --sysconfdir=/etc --prefix=/usr | |
make | |
make install | |
mkdir /etc/nfc | |
mkdir /etc/nfc/devices.d | |
#assuming that you use the usb to ttl converter | |
cp contrib/libnfc/pn532_via_uart2usb.conf.sample /etc/nfc/devices.d/pn532_via_uart2usb.conf | |
wget -O mfoc-master.zip https://github.com/nfc-tools/mfoc/archive/master.zip | |
unzip mfoc-master.zip | |
cd mfoc-master/ | |
autoreconf -vis | |
./configure | |
make | |
make install | |
echo done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment