Documentation
¶
Overview ¶
LPC checks a hosts block list and add of a given prefix.
The Leaky Prefix Checker for domain names that escapes a hosts block list through `www.` prefix.
Usage:
lpc [flags]
The flags are:
-dns string IP address of the resolver, default to 8.8.8.8.", -in string path to the hosts file, default to stdin. -port string port of the resolver, default to 53 -out string path to the output file, default to stdout. -tgt string target IP address of the blocked entry, default to 0.0.0.0 -time int64 time between DNS query, default to 100ms
Example:
cat /etc/hosts | lpc lpc -in /etc/hosts -out hosts.tmp
Click to show internal directories.
Click to hide internal directories.