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
|
|
@ -11,7 +11,9 @@
|
|||
# Le funnel + playit sont réactivés automatiquement quand ça redescend.
|
||||
set -u
|
||||
|
||||
WEBHOOK="https://discord.com/api/webhooks/***REMOVED***"
|
||||
# Webhook Discord chargé depuis un fichier local gitignoré (jamais commité).
|
||||
source /home/riricdev/zektyc/scripts/.webhooks
|
||||
WEBHOOK="${ANTIFLOOD_WEBHOOK:-}"
|
||||
STATE_FILE="/home/riricdev/zektyc/scripts/.synstate"
|
||||
BASE_FILE="/home/riricdev/zektyc/scripts/.synbase"
|
||||
LOG="/var/log/zektyc-syn.log"
|
||||
|
|
|
|||
Loading…
Reference in a new issue