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
|
|
@ -7,7 +7,9 @@
|
|||
set -uo pipefail
|
||||
|
||||
URL="https://riricdev.tail5ea5cd.ts.net/"
|
||||
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/.uptime-state"
|
||||
INTERVAL=5
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue