mirror of
https://github.com/gfwlist/gfwlist.git
synced 2024-11-10 18:25:18 +00:00
This commit is contained in:
parent
a67531c711
commit
45c006681b
@ -9,7 +9,7 @@ while read line
|
|||||||
do
|
do
|
||||||
|
|
||||||
host=$( echo "$line" |
|
host=$( echo "$line" |
|
||||||
grep -oE "[a-z0-9]([a-z0-9_\.\-]*[a-z0-9])?\.[a-z]{2,3}" |
|
grep -oE "[a-z0-9]([a-z0-9_\.\-]*[a-z0-9])?\.[a-z]{2,4}" |
|
||||||
grep -vE "dot$|htm$|php$" );
|
grep -vE "dot$|htm$|php$" );
|
||||||
|
|
||||||
[ "$host" ] && [ "$(nslookup $host | grep $1)" ] && echo $host;
|
[ "$host" ] && [ "$(nslookup $host | grep $1)" ] && echo $host;
|
||||||
|
Loading…
Reference in New Issue
Block a user