diff options
| author | Fuwn <[email protected]> | 2024-07-02 11:23:23 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-07-02 11:23:23 +0000 |
| commit | 8ea0e6d57ffba3b9072f1fa85474581a50b78af7 (patch) | |
| tree | f9de5293d6abd57797dfd53f946011285d383cec /README.md | |
| parent | docs(readme): update information (diff) | |
| download | gigi-old.tar.xz gigi-old.zip | |
docs(readme): fix configuration pathold
Diffstat (limited to 'README.md')
| -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 |