diff --git a/README.md b/README.md index 9cc496d..42fc84d 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,10 @@ nc localhost 80 GET /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. diff --git a/exe b/exe new file mode 100755 index 0000000..c87234d Binary files /dev/null and b/exe differ diff --git a/server.o b/server.o new file mode 100644 index 0000000..5a03307 Binary files /dev/null and b/server.o differ