-
1Step 1
Install the necessary software:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -y install git isc-dhcp-server dsniff screen nodejs bridge-utils
-
2Step 2
Copy or clone Hackpi into your user's home folder (usually /home/pi):
git clone https://github.com/wismna/HackPi
-
3Step 3
Copy or clone PoisonTap into your user's home folder (usually /home/pi):
git clone https://github.com/samyk/poisontap
-
4Step 4
Copy or clone Responder into your user's home folder (usually /home/pi)
git clone <a href="https://github.com/lgandx/Responder">https://github.com/lgandx/Responder</a>;
-
5Step 5
(optional) Make a backup of the dwc2.ko file in /lib/modules/4.4.38+/kernel/drivers/usb/dwc2
sudo mv /lib/modules/(uname -r)/kernel/drivers/usb/dwc2/dwc2.ko /lib/modules/(uname -r)/kernel/drivers/usb/dwc2/dwc2.ko.bak
-
6Step 6
Move the dwc2.ko file from the /home/pi/umap folder to /lib/modules/4.4.38+/kernel/drivers/usb/dwc2
sudo mv -f ~/HackPi/dwc2.ko /lib/modules/(uname -r)/kernel/drivers/usb/dwc2/
-
7Step 7
Replace system files (optionally make a backup of your originals beforehand)
- config.txt, located in /boot
sudo mv -f ~/HackPi/config.txt /boot/
- modules, located in /etc
sudo mv -f ~/HackPi/modules /etc/
- rc.local, located in /etc
sudo mv -f ~/HackPi/rc.local /etc/
Make sure rc.local is executable
sudo chmod +x /etc/rc.local
- isc-dhcp-server, located in /etc/defaults
sudo mv -f ~/HackPi/isc-dhcp-server /etc/default
- dhcpd.conf, located in /etc/dhcp
sudo mv -f ~/HackPi/dhcpd.conf /etc/dhcp
- interfaces, located in /etc/network
sudo mv -f ~/HackPi/interfaces /etc/network
- config.txt, located in /boot
-
8Step 8
Reboot the Pi, it should work!
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.