From the course: Ethical Hacking: Hacking Web Servers and Web Applications

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Moving on to WebSockets

Moving on to WebSockets

From the course: Ethical Hacking: Hacking Web Servers and Web Applications

Start my 1-month free trial

Moving on to WebSockets

- [Instructor] With the release of HTML 5, more sophisticated state management capabilities are available to the web developer. WebSockets provide the ability to setup a full duplex communications channel between the client and the server. This required a handshake over HTTP or HTTPS. To upgrade the protocol to WS or WSS, and a WebSockets server to manage the protocol. Firstly the client initiates the connection by sending an HTTPS web socket handshake request, and the server responds with a status code of 101 switching protocols. It then switches to WebSockets, and both the web browser and the web server communicate using the WebSockets API, according to RFC 6455, the WebSockets protocol. WebsocketD is an easy to use WebSockets server written by Joe Walnize, which will run on Ubuntu. We can get the ZIP file of this server from his GitHub page, unpack it, and it'll be ready for use. I've already loaded it on my…

Contents