diff --git a/README.md b/README.md index 97c0e67..79622da 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ When `/bin/sh` (which is linked to `/bin/dash`) is run under this, it will immed This means that both the **effective** and **real** user will be `hacker`, and the flag will not be accessible. This affects `system`, which ultimately just runs `/bin/sh`. -The challenge can rememedy this by explicitly setting the **real** user to the **effective** user: +The challenge can remedy this by explicitly setting the **real** user to the **effective** user: ```c setreuid(geteuid(), -1) ```