Mejora tu seguridad y privacidad bloqueando los anuncios, el rastreo y los dominios de malware.
¿Para qué es esto?
Este shell script compatible con POSIX, diseñado para sistemas de tipo Unix, obtiene una lista de dominios que sirven anuncios, scripts de rastreo y malware de múltiples fuentes y crea un archivo hosts (también se admiten formatos alternativos) que evita que tu sistema se conecte a ellos.
¿Es seguro su uso?
Absolutamente, este script selecciona sólo los nombres de dominio para cada fuente, de modo que si un nombre de dominio es redirigido a un servidor no autorizado, tu sistema no se verá afectado. En el peor de los casos, puedes perder el acceso a un nombre de dominio legítimo debido a un falso positivo, pero puedes revertirlo añadiendo ese dominio a la lista blanca.
Compilación Nocturna
Proporciono compilaciones nocturnas del archivo de hosts y otros formatos, incluyendo instaladores para Windows (batch file) y Android (flashable zip).
Instalación
Manual
curl -o /tmp/hblock 'https://raw.githubusercontent.com/hectorm/hblock/v2.1.7/hblock' \
&& echo 'e357fc9439d7b79036c7939f976aab9cbd25878c4651e5a757e30ff96452edc2 /tmp/hblock' | shasum -c \
&& sudo mv /tmp/hblock /usr/local/bin/hblock \
&& sudo chown root:root /usr/local/bin/hblock \
&& sudo chmod 755 /usr/local/bin/hblock
Opcionalmente, es posible usar NPX para ejecutar hBlock sin instalación
npx hblock
Gentoo
Añade el overlay src_prepare con la ayuda del repositorio oficial.
Desenmascarar el paquete net-firewall/hblock
con la ayuda de la wiki de Gentoo.
Ejecutar:
emerge --verbose net-firewall/hblock
Uso
Argumentos del script
También puedes cambiar el comportamiento predeterminado usando estas opciones:
Usage: hblock [options…]
-O, --output
Output file location
(default: "/etc/hosts" file)
-H, --header
Content to be included at the beginning of the output file
(default: HBLOCK_HEADER environment variable,
"/etc/hblock.d/header" file or builtin value)
-F, --footer
Content to be included at the end of the output file
(default: HBLOCK_FOOTER environment variable,
"/etc/hblock.d/footer" file or builtin value)
-S, --sources
Newline separated URLs used to generate the blocklist
(default: HBLOCK_SOURCES environment variable,
"/etc/hblock.d/sources.list" file or builtin value)
-W, --whitelist
Newline separated domains to be removed from the blocklist
(default: HBLOCK_WHITELIST environment variable,
"/etc/hblock.d/whitelist.list" file or builtin value)
-B, --blacklist
Newline separated domains to be added to the blocklist
(default: HBLOCK_BLACKLIST environment variable,
"/etc/hblock.d/blacklist.list" file or builtin value)
-R, --redirection
Redirection for all entries in the blocklist
(default: 0.0.0.0)
-T, --template
Vista previa de la ejecución
Fuentes
Nombre | Primaria | Mirror |
---|---|---|
adaway.org | URL | URL |
AdBlock NoCoin List | URL | URL |
AdGuard – Simplified | URL | URL |
AntiPopads | URL | URL |
disconnect.me – Ad | URL | URL |
disconnect.me – Malvertising | URL | URL |
disconnect.me – Malware | URL | URL |
disconnect.me – Tracking | URL | URL |
DShield.org – High | URL | URL |
EasyList | URL | URL |
EasyPrivacy | URL | URL |
ETH Phishing Detect | URL | URL |
FadeMind – add.2o7Net | URL | URL |
FadeMind – add.Dead | URL | URL |
FadeMind – add.Risk | URL | URL |
FadeMind – add.Spam | URL | URL |
Geoffrey Frogeye – First-party trackers | URL | URL |
hostsVN | URL | URL |
KADhosts | URL | URL |
lightswitch05 – Ads & Tracking | URL | URL |
malwaredomainlist.com | URL | URL |
malwaredomains.com – Immortal domains | URL | URL |
malwaredomains.com – Just domains | URL | URL |
matomo.org – Spammers | URL | URL |
mitchellkrogza – Badd-Boyz-Hosts | URL | URL |
pgl.yoyo.org | URL | URL |
Phishing Army | URL | URL |
someonewhocares.org | URL | URL |
spam404.com | URL | URL |
StevenBlack | URL | URL |
uBlock | URL | URL |
uBlock – Badware | URL | URL |
uBlock – Privacy | URL | URL |
winhelp2002.mvps.org | URL | URL |
ZeroDot1 – CoinBlockerLists | URL | URL |
hblock (este enlace se abre en una nueva ventana) por hectorm (este enlace se abre en una nueva ventana)
Improve your security and privacy by blocking ads, tracking and malware domains.