diff options
author | username <user@n.ame> | 2019-05-07 10:09:20 +0000 |
---|---|---|
committer | username <user@n.ame> | 2019-05-07 10:09:20 +0000 |
commit | e940457f15976f91e68357ce7bf35eaeb4f86452 (patch) | |
tree | f6dab4b41b5d7c9795214a074616fc48f8f2251a /not_cloudflare | |
parent | ac10858ad28ea21893d84b55d603d9bbe64dcdab (diff) | |
download | cloudflare-tor-e940457f15976f91e68357ce7bf35eaeb4f86452.tar cloudflare-tor-e940457f15976f91e68357ce7bf35eaeb4f86452.tar.gz cloudflare-tor-e940457f15976f91e68357ce7bf35eaeb4f86452.tar.lz cloudflare-tor-e940457f15976f91e68357ce7bf35eaeb4f86452.tar.xz cloudflare-tor-e940457f15976f91e68357ce7bf35eaeb4f86452.zip |
Delete 'not_cloudflare/get_fqdn_tmg1.php'
Diffstat (limited to 'not_cloudflare')
-rw-r--r-- | not_cloudflare/get_fqdn_tmg1.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/not_cloudflare/get_fqdn_tmg1.php b/not_cloudflare/get_fqdn_tmg1.php deleted file mode 100644 index 04e65b57..00000000 --- a/not_cloudflare/get_fqdn_tmg1.php +++ /dev/null @@ -1,23 +0,0 @@ -<?php -//License: WTFPL - -define('F_INPUT','noncloudflarelist.txt'); -define('F_OUTPUT','fqdnlist.txt'); - -if (!file_exists(F_INPUT)){ - die('File not found'); -} - -$result = array(); - -foreach(explode("\n",file_get_contents(F_INPUT)) as $t){ - $t = explode(' ',$t)[0]; - if (preg_match("/^([a-z0-9-\.]{1,255})\.([a-z]{2,40})$/",$t)){ - $result[] = $t; - } -} - -$result = array_unique($result); -file_put_contents(F_OUTPUT,implode("\n",$result)); - -echo('Done'); |