OWASP Damn Vulnerable Web Sockets (DVWS)
Deliberately vulnerable web application using Web Sockets for client-server communication. PHP with Ratchet, MySQL backend. Test web socket testing skills and tools (e.g. OWASP ZAP, Burp Suite). Covers PHP code injection, SSTI, CORS, session issues, XSS, SQLi, file inclusion, CSRF, command execution, brute force. MIT License.
Notes
Code and setup: github.com/interference-security/DVWS. Ratchet and ReactPHP-MySQL packaged; Apache + PHP + MySQL required.