├── basic
├── formats
│ └── keep
└── build.sh
├── assets
└── readme
│ ├── README.md
│ ├── readme.sh
│ └── readme.template
├── LICENSE
└── README.md
/basic/formats/keep:
--------------------------------------------------------------------------------
1 | KEEP THE DIRECTORY ALIVE
--------------------------------------------------------------------------------
/assets/readme/README.md:
--------------------------------------------------------------------------------
1 | # Energized Protection unblock
2 |
3 | Let's make an annoyance free, better open internet, altogether!
4 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 Energized Protection
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/assets/readme/readme.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # Energized Protection unblock Readme Creator
3 | # make time stamp update
4 | TIMESTAMP=`date +'%b %d, %Y'`
5 | VERSION=`date +'%y.%m.%j'`
6 | # Directory
7 | bsc=../../basic/formats
8 | # Entries Count
9 | basict=$(egrep 'Entries:' $bsc/domains.txt)
10 | # Filter Size
11 | basicabf=$(ls -lah $bsc/filter | awk '{print $5}')
12 | # Domains List Size
13 | basicds=$(ls -lah $bsc/domains.txt | awk '{print $5}')
14 | # DNSMasq Size
15 | basiccs=$(ls -lah $bsc/dnsmasq.conf | awk '{print $5}')
16 | # DNSMasq IPV6 Size
17 | basicc6s=$(ls -lah $bsc/dnsmasq-ipv6.conf | awk '{print $5}')
18 | # Unbound Size
19 | basicus=$(ls -lah $bsc/unbound.conf | awk '{print $5}')
20 | # RPZ Size
21 | basicrs=$(ls -lah $bsc/rpz.txt | awk '{print $5}')
22 | # pDNSf
23 | basicp=$(ls -lah $bsc/pdnsf.txt | awk '{print $5}')
24 |
25 | # add to readme
26 | sed -e "s/_timestamp_/$TIMESTAMP/g" -e "s/_version_/$VERSION/g" -e "s/_basict_/$basict/g" -e "s/_basics_/$basics/g" -e "s/_basic6_/$basic6/g" -e "s/_basicabf_/$basicabf/g" -e "s/_basicds_/$basicds/g" -e "s/_basiccs_/$basiccs/g" -e "s/_basicc6s_/$basicc6s/g" -e "s/_basicus_/$basicus/g" -e "s/_basicrs_/$basicrs/g" -e "s/_basicp_/$basicp/g" readme.template > ../readme.tmp
27 | echo >> ../readme.tmp
28 | # add to file
29 | cat ../readme.tmp > ../../README.md
30 | echo "- Adding Date"
31 | echo "- Adding Version"
32 | echo "- Adding Total Entries"
33 | echo "- Adding Sizes"
34 |
35 | # remove tmp file
36 | rm -rf ../*.tmp
37 |
38 | # remove extra text
39 | echo "- Removing Extras"
40 | sed -i -e 's/# Entries: //g' ../../README.md
41 |
42 | echo "[+] Done !"
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 |
Energized Protection - unblock ⚡
4 |
5 |
6 |
7 |

9 |
10 |

12 |
13 |

15 |
16 |
17 |
18 | unblock the legit domains.
19 |
20 |
21 | This repository is basically a collection of whitelisted domains that are being used in Energized Protection block to keep the legit domains unblocked. Obviously without compromising privacy and security!
22 |
23 |
24 |
25 |
26 |
33 |
34 |
57 |
58 |
59 | A Trio Project with ❤ from Bangladesh, India & Zanzibar.
60 |
61 |
62 | ## Features
63 | - __any device:__ compatible with all devices, regardless of OS.
64 | - __unblockings:__ simply unblocks `legit, common, cdn, api & safe-to-unblock` domains.
65 | - __multiple formats:__ different `variants` for different `devices & extensions`.
66 | - __hassle free:__ apply once and `never` worry about getting blocked again!
67 | - __support:__ user friendly chat group got `your` back!
68 | - __clean:__ no `extra` abracadabra!
69 |
70 | ## What is this for?
71 |
72 | This Energized Protection unblock is designed to give users a better experience while using any blocklist from other source than Energized Protection block. Energized Protection block lists are always updated with the legit domains whitelisted.
73 |
74 |
75 |
76 | ## Packs
77 |
78 | Basic info about all Energized Protection packs.
79 |
80 | | PACK NAME | DESCRIPTION | BEST USE DEVICE | UNIQUE ENTRIES | SIZE (AVG.) | SOURCE |
81 | |:---------:|:-----------:|:---------------:|:--------------:|:-----------:|:------:|
82 | | Basic | Basic list of whitelisted domains. | ANY | 10,846 | 372K | [/basic](https://github.com/EnergizedProtection/unblock/tree/master/basic) |
83 |
84 |
85 | ## Formats
86 |
87 | Different formats for various devices and extensions.
88 |
89 | ### Packs
90 |
91 | | PACKAGE | ENTRIES | ADBLOCK FILTER | DOMAINS | DNSMASQ| DNSMASQ IPV6 | UNBOUND | RPZ | pDNSf |
92 | |:-------:|:-------:|:--------------:|:-------:|:------:|:------------:|:-------:|:---:|:-----:|
93 | | Basic | **10,846** | [FILTER](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/filter) (245K) | [LIST](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/domains.txt) (192K) | [CONF](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/dnsmasq.conf) (372K) | [CONF IPV6](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/dnsmasq-ipv6.conf) (510K) | [CONF](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/unbound.conf) (468K) | [TXT](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/rpz.txt) (404K) | [TXT](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/pdnsf.txt) (203K) |
94 |
95 |
96 | ## Sources
97 |
98 | We have been collecting these whitelisted domains from the user reports, online communities (Ex. Reddit, Telegram, XDA) and our personal usage since the very early days of our beginning. Thanks to all the users and supporters out there for helping us improve day by day. [You guys are awesome](http://iamawesome.com/)!
99 |
100 |
101 | ## Support
102 |
103 | Maintaining a quality blocking project takes a lot of time. Energized Protection is completely independently funded. We fight for our users. This does mean
104 | however that we also have to spend our owns to pay the bills. This is where you can help: by chipping in you can ensure more time is spent improving Energized rather than dealing with distractions.
105 |
106 | This donation is for our services, not for any pack, resource or any other mean. Your support will help us keep the project running and provide you quality service.
107 |
108 |
109 |
110 |
111 | ## Disclaimer
112 |
113 | Energized Protection unBlock Lists are basically `whitelist` files to unblock access of legit domains. If you don't know how it works, nothing to worry about! Because this wouldn't break you internet usage experience alongside your device!
114 |
115 |
116 | ## License
117 |
118 | The content of this project itself is licensed under the [MIT](https://github.com/EnergizedProtection/unblock/blob/master/LICENSE) license, and the underlying source code used to format and display that content is licensed under the [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) license.
119 |
120 | ---
121 |
122 |
123 |
Let's make an annoyance free better open internet, altogether!
124 |
A project by Ador with ❤
125 |
126 |
127 |
--------------------------------------------------------------------------------
/assets/readme/readme.template:
--------------------------------------------------------------------------------
1 | 
2 |
3 | Energized Protection - unblock ⚡
4 |
5 |
6 |
7 |

9 |
10 |

12 |
13 |

15 |
16 |
17 |
18 | unblock the legit domains.
19 |
20 |
21 | This repository is basically a collection of whitelisted domains that are being used in Energized Protection block to keep the legit domains unblocked. Obviously without compromising privacy and security!
22 |
23 |
24 |
25 |
26 |
33 |
34 |
57 |
58 |
59 | A Trio Project with ❤ from Bangladesh, India & Zanzibar.
60 |
61 |
62 | ## Features
63 | - __any device:__ compatible with all devices, regardless of OS.
64 | - __unblockings:__ simply unblocks `legit, common, cdn, api & safe-to-unblock` domains.
65 | - __multiple formats:__ different `variants` for different `devices & extensions`.
66 | - __hassle free:__ apply once and `never` worry about getting blocked again!
67 | - __support:__ user friendly chat group got `your` back!
68 | - __clean:__ no `extra` abracadabra!
69 |
70 | ## What is this for?
71 |
72 | This Energized Protection unblock is designed to give users a better experience while using any blocklist from other source than Energized Protection block. Energized Protection block lists are always updated with the legit domains whitelisted.
73 |
74 |
75 |
76 | ## Packs
77 |
78 | Basic info about all Energized Protection packs.
79 |
80 | | PACK NAME | DESCRIPTION | BEST USE DEVICE | UNIQUE ENTRIES | SIZE (AVG.) | SOURCE |
81 | |:---------:|:-----------:|:---------------:|:--------------:|:-----------:|:------:|
82 | | Basic | Basic list of whitelisted domains. | ANY | _basict_ | _basiccs_ | [/basic](https://github.com/EnergizedProtection/unblock/tree/master/basic) |
83 |
84 |
85 | ## Formats
86 |
87 | Different formats for various devices and extensions.
88 |
89 | ### Packs
90 |
91 | | PACKAGE | ENTRIES | ADBLOCK FILTER | DOMAINS | DNSMASQ| DNSMASQ IPV6 | UNBOUND | RPZ | pDNSf |
92 | |:-------:|:-------:|:--------------:|:-------:|:------:|:------------:|:-------:|:---:|:-----:|
93 | | Basic | **_basict_** | [FILTER](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/filter) (_basicabf_) | [LIST](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/domains.txt) (_basicds_) | [CONF](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/dnsmasq.conf) (_basiccs_) | [CONF IPV6](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/dnsmasq-ipv6.conf) (_basicc6s_) | [CONF](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/unbound.conf) (_basicus_) | [TXT](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/rpz.txt) (_basicrs_) | [TXT](https://github.com/EnergizedProtection/unblock/raw/master/basic/formats/pdnsf.txt) (_basicp_) |
94 |
95 |
96 | ## Sources
97 |
98 | We have been collecting these whitelisted domains from the user reports, online communities (Ex. Reddit, Telegram, XDA) and our personal usage since the very early days of our beginning. Thanks to all the users and supporters out there for helping us improve day by day. [You guys are awesome](http://iamawesome.com/)!
99 |
100 |
101 | ## Support
102 |
103 | Maintaining a quality blocking project takes a lot of time. Energized Protection is completely independently funded. We fight for our users. This does mean
104 | however that we also have to spend our owns to pay the bills. This is where you can help: by chipping in you can ensure more time is spent improving Energized rather than dealing with distractions.
105 |
106 | This donation is for our services, not for any pack, resource or any other mean. Your support will help us keep the project running and provide you quality service.
107 |
108 |
109 |
110 |
111 | ## Disclaimer
112 |
113 | Energized Protection unBlock Lists are basically `whitelist` files to unblock access of legit domains. If you don't know how it works, nothing to worry about! Because this wouldn't break you internet usage experience alongside your device!
114 |
115 |
116 | ## License
117 |
118 | The content of this project itself is licensed under the [MIT](https://github.com/EnergizedProtection/unblock/blob/master/LICENSE) license, and the underlying source code used to format and display that content is licensed under the [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) license.
119 |
120 | ---
121 |
122 |
123 |
Let's make an annoyance free better open internet, altogether!
124 |
A project by Ador with ❤
125 |
126 |
--------------------------------------------------------------------------------
/basic/build.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #-------------------------------------------------------------------------------#
3 | #-------------------------- I N F O & L I C E N S E --------------------------#
4 | #-------------------------------------------------------------------------------#
5 | # Energized Protection - ad.porn.malware blocking.
6 | # Packs Building Script
7 | # Git: http://go.energized.pro/github
8 | # WEB: https://energized.pro
9 | # @adroitadorkhan
10 | # License: CC BY-NC-SA 4.0
11 | #clear
12 | #-------------------------------------------------------------------------------#
13 | #--------------------------------- C O L O R S ---------------------------------#
14 | #-------------------------------------------------------------------------------#
15 | BL='\033[1;30m' # Black
16 | R='\033[1;31m' # Red
17 | G='\033[1;32m' # Green
18 | Y='\033[1;33m' # Yellow
19 | B='\033[1;34m' # Blue
20 | P='\033[1;35m' # Purple
21 | C='\033[1;36m' # Cyan
22 | W='\033[1;37m' # White
23 | N='\033[0m' # No Color
24 |
25 | #-------------------------------------------------------------------------------#
26 | #------------------------------ V A R I A B L E S ------------------------------#
27 | #-------------------------------------------------------------------------------#
28 | date=$(date +%d.%m.%Y)
29 | formats=formats
30 | domains=$formats/domains.txt
31 | filter=$formats/filter
32 | dnsMasq=$formats/dnsmasq.conf
33 | dnsMasqIPV6=$formats/dnsmasq-ipv6.conf
34 | unbound=$formats/unbound.conf
35 | rpz=$formats/rpz.txt
36 | pdnsf=$formats/pdnsf.txt
37 | file=list
38 | fileTemp=list.temp
39 | urls=urls
40 | footer=$formats/footer
41 | footerAB=$formats/footerAB
42 | footerRPZ=$formats/footerRPZ
43 | footerOL=$formats/footerOL
44 | temp=$formats/temp
45 | atemp=$formats/a.temp
46 | wtemp=$formats/w.temp
47 | divider='------------------------------------------------------------' 2>/dev/null
48 | #-------------------------------------------------------------------------------#
49 | #--------------------------- P A C K D E T A I L S ----------------------------#
50 | #-------------------------------------------------------------------------------#
51 | #----------------------------- FILL THE INFO HERE ------------------------------#
52 | #-------------------------------------------------------------------------------#
53 | pack="basic"
54 | dividerTiny="--------------------------------------------"
55 | headerLogo="# _____ _________ _____________ _______\n# / __/ |/ / __/ _ \/ ___/ _/_ / / __/ _ \ \n# / _// , / _// , _/ (_ // / / /_/ _// // /\n# /___/_/|_/___/_/|_|\___/___/ /___/___/____/\n#\n# P R O T E C T I O N\n# $dividerTiny\n# ad.porn.malware blocking.\n# ------\n# Merged collection of hosts from\n# reputable sources.\n# $dividerTiny\n# energized.pro\n# github.com/EnergizedProtection/block\n# $dividerTiny\n#\n# Let's make an annoyance free\n# better open internet. Altogether.\n# ------\n#"
56 | headerLogoAB="! _____ _________ _____________ _______\n! / __/ |/ / __/ _ \/ ___/ _/_ / / __/ _ \ \n! / _// , / _// , _/ (_ // / / /_/ _// // /\n! /___/_/|_/___/_/|_|\___/___/ /___/___/____/\n!\n! P R O T E C T I O N\n! $dividerTiny\n! ad.porn.malware blocking.\n! ------\n! Merged collection of hosts from\n! reputable sources.\n! $dividerTiny\n! energized.pro\n! github.com/EnergizedProtection/block\n! $dividerTiny\n!\n! Let's make an annoyance free\n! better open internet. Altogether.\n! ------\n!"
57 | headerLogoRPZ="; _____ _________ _____________ _______\n; / __/ |/ / __/ _ \/ ___/ _/_ / / __/ _ \ \n; / _// , / _// , _/ (_ // / / /_/ _// // /\n; /___/_/|_/___/_/|_|\___/___/ /___/___/____/\n;\n; P R O T E C T I O N\n; $dividerTiny\n; ad.porn.malware blocking.\n; ------\n; Merged collection of hosts from\n; reputable sources.\n; $dividerTiny\n; energized.pro\n; github.com/EnergizedProtection/block\n; $dividerTiny\n;\n; Let's make an annoyance free\n; better open internet. Altogether.\n; ------\n;"
58 | localHost="# $dividerTiny\n# L O C A L H O S T\n# $dividerTiny\n127.0.0.1 localhost\n127.0.0.1 localhost.localdomain\n127.0.0.1 local\n255.255.255.255 broadcasthost\n::1 localhost\n::1 ip6-localhost\n::1 ip6-loopback\nfe80::1%lo0 localhost\nff00::0 ip6-localnet\nff00::0 ip6-mcastprefix\nff02::1 ip6-allnodes\nff02::2 ip6-allrouters\nff02::3 ip6-allhosts\n0.0.0.0 0.0.0.0\n# $dividerTiny"
59 | localHostRPZ="; $dividerTiny\n; R P Z\n; $dividerTiny\n\$TTL 2h\n@ IN SOA localhost. root.localhost. (1 6h 1h 1w 2h)\n IN NS localhost.\n; $dividerTiny"
60 | f1="_any device: compatible with all devices, regardless of OS."
61 | f2="_unblockings: simply unblocks legit, common, cdn, api & safe-to-unblock domains."
62 | f3="_multiple formats: different variants for different devices & extensions."
63 | f4="_hassle free: apply once and never worry about getting blocked again!"
64 | f5="_support: user friendly chat group got your back!"
65 | f6="_clean: no extra abracadabra!"
66 | ador="@AdroitAdorKhan - Head Developer & Maintainer"
67 | avinash="@AvinashReddy3108 - Developer"
68 | badmojr="@badmojr - Maintainer"
69 | packName="Energized Basic Protection - Whitelist"
70 | packDesc="Basic list of whitelisted domains."
71 | buildVersion=$(date +%y.%m.%j)
72 | releaseVersion=$(date +%j)
73 | packCode="E84S1C-W"
74 | license="MIT, https://energized.pro/license"
75 | raw="https://github.com/EnergizedProtection/unblock/raw/master/$pack/formats"
76 | updateDate=$(date +"%a, %d %b %y %H:%M:%S")
77 | expiry="7 days (update frequency)"
78 | echo -n "# $dividerTiny\n# E N E R G I Z E D E N D S\n# $dividerTiny\n#\n# - - - - S T A Y E N E R G I Z E D - - - -" >> $footer
79 | echo -n "! $dividerTiny\n! E N E R G I Z E D E N D S\n! $dividerTiny\n!\n! - - - - S T A Y E N E R G I Z E D - - - -" >> $footerAB
80 | echo -n "; $dividerTiny\n; E N E R G I Z E D E N D S\n; $dividerTiny\n;\n; - - - - S T A Y E N E R G I Z E D - - - -" >> $footerRPZ
81 | echo -n "\n# $dividerTiny\n# E N E R G I Z E D E N D S\n# $dividerTiny\n#\n# - - - - S T A Y E N E R G I Z E D - - - -" >> $footerOL
82 | echo $W"[+] Enter Token: $TOKEN"$N
83 | read TOKEN
84 | #curl -s -o $file -L https://$TOKEN@raw.githubusercontent.com/AdroitAdorKhan/Energized-Protection-Core/master/corps
85 | curl -s -o $file -L -H "Authorization: token $TOKEN" https://raw.githubusercontent.com/AdroitAdorKhan/Energized-Protection-Core/master/corps
86 | clear
87 | #-------------------------------------------------------------------------------#
88 | #--------------------------- P R O C E S S P A C K ----------------------------#
89 | #-------------------------------------------------------------------------------#
90 | awk '$0=$0' $file > $domains
91 | awk '$0="@@||"$0"^"' $file > $filter
92 | awk '$0="server=/"$0"/1.1.1.1/"' $file > $dnsMasq
93 | awk '$0="server=/"$0"/2606:4700:4700::1111/"' $file > $dnsMasqIPV6
94 | awk '$0="local-zone: \""$0"\" transparent"' $file > $unbound
95 | awk '$0=$0" CNAME rpz-passthru."' $file > $rpz
96 | awk '$0="!"$0' $file > $pdnsf
97 | #-------------------------------------------------------------------------------#
98 | #--------------------------------- E C H O S -----------------------------------#
99 | #-------------------------------------------------------------------------------#
100 | # Read Total Domain Number
101 | totaldomains=$(awk '!/^#/ && !/^$/{c++}END{print c}' $file | awk '{ len=length($0); res=""; for (i=0;i<=len;i++) { res=substr($0,len-i+1,1) res; if (i > 0 && i < len && i % 3 == 0) { res = "," res } }; print res }')
102 | # Echo Pack, Domains and Size
103 | echo $Y"! _____ _________ _____________ _______\n! / __/ |/ / __/ _ \/ ___/ _/_ / / __/ _ \ \n! / _// , / _// , _/ (_ // / / /_/ _// // /\n! /___/_/|_/___/_/|_|\___/___/ /___/___/____/\n!\n! P R O T E C T I O N"$N
104 | echo $Y"! $dividerTiny"$N
105 | echo $Y"! B U I L D I N G P A C K S"$N
106 | echo $Y"! $dividerTiny"$N
107 | echo $G"! Pack: "$N$Y"$packName"$N
108 | echo $G"! Domains: "$N$W"$totaldomains"$N
109 | echo $G"! Version: "$N$W"$buildVersion"$N
110 | echo $Y"! $dividerTiny"$N
111 | #-------------------------------------------------------------------------------#
112 | #-------------------------- B U I L D F O R M A T S ---------------------------#
113 | #-------------------------------------------------------------------------------#
114 | # Clear Cache
115 | rm -f $temp $atemp
116 | echo $G"! Building "$N$Y"domain list"$N$G" Format"$N
117 | # Domain List Header
118 | echo "$headerLogo
119 | # $dividerTiny
120 | # P A C K D E T A I L S
121 | # $dividerTiny
122 | # Title: $packName
123 | # Description: $packDesc
124 | # Format: domain list
125 | # Version: $buildVersion
126 | # Release: $releaseVersion
127 | # Entries: $totaldomains
128 | # Pack Code: $packCode
129 | # License: $license
130 | # Updated: $updateDate
131 | # RAW: $raw/domains.txt
132 | # $dividerTiny
133 | #
134 | # $dividerTiny
135 | # F E A T U R E S
136 | # $dividerTiny
137 | # $f1\n# $f2\n# $f3\n# $f4\n# $f5\n# $f6
138 | # $dividerTiny
139 | #
140 | # $dividerTiny
141 | # T E A M B O L T Z - meet the team
142 | # $dividerTiny
143 | # $ador\n# $avinash\n# $badmojr
144 | # $dividerTiny
145 | #
146 | # $dividerTiny
147 | # E N E R G I Z E D B E G I N S
148 | # $dividerTiny" >> $temp
149 | # Build Domain List
150 | cat $temp $domains $footer > $atemp
151 | mv -f $atemp $domains
152 | #-------------------------------------------------------------------------------#
153 | # Clear Cache
154 | rm -f $temp $atemp
155 | echo $G"! Building "$N$Y"adblock filter"$N$G" Format"$N
156 | # Adblock Filter Header
157 | echo "$headerLogoAB
158 | ! $dividerTiny
159 | ! P A C K D E T A I L S
160 | ! $dividerTiny
161 | ! Title: $packName
162 | ! Description: $packDesc
163 | ! Format: adblock
164 | ! Version: $buildVersion
165 | ! Release: $releaseVersion
166 | ! Expires: $expiry
167 | ! Entries: $totaldomains
168 | ! Pack Code: $packCode
169 | ! License: $license
170 | ! Updated: $updateDate
171 | ! RAW: $raw/filter
172 | ! $dividerTiny
173 | !
174 | ! $dividerTiny
175 | ! F E A T U R E S
176 | ! $dividerTiny
177 | ! $f1\n! $f2\n! $f3\n! $f4\n! $f5\n! $f6
178 | ! $dividerTiny
179 | !
180 | ! $dividerTiny
181 | ! T E A M B O L T Z - meet the team
182 | ! $dividerTiny
183 | ! $ador\n! $avinash\n! $badmojr
184 | ! $dividerTiny
185 | !
186 | ! $dividerTiny
187 | ! E N E R G I Z E D B E G I N S
188 | ! $dividerTiny" >> $temp
189 | # Build Filter
190 | cat $temp $filter $footerAB > $atemp
191 | mv -f $atemp $filter
192 | #-------------------------------------------------------------------------------#
193 | # Clear Cache
194 | rm -f $temp $atemp
195 | echo $G"! Building "$N$Y"DNSMasq"$N$G" Format"$N
196 | # DNSMasq Header
197 | echo "$headerLogo
198 | # $dividerTiny
199 | # P A C K D E T A I L S
200 | # $dividerTiny
201 | # Title: $packName
202 | # Description: $packDesc
203 | # Format: dnsmasq
204 | # Version: $buildVersion
205 | # Release: $releaseVersion
206 | # Entries: $totaldomains
207 | # Pack Code: $packCode
208 | # License: $license
209 | # Updated: $updateDate
210 | # RAW: $raw/dnsmasq.conf
211 | # $dividerTiny
212 | #
213 | # $dividerTiny
214 | # F E A T U R E S
215 | # $dividerTiny
216 | # $f1\n# $f2\n# $f3\n# $f4\n# $f5\n# $f6
217 | # $dividerTiny
218 | #
219 | # $dividerTiny
220 | # T E A M B O L T Z - meet the team
221 | # $dividerTiny
222 | # $ador\n# $avinash\n# $badmojr
223 | # $dividerTiny
224 | #
225 | # $dividerTiny
226 | # E N E R G I Z E D B E G I N S
227 | # $dividerTiny" >> $temp
228 | # Build DNSMasq
229 | cat $temp $dnsMasq $footer > $atemp
230 | mv -f $atemp $dnsMasq
231 | #-------------------------------------------------------------------------------#
232 | # Clear Cache
233 | rm -f $temp $atemp
234 | echo $G"! Building "$N$Y"DNSMasq ipv6"$N$G" Format"$N
235 | # DNSMasq IPV6 Header
236 | echo "$headerLogo
237 | # $dividerTiny
238 | # P A C K D E T A I L S
239 | # $dividerTiny
240 | # Title: $packName
241 | # Description: $packDesc
242 | # Format: dnsmasq ipv6
243 | # Version: $buildVersion
244 | # Release: $releaseVersion
245 | # Entries: $totaldomains
246 | # Pack Code: $packCode
247 | # License: $license
248 | # Updated: $updateDate
249 | # RAW: $raw/dnsmasq-ipv6.conf
250 | # $dividerTiny
251 | #
252 | # $dividerTiny
253 | # F E A T U R E S
254 | # $dividerTiny
255 | # $f1\n# $f2\n# $f3\n# $f4\n# $f5\n# $f6
256 | # $dividerTiny
257 | #
258 | # $dividerTiny
259 | # T E A M B O L T Z - meet the team
260 | # $dividerTiny
261 | # $ador\n# $avinash\n# $badmojr
262 | # $dividerTiny
263 | #
264 | # $dividerTiny
265 | # E N E R G I Z E D B E G I N S
266 | # $dividerTiny" >> $temp
267 | # Build DNSMasq IPV6
268 | cat $temp $dnsMasqIPV6 $footer > $atemp
269 | mv -f $atemp $dnsMasqIPV6
270 | #-------------------------------------------------------------------------------#
271 | # Clear Cache
272 | rm -f $temp $atemp
273 | echo $G"! Building "$N$Y"unbound"$N$G" Format"$N
274 | # Unbound Header
275 | echo "$headerLogo
276 | # $dividerTiny
277 | # P A C K D E T A I L S
278 | # $dividerTiny
279 | # Title: $packName
280 | # Description: $packDesc
281 | # Format: unbound
282 | # Version: $buildVersion
283 | # Release: $releaseVersion
284 | # Entries: $totaldomains
285 | # Pack Code: $packCode
286 | # License: $license
287 | # Updated: $updateDate
288 | # RAW: $raw/unbound.conf
289 | # $dividerTiny
290 | #
291 | # $dividerTiny
292 | # F E A T U R E S
293 | # $dividerTiny
294 | # $f1\n# $f2\n# $f3\n# $f4\n# $f5\n# $f6
295 | # $dividerTiny
296 | #
297 | # $dividerTiny
298 | # T E A M B O L T Z - meet the team
299 | # $dividerTiny
300 | # $ador\n# $avinash\n# $badmojr
301 | # $dividerTiny
302 | #
303 | # $dividerTiny
304 | # E N E R G I Z E D B E G I N S
305 | # $dividerTiny" >> $temp
306 | # Build Unbound
307 | cat $temp $unbound $footer > $atemp
308 | mv -f $atemp $unbound
309 | #-------------------------------------------------------------------------------#
310 | # Clear Cache
311 | rm -f $temp $atemp
312 | echo $G"! Building "$N$Y"rpz"$N$G" Format"$N
313 | # RPZ Header
314 | echo "$headerLogoRPZ
315 | ; $dividerTiny
316 | ; P A C K D E T A I L S
317 | ; $dividerTiny
318 | ; Title: $packName
319 | ; Description: $packDesc
320 | ; Format: rpz
321 | ; Version: $buildVersion
322 | ; Release: $releaseVersion
323 | ; Entries: $totaldomains
324 | ; Pack Code: $packCode
325 | ; License: $license
326 | ; Updated: $updateDate
327 | ; RAW: $raw/rpz.txt
328 | ; $dividerTiny
329 | ;
330 | $localHostRPZ
331 | ;
332 | ; $dividerTiny
333 | ; F E A T U R E S
334 | ; $dividerTiny
335 | ; $f1\n; $f2\n; $f3\n; $f4\n; $f5\n; $f6
336 | ; $dividerTiny
337 | ;
338 | ; $dividerTiny
339 | ; T E A M B O L T Z - meet the team
340 | ; $dividerTiny
341 | ; $ador\n; $avinash\n; $badmojr
342 | ; $dividerTiny
343 | ;
344 | ; $dividerTiny
345 | ; E N E R G I Z E D B E G I N S
346 | ; $dividerTiny" >> $temp
347 | # Build RPZ
348 | cat $temp $rpz $footerRPZ > $atemp
349 | mv -f $atemp $rpz
350 | #-------------------------------------------------------------------------------#
351 | # Clear Cache
352 | rm -f $temp $atemp
353 | echo $G"! Building "$N$Y"one-line"$N$G" Format"$N
354 | # One Line Header
355 | echo "$headerLogo
356 | # $dividerTiny
357 | # P A C K D E T A I L S
358 | # $dividerTiny
359 | # Title: $packName
360 | # Description: $packDesc
361 | # Format: personalDNSfilter
362 | # Version: $buildVersion
363 | # Release: $releaseVersion
364 | # Entries: $totaldomains
365 | # Pack Code: $packCode
366 | # License: $license
367 | # Updated: $updateDate
368 | # RAW: $raw/pdnsf.txt
369 | # $dividerTiny
370 | #
371 | # $dividerTiny
372 | # F E A T U R E S
373 | # $dividerTiny
374 | # $f1\n# $f2\n# $f3\n# $f4\n# $f5\n# $f6
375 | # $dividerTiny
376 | #
377 | # $dividerTiny
378 | # T E A M B O L T Z - meet the team
379 | # $dividerTiny
380 | # $ador\n# $avinash\n# $badmojr
381 | # $dividerTiny
382 | #
383 | # $dividerTiny
384 | # E N E R G I Z E D B E G I N S
385 | # $dividerTiny" >> $temp
386 | # Build pDNSf
387 | cat $temp $pdnsf $footerOL > $atemp
388 | mv -f $atemp $pdnsf
389 | #-------------------------------------------------------------------------------#
390 | # Complete
391 | echo $Y"! $dividerTiny"$N
392 | echo $G"! DONE BUILDING PACK & FORMATS."$N
393 | echo $Y"! $dividerTiny"$N
394 |
395 | # Remove Stales
396 | rm -f "$temp" "$atemp" "$file" "$whitelist" "$footer" "$footerAB" "$footerRPZ" "$footerOL"
397 |
398 | #-------------------------------------------------------------------------------#
399 | #---------------------------------- D O N E -----------------------------------#
400 | #-------------------------------------------------------------------------------#
--------------------------------------------------------------------------------