{"action":"closed","issue":{"url":"https://api.github.com/repos/samyk/poisontap/issues/30","repository_url":"https://api.github.com/repos/samyk/poisontap","labels_url":"https://api.github.com/repos/samyk/poisontap/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/samyk/poisontap/issues/30/comments","events_url":"https://api.github.com/repos/samyk/poisontap/issues/30/events","html_url":"https://github.com/samyk/poisontap/issues/30","id":190577650,"number":30,"title":"Running on RPi 2 without Ethernet to USB","user":{"login":"Doc1992","id":12434679,"avatar_url":"https://avatars.githubusercontent.com/u/12434679?v=3","gravatar_id":"","url":"https://api.github.com/users/Doc1992","html_url":"https://github.com/Doc1992","followers_url":"https://api.github.com/users/Doc1992/followers","following_url":"https://api.github.com/users/Doc1992/following{/other_user}","gists_url":"https://api.github.com/users/Doc1992/gists{/gist_id}","starred_url":"https://api.github.com/users/Doc1992/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Doc1992/subscriptions","organizations_url":"https://api.github.com/users/Doc1992/orgs","repos_url":"https://api.github.com/users/Doc1992/repos","events_url":"https://api.github.com/users/Doc1992/events{/privacy}","received_events_url":"https://api.github.com/users/Doc1992/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-20T19:26:53Z","updated_at":"2016-12-03T22:05:48Z","closed_at":"2016-12-03T22:05:48Z","body":"I'm using a Raspberry Pi 2 powered by the power socket and connected to the victim (Windows 10 Laptop) with an Ethernet cable. I can successfully run `./pi_startup.sh` with no errors after doing the following steps:\r\n\r\n- Installation instructions from README without the USB stuff and replaced all instances of usb0 with eth0 in `/etc/network/interfaces`:\r\n```\r\necho -e \"\\nauto eth0\\nallow-hotplug eth0\\niface eth0 inet static\\n\\taddress 1.0.0.1\\n\\tnetmask 0.0.0.0\" >> /etc/network/interfaces\r\necho \"/bin/sh /home/pi/poisontap/pi_startup.sh\" >> /etc/rc.local\r\nmkdir /home/pi/poisontap\r\nchown -R pi /home/pi/poisontap\r\napt-get update && apt-get upgrade\r\napt-get -y install isc-dhcp-server dsniff screen nodejs\r\ncp /home/pi/poisontap/dhcpd.conf /etc/dhcp/dhcpd.conf\r\n```\r\n\r\n- Replaced `pi_startup.sh` from @Z3r0byte [https://github.com/Z3r0byte/poisontap/blob/master/pi_startup.sh](url) \r\n\r\n- Rebooted the RPi, ran `sudo ./poisontap/pi_startup.sh` and it runs successfully without errors.\r\n\r\n- Connected to victim PC (has chrome open) with an Ethernet cable from RPi Ethernet port to victims Ethernet Port and rebooted the RPi. The victim PC successfully gets an IP of 1.0.0.10. Browsing is slower and spotty but apart from that nothing shows that PoisonTap is working. No cookies or such appear in `/home/pi/poisontap/` . Am I supposed to run anything else on the RPi?\r\n\r\nWhen attempting to run `nodejs backend_server.js` I get the same error as #24 \r\n\r\n```\r\n/home/pi/poisontap/backend_server.js:9 var server = http.createServer((request, response) => {\r\nSyntaxError: Unexpected token > at Module._compile (module.js:439:25) \r\nat Object.Module._extensions..js (module.js:474:10)\r\nat Module.load (module.js:356:32)\r\nat Function.Module._load (module.js:312:12)\r\nat Function.Module.runMain (module.js:497:10)\r\nat startup (node.js:119:16)\r\nat node.js:902:3 \r\n```\r\n\r\n"}}
{"actor":{"display_login":"Doc1992"}}