Simple hosts file compiler for Windows. Inspired by Steven Black's hosts repository.
Revamped C# version in HostsZ
Minimum Requirement: .NET v4.5
Required:
- -auto
- Initializes Auto Generate State
- Directly replaces the hosts file in C:\Windows\System32\drivers\etc
- Requires a Data folder beside the app
- Required: source.txt for the host sources
- Optional: black.txt for domain blacklist
- Optional: white.txt for domain whitelist
- Optional: loopback.txt for domain loopbacks
HostsY.exe
Data
----\black.txt
----\source.txt
----\white.txt
----\loopback.txt
0.0.0.0
broadcasthost
ip6-allhosts
ip6-allnodes
ip6-allrouters
ip6-localhost
ip6-localnet
ip6-loopback
ip6-mcastprefix
local
localhost
localhost.localdomain
Optional:
- -sort
- Sorts the Domains (ascending; source-wise)
- -tab
- Uses tab instead of spaces between Target IP and Domain Name
- -logs
- Generate generation logs; auto-generates a logs.txt inside the Data folder
- -dpl
- Indicates that it will generate <2~9> number of domains per line (e.g. -dpl4) to reduce the file size
- -zip
- Generates a zipped hosts file inside the Data folder