s
This commit is contained in:
parent
f7ae1374bb
commit
13864fc39f
10
firewall.sh
10
firewall.sh
@ -402,16 +402,6 @@ module-get-spam() {
|
||||
fi
|
||||
}
|
||||
|
||||
module-php() {
|
||||
ATTACK="module-php DDOS Attack "
|
||||
PHP_SPAM=$(grep $2 $ACCESS | grep -E ".php|cgi-bin|wp-content|wp-admin|wp-includes" | wc -l)
|
||||
if [[ "$PHP_SPAM" -gt 1 ]]; then
|
||||
ipBlockParser "$1"
|
||||
message "$ATTACK $1"
|
||||
redis-cli SADD tmp_block $1
|
||||
fi
|
||||
}
|
||||
|
||||
module-lightning() {
|
||||
ATTACK="module-lightning DDOS Attack "
|
||||
LN_SPAM=$(grep $2 $ACCESS | grep "lnurlp/verita84" | wc -l)
|
||||
|
Loading…
Reference in New Issue
Block a user