This commit is contained in:
Your Name 2024-09-25 03:40:35 +00:00
parent 4cc2fa74b1
commit 1aad32eb95

View File

@ -314,15 +314,15 @@ watch() {
for i in "${IP[@]}"; do for i in "${IP[@]}"; do
bash $MODULES/module-akkoma-instance.sh "$i" "$DATE" bash $MODULES/module-akkoma-instance.sh "$i" "$DATE"
bash $MODULES/module-akkoma-timeline-public.sh "$i" "$DATE" bash $MODULES/module-akkoma-timeline-public.sh "$i" "$DATE"
bash $MODULES/module-akkoma-timeline-home.sh "$i" "$DATE" bash $MODULES/module-akkoma-timeline-home.sh "$i" "$DATE"
bash $MODULES/module-akkoma-accounts.sh "$i" "$DATE" bash $MODULES/module-akkoma-accounts.sh "$i" "$DATE"
bash $MODULES/module-akkoma-search.sh "$i" "$DATE" bash $MODULES/module-akkoma-search.sh "$i" "$DATE"
bash $MODULES/module-lightning.sh "$i" "$DATE" bash $MODULES/module-lightning.sh "$i" "$DATE"
bash $MODULES/module-php.sh "$i" "$DATE" bash $MODULES/module-php.sh "$i" "$DATE"
bash $MODULES/module-go.sh "$i" "$DATE" bash $MODULES/module-go.sh "$i" "$DATE"
bash $MODULES/module-get-spam.sh "$i" "$DATE" bash $MODULES/module-get-spam.sh "$i" "$DATE"
COUNT=$(grep $DATE $ACCESS | grep $i | grep -Fivf <(printf '%s\n' "${SAFE_TRAFFIC[@]}") | grep -Fivf <(printf '%s\n' "${SAVED_BOTS[@]}") | wc -l) COUNT=$(grep $DATE $ACCESS | grep $i | grep -Fivf <(printf '%s\n' "${SAFE_TRAFFIC[@]}") | grep -Fivf <(printf '%s\n' "${SAVED_BOTS[@]}") | wc -l)
CHECK=$(cat $NFT_CACHE | sort -u | grep $i) CHECK=$(cat $NFT_CACHE | sort -u | grep $i)
if [[ "$COUNT" -gt $ATTACK_THRESHOLD ]]; then if [[ "$COUNT" -gt $ATTACK_THRESHOLD ]]; then