-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation - problems to get started #19
Comments
Hmm, there may be some initial setup that I forgot to cover -- check the modular section here: |
Also, dsniff (which contains dnsspoof), screen, node.js, and dhcpd need to be installed (via apt-get should be fine) |
@samyk And what is the dhcpd.conf configuration ? I tried but the adapter gives to the user a 169.254.X.X address automatically... |
I recommend splitting pi_startup.sh into a pi_config.sh and a bash script which is run on startup. echo "dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait modules-load=dwc2,g_ether" > /boot/cmdline.txt I'm unsure exactly which package you use for the dhcp server- apt-get installs udhcpd when trying to install dhcpd. Also, there is a package node as well as a package nodejs. The main issue I'm facing is the dhcp server daemon fails to start-- obviously we listen for dhcp requests on usb0, but I haven't deduced the scope yet. |
@jreziga Added dhcpd.conf in 838a035 |
@tomnick With @ForeverRising's instructions and 838a035 do things work properly for you? |
I've also added some additional installation instructions in 26dd781 |
Ah, also need to set the IP up: |
@samyk I was writing a post to ask your /etc/network/interfaces file, nice move ;) Edit: Alright it worked ! |
I used /etc/dhcpd.conf for the static IP. Does editing the interfaces file On Nov 18, 2016 3:45 PM, "jreziga" notifications@github.com wrote:
|
@ForeverRising dhcpd.conf goes inside Plus you need to run And yes it worked. @samyk I'm playing with it now. I'm still having some questions like :
Also I've setup my server with port 1337 wide open but I can't get any reverse websocket connection. >>> Inject Backdoor HTML reverse ws 1337
Request: 1.0.0.1.pin.ip.samy.pl/PoisonTap
{ host: '1.0.0.1.pin.ip.samy.pl',
connection: 'keep-alive',
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36',
accept: 'image/webp,image/*,*/*;q=0.8',
'accept-encoding': 'gzip, deflate, sdch',
'accept-language': 'fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4' } But nothing on the node server console output
|
I'll try again with a sudo su -. What does NFL.com seemed to reload every minute or so, I think it was chosen for the Also, I don't use newline characters in an echo command. Just habit for me. On Nov 18, 2016 4:52 PM, "jreziga" notifications@github.com wrote:
|
@ForeverRising I've made a small installation guide. Check at the bottom of this page: https://github.com/jreziga/poisontap/blob/068c2836deb61b150946acf3395ccf11eb3b3ad1/README.md |
Alright, mine is running now like a charme... is there any instruction on how to use the tools like backend_server.js or how to access remotely etc? |
@tomnick backend_server.js is a pretty simple script, if you read it you should be able to see how it works. I've not got anything open right now but I'm pretty sure you can just do a http request to:
See Samy's examples in the readme:
|
Also note the backdoor has jQuery built in so you have full access to jQuery functionality |
Which websocket library is the project based on? |
Getting this error on my server trying to install in the directory "poisontap" with the "backend_server.js" file included only:
install websocket
/root npm WARN enoent ENOENT: no such file or directory, open '/root/package.json' |
Try: sudo npm -g install websocket Also, make sure you're on Node v6. |
This is it...working...thanks a lot... |
Should add package npm to the apt-get line of the script and a npm -g On Nov 20, 2016 12:45 PM, "tomnick" notifications@github.com wrote:
|
Worth noting that the ReadMe says that NodeJS may already be installed. Yes, it is, but a very old version (0.10.29??) so you need to install this v6. First you need to remove all references to the current version 👍 then:
Now you have an updated version of Node that will run just fine. |
Did exact what you wrote and the results after reboot are:
So after I did intall nodejs-legacy:
No v6! |
I've just reformatted so that it's obvious that each is a seperate command, can't just copy and paste the whole line... Pretty sure you need v6 and up. |
Which directory to unpack the top Alexa? |
ln: failed to create symbolic link ‘configs/c.1/acm.usb0’: File exists How do you solve this problem? Ask the great god for help |
Hi, I installed everything so far and getting the following errors:
systemctl status isc-dhcp-server.service:
Any idea what could be wrong?
The text was updated successfully, but these errors were encountered: