diff options
| author | Fuwn <[email protected]> | 2024-07-02 04:23:23 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-07-02 04:23:23 -0700 |
| commit | d7a5a2724e0745776d9037410376bf767b611b4e (patch) | |
| tree | f9de5293d6abd57797dfd53f946011285d383cec | |
| parent | e2f2c11a25b6e30254813a1ab16cd2893a2790a3 (diff) | |
| download | gigi-old.tar.xz gigi-old.zip | |
docs(readme): fix configuration pathold
| -rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |