chore(secrets): retire les webhooks Discord et l'état runtime du git avant hébergement public
- scripts antiflood/ipwatch/uptime-check chargent désormais leur webhook depuis scripts/.webhooks (gitignoré) au lieu d'un token en dur - suppression scripts/antiflood.sh.bak-before-cpu-removal (doublon mort) - untrack + gitignore des fichiers d'état runtime (.ipwatch-state/offset, .synbase, .synstate, .uptime-state) contenant des IP opérationnelles
This commit is contained in:
parent
03c0c134fe
commit
f27387b525
4 changed files with 17 additions and 3 deletions
|
|
@ -18,7 +18,9 @@
|
|||
# tentatives a augmenté depuis le dernier rapport.
|
||||
set -o pipefail
|
||||
|
||||
WEBHOOK="https://discord.com/api/webhooks/***REMOVED***"
|
||||
# Webhook Discord chargé depuis un fichier local gitignoré (jamais commité).
|
||||
source /home/riricdev/zektyc/scripts/.webhooks
|
||||
WEBHOOK="${IPWATCH_WEBHOOK:-}"
|
||||
INTERVAL=30
|
||||
STATE="/home/riricdev/zektyc/scripts/.ipwatch-state" # IP:compteur déjà signalés
|
||||
NGINX_LOG="/var/log/nginx/access.log"
|
||||
|
|
|
|||
Loading…
Reference in a new issue