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 | 099f26a9c495ad722d8dc6da644515b2ead9ba82 (patch) | |
| tree | abdd79f96ea9cf7fabfe54a2501b394e797a5ec5 | |
| parent | docs(readme): update information (diff) | |
| download | gigi-099f26a9c495ad722d8dc6da644515b2ead9ba82.tar.xz gigi-099f26a9c495ad722d8dc6da644515b2ead9ba82.zip | |
docs(readme): fix configuration path
| -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 |