Actualizar 'domain_cleaner.sh'
This commit is contained in:
parent
105ca8a846
commit
3d2f07f9ef
|
@ -1,24 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
RED='\033[1;31m'
|
source <(curl -s https://gitea.avc.cx/borekon/scripts/raw/branch/main/colores.sh)
|
||||||
GREEN='\033[1;32m'
|
|
||||||
BLUE='\033[1;35m'
|
|
||||||
YELLOW='\033[1;33m'
|
|
||||||
NC='\033[0m'
|
|
||||||
ip_to_find="0.0.0.0"
|
ip_to_find="0.0.0.0"
|
||||||
deleted=0
|
deleted=0
|
||||||
kept=0
|
kept=0
|
||||||
rojo(){
|
|
||||||
echo -e "${RED}$1${NC}"
|
|
||||||
}
|
|
||||||
amarillo(){
|
|
||||||
echo -e "${YELLOW}$1${NC}"
|
|
||||||
}
|
|
||||||
verde(){
|
|
||||||
echo -e "${GREEN}$1${NC}"
|
|
||||||
}
|
|
||||||
azul(){
|
|
||||||
echo -e "${BLUE}$1${NC}"
|
|
||||||
}
|
|
||||||
|
|
||||||
domains=$(curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | grep -v ^# | cut -d" " -f2)
|
domains=$(curl -s https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | grep -v ^# | cut -d" " -f2)
|
||||||
for j in $domains; do
|
for j in $domains; do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user