beefproject/beef — Issue #626: Add WebSockets basic communication channel
Author: antisnatchor
Created: 2012-03-02 18:35:45+00:00
State: open

Start the work on WebSockets support.

If the hooked browser supports websockets, create a websocket client object that will connect back to BeEF,
where the WebSocket server will be implemented.

A few resources that could help during the development process:

http://www.igvita.com/2009/12/22/ruby-websockets-tcp-for-the-browser/
https://github.com/igrigorik/em-websocket

The initial implementation will implement a simple ping/pong
JS -> ping
ruby -> pong
where the last 'pong' will be then logged to the javascript console.
This will be the starting point to add further support for a faster communication channel between hooked browsers and BeEF.