This commit is contained in:
2025-07-05 16:32:27 +02:00
parent 6d9d52e31c
commit 658861f0a4
3 changed files with 7 additions and 0 deletions

View File

@@ -16,3 +16,10 @@ nc localhost 80
GET /anything HTTP/1.0 GET /anything HTTP/1.0
POST /anything HTTP/1.0 POST /anything HTTP/1.0
``` ```
### Warning
The executable needs root permissions because it is listening for incoming connections everywhere (0.0.0.0).
Therefore, if your server is running on the default address, anyone on the network can access and/or create any file on your machine.
Change the `sockaddr_in` struct in the data section to override this.

BIN
exe Executable file

Binary file not shown.

BIN
server.o Normal file

Binary file not shown.