From d7a5a2724e0745776d9037410376bf767b611b4e Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 2 Jul 2024 04:23:23 -0700 Subject: docs(readme): fix configuration path --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 21cfc5e..fa2bfd9 100644 --- a/README.md +++ b/README.md @@ -64,19 +64,19 @@ mode, there is a significant risk for arbitrary code execution. ### Configuration -Gigi is configured through the `./gigi` directory. +Gigi is configured through the `./.gigi` directory. Dynamic response mode is disabled by default in [`gigi.c`](./gigi.c) because it is very unsafe. If you wish to live on the edge, uncomment the `GIGI_DYNAMIC` macro. Dropping Gigi into a container is significantly safer than running it on a host machine, so consider that as an option, too. -Dynamic mode runs any and all executables located at the path `./gigi/do`, and +Dynamic mode runs any and all executables located at the path `./.gigi/do`, and passes any arguments from the Finger request to the executable. Static mode is enabled by default. A Finger request for `test` will return the -contents of `./gigi/test`. A Finger request of nothing will return the contents -of `./gigi/default`. The default file is also the fallback file in case the +contents of `./.gigi/test`. A Finger request of nothing will return the contents +of `./.gigi/default`. The default file is also the fallback file in case the requested file does not exist. To emulate dynamic mode, minus the support for arguments, you can setup a -- cgit v1.2.3