This commit is contained in:
firebadnofire 2025-05-16 18:32:01 +00:00
parent 8a240afeb3
commit ab8057af38
Signed by: firebadnofire
SSH key fingerprint: SHA256:bnN1TGRauJN84CxL1IZ/2uHNvJualwYkFjOKaaOilJE

View file

@ -50,10 +50,10 @@ supersecretpassword
## Security
To protect your sensitive word list, `logdebarker` will refuse to run if `$HOME/.blocked_words.txt` is not `chmod 700`.
To protect your sensitive word list, `logdebarker` will refuse to run if `$HOME/.blocked_words.txt` is not `chmod 600`.
```sh
chmod 700 ~/.blocked_words.txt
chmod 600 ~/.blocked_words.txt
```
## Installation
@ -76,6 +76,19 @@ OR
`go install archuser.org/logdebarker`
## Final notes
`Logdebarker` is not a service, so you may simply wipe out ~/.blocked_words.txt when not in use for added security. This can be done with `truncate -s 0 ~/.blocked_words.txt`
Usage is as follows:
```
Usage:
logdebarker [input_file] [output_file]
logdebarker < input.txt > output.txt
inputstream | logdebarker | outputstream
```
## License
This project is released under the GPLv3 License.