2017-07-11 19:33:42 +08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -x
|
|
|
|
|
2017-07-26 16:41:32 +08:00
|
|
|
# This is for linux ppl and it works on Ubuntu distros. Don't know about Kali.
|
2017-01-16 22:02:10 +08:00
|
|
|
|
2016-10-05 22:27:52 +08:00
|
|
|
echo "Updating your system..."
|
|
|
|
|
|
|
|
# install dependencies for Proxmark3 source code.
|
|
|
|
sudo apt-get install p7zip git build-essential libreadline5 libreadline-dev gcc-arm-none-eabi
|
2016-10-05 23:10:14 +08:00
|
|
|
sudo apt-get install libusb-0.1-4 libusb-dev libqt4-dev libncurses5-dev perl pkg-config wget
|
2016-10-05 22:27:52 +08:00
|
|
|
|
|
|
|
#cleaning up
|
|
|
|
sudo apt-get install -f -y
|
|
|
|
sudo apt-get autoremove -y
|
|
|
|
sudo apt-get autoclean -y
|
|
|
|
sudo apt-get clean -y
|
|
|
|
sudo apt-get update
|
|
|
|
|
2017-07-26 16:41:32 +08:00
|
|
|
# install iceman fork - proxmark3
|
|
|
|
git clone https://github.com/iceman1001/proxmark3.git
|
2017-07-11 19:33:42 +08:00
|
|
|
(
|
|
|
|
cd proxmark3 || exit 1
|
|
|
|
git reset --hard
|
|
|
|
git clean -dfx
|
|
|
|
make clean
|
|
|
|
make all
|
|
|
|
# Copy blacklist rules into /etc/udev/rules.d
|
|
|
|
# check the Makefile for details
|
|
|
|
sudo make udev
|
|
|
|
)
|
2017-01-16 22:02:10 +08:00
|
|
|
|
2016-10-05 22:27:52 +08:00
|
|
|
# Where is my device?
|
2016-10-05 23:10:14 +08:00
|
|
|
#dmesg | tail -10
|
2016-10-05 22:27:52 +08:00
|
|
|
|
2017-07-11 19:33:42 +08:00
|
|
|
echo "Done."
|