firstPRMergeComment: >
Congratulations on merging your first pull request here! 🎉🎉🎉 You are now in our [list of contributors](https://github.com/StevenBlack/hosts/graphs/contributors). Welcome!
-# It is recommend to include as many gifs and emojis as possible!
\ No newline at end of file
+# It is recommend to include as many gifs and emojis as possible!
with:
persist-credentials: false
- - name: 'Dependency Review'
+ - name: Dependency Review
uses: actions/dependency-review-action@v4
{
- "name": "Mitchell Krog's - Badd Boyz Hosts",
- "description": "Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers",
- "homeurl": "https://github.com/mitchellkrogza/Badd-Boyz-Hosts",
- "frequency": "weekly",
- "issues": "https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues",
- "url": "https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts",
- "license": "MIT"
-}
\ No newline at end of file
+ "name": "Mitchell Krog's - Badd Boyz Hosts",
+ "description": "Sketchy domains and Bad Referrers from my Nginx and Apache Bad Bot and Spam Referrer Blockers",
+ "homeurl": "https://github.com/mitchellkrogza/Badd-Boyz-Hosts",
+ "frequency": "weekly",
+ "issues": "https://github.com/mitchellkrogza/Badd-Boyz-Hosts/issues",
+ "url": "https://raw.githubusercontent.com/mitchellkrogza/Badd-Boyz-Hosts/master/hosts",
+ "license": "MIT"
+}
{
- "name": "KADhosts",
- "description": "Fraud/adware/scam websites.",
- "homeurl": "https://kadantiscam.netlify.app/",
- "frequency": "frequently",
- "issues": "https://github.com/PolishFiltersTeam/KADhosts/issues",
- "url": "https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt",
- "license": "CC BY-SA 4.0"
+ "name": "KADhosts",
+ "description": "Fraud/adware/scam websites.",
+ "homeurl": "https://kadantiscam.netlify.app/",
+ "frequency": "frequently",
+ "issues": "https://github.com/PolishFiltersTeam/KADhosts/issues",
+ "url": "https://raw.githubusercontent.com/PolishFiltersTeam/KADhosts/master/KADhosts.txt",
+ "license": "CC BY-SA 4.0"
}
{
- "name": "MetaMask eth-phishing-detect",
- "description": "Phishing domains targeting Ethereum users.",
- "homeurl": "https://github.com/MetaMask/eth-phishing-detect",
- "frequency": "frequent",
- "issues": "https://github.com/MetaMask/eth-phishing-detect/issues",
- "url": "https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt",
- "license": "DON'T BE A DICK PUBLIC LICENSE"
+ "name": "MetaMask eth-phishing-detect",
+ "description": "Phishing domains targeting Ethereum users.",
+ "homeurl": "https://github.com/MetaMask/eth-phishing-detect",
+ "frequency": "frequent",
+ "issues": "https://github.com/MetaMask/eth-phishing-detect/issues",
+ "url": "https://raw.githubusercontent.com/MetaMask/eth-phishing-detect/master/src/hosts.txt",
+ "license": "DON'T BE A DICK PUBLIC LICENSE"
}
{
- "name": "Steven Black's ad-hoc list",
- "description": "Additional sketch domains as I come across them.",
- "homeurl": "https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts",
- "frequency": "occasionally",
- "issues": "https://github.com/StevenBlack/hosts/issues",
- "url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts",
- "license": "MIT"
+ "name": "Steven Black's ad-hoc list",
+ "description": "Additional sketch domains as I come across them.",
+ "homeurl": "https://github.com/StevenBlack/hosts/blob/master/data/StevenBlack/hosts",
+ "frequency": "occasionally",
+ "issues": "https://github.com/StevenBlack/hosts/issues",
+ "url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/data/StevenBlack/hosts",
+ "license": "MIT"
}
{
- "name": "URLHaus",
- "description": "A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.",
- "homeurl": "https://urlhaus.abuse.ch/",
- "frequency": "weekly",
- "issues": "mailto:contactme@abuse.ch",
- "url": "https://urlhaus.abuse.ch/downloads/hostfile/",
- "license": "CC0"
+ "name": "URLHaus",
+ "description": "A project from [abuse.ch](https://abuse.ch/) with the goal of sharing malicious URLs.",
+ "homeurl": "https://urlhaus.abuse.ch/",
+ "frequency": "weekly",
+ "issues": "mailto:contactme@abuse.ch",
+ "url": "https://urlhaus.abuse.ch/downloads/hostfile/",
+ "license": "CC0"
}
{
- "name": "UncheckyAds",
- "description": "Windows installers ads sources sites based on https://unchecky.com/ content.",
- "homeurl": "https://github.com/FadeMind/hosts.extras",
- "frequency": "occasionally",
- "issues": "https://github.com/FadeMind/hosts.extras/issues",
- "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts",
- "license": "MIT"
+ "name": "UncheckyAds",
+ "description": "Windows installers ads sources sites based on https://unchecky.com/ content.",
+ "homeurl": "https://github.com/FadeMind/hosts.extras",
+ "frequency": "occasionally",
+ "issues": "https://github.com/FadeMind/hosts.extras/issues",
+ "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/UncheckyAds/hosts",
+ "license": "MIT"
}
{
- "name": "AdAway",
- "description": "AdAway is an open source ad blocker for Android using the hosts file.",
- "homeurl": "https://adaway.org/",
- "frequency": "frequently",
- "issues": "https://github.com/AdAway/adaway.github.io/issues",
- "url": "https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt",
- "license": "CC BY 3.0",
- "pause": true
+ "name": "AdAway",
+ "description": "AdAway is an open source ad blocker for Android using the hosts file.",
+ "homeurl": "https://adaway.org/",
+ "frequency": "frequently",
+ "issues": "https://github.com/AdAway/adaway.github.io/issues",
+ "url": "https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt",
+ "license": "CC BY 3.0",
+ "pause": true
}
{
- "name": "add.2o7Net",
- "description": "2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
- "homeurl": "https://github.com/FadeMind/hosts.extras",
- "frequency": "occasionally",
- "issues": "https://github.com/FadeMind/hosts.extras/issues",
- "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts",
- "license": "MIT"
+ "name": "add.2o7Net",
+ "description": "2o7Net tracking sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
+ "homeurl": "https://github.com/FadeMind/hosts.extras",
+ "frequency": "occasionally",
+ "issues": "https://github.com/FadeMind/hosts.extras/issues",
+ "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.2o7Net/hosts",
+ "license": "MIT"
}
{
- "name": "add.Dead",
- "description": "Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
- "homeurl": "https://github.com/FadeMind/hosts.extras",
- "frequency": "occasionally",
- "issues": "https://github.com/FadeMind/hosts.extras/issues",
- "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts",
- "license": "MIT"
+ "name": "add.Dead",
+ "description": "Dead sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
+ "homeurl": "https://github.com/FadeMind/hosts.extras",
+ "frequency": "occasionally",
+ "issues": "https://github.com/FadeMind/hosts.extras/issues",
+ "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Dead/hosts",
+ "license": "MIT"
}
{
- "name": "add.Risk",
- "description": "Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
- "homeurl": "https://github.com/FadeMind/hosts.extras",
- "frequency": "occasionally",
- "issues": "https://github.com/FadeMind/hosts.extras/issues",
- "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts",
- "license": "MIT"
+ "name": "add.Risk",
+ "description": "Risk content sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
+ "homeurl": "https://github.com/FadeMind/hosts.extras",
+ "frequency": "occasionally",
+ "issues": "https://github.com/FadeMind/hosts.extras/issues",
+ "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Risk/hosts",
+ "license": "MIT"
}
{
- "name": "add.Spam",
- "description": "Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
- "homeurl": "https://github.com/FadeMind/hosts.extras",
- "frequency": "occasionally",
- "issues": "https://github.com/FadeMind/hosts.extras/issues",
- "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts",
- "license": "MIT"
+ "name": "add.Spam",
+ "description": "Spam sites based on [hostsfile.org](https://www.hostsfile.org/hosts.html) content.",
+ "homeurl": "https://github.com/FadeMind/hosts.extras",
+ "frequency": "occasionally",
+ "issues": "https://github.com/FadeMind/hosts.extras/issues",
+ "url": "https://raw.githubusercontent.com/FadeMind/hosts.extras/master/add.Spam/hosts",
+ "license": "MIT"
}
{
- "name": "hostsVN",
- "description": "Hosts block ads of Vietnamese",
- "homeurl": "https://github.com/bigdargon/hostsVN",
- "frequency": "occasionally",
- "issues": "https://github.com/bigdargon/hostsVN/issues",
- "url": "https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN",
- "license": "MIT"
+ "name": "hostsVN",
+ "description": "Hosts block ads of Vietnamese",
+ "homeurl": "https://github.com/bigdargon/hostsVN",
+ "frequency": "occasionally",
+ "issues": "https://github.com/bigdargon/hostsVN/issues",
+ "url": "https://raw.githubusercontent.com/bigdargon/hostsVN/master/option/hosts-VN",
+ "license": "MIT"
}
{
- "name": "minecraft-hosts",
- "description": "Minecraft related tracker hosts",
- "homeurl": "https://github.com/jamiemansfield/minecraft-hosts",
- "frequency": "occasionally",
- "issues": "https://github.com/jamiemansfield/minecraft-hosts/issues",
- "url": "https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt",
- "license": "CC0-1.0"
+ "name": "minecraft-hosts",
+ "description": "Minecraft related tracker hosts",
+ "homeurl": "https://github.com/jamiemansfield/minecraft-hosts",
+ "frequency": "occasionally",
+ "issues": "https://github.com/jamiemansfield/minecraft-hosts/issues",
+ "url": "https://raw.githubusercontent.com/jamiemansfield/minecraft-hosts/master/lists/tracking.txt",
+ "license": "CC0-1.0"
}
{
- "name": "MVPS hosts file",
- "description": "The purpose of this site is to provide the user with a high quality custom HOSTS file.",
- "homeurl": "https://winhelp2002.mvps.org/",
- "frequency": "monthly",
- "issues": "mailto:winhelp2002@gmail.com",
- "url": "https://winhelp2002.mvps.org/hosts.txt",
- "license": "CC BY-NC-SA 4.0",
- "pause": true
+ "name": "MVPS hosts file",
+ "description": "The purpose of this site is to provide the user with a high quality custom HOSTS file.",
+ "homeurl": "https://winhelp2002.mvps.org/",
+ "frequency": "monthly",
+ "issues": "mailto:winhelp2002@gmail.com",
+ "url": "https://winhelp2002.mvps.org/hosts.txt",
+ "license": "CC BY-NC-SA 4.0",
+ "pause": true
}
{
- "name": "shady-hosts",
- "description": "Analytics, ad, and activity monitoring hosts",
- "homeurl": "https://github.com/shreyasminocha/shady-hosts",
- "frequency": "occasionally",
- "issues": "https://github.com/shreyasminocha/shady-hosts/issues",
- "url": "https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts",
- "license": "CC0-1.0"
+ "name": "shady-hosts",
+ "description": "Analytics, ad, and activity monitoring hosts",
+ "homeurl": "https://github.com/shreyasminocha/shady-hosts",
+ "frequency": "occasionally",
+ "issues": "https://github.com/shreyasminocha/shady-hosts/issues",
+ "url": "https://raw.githubusercontent.com/shreyasminocha/shady-hosts/main/hosts",
+ "license": "CC0-1.0"
}
{
- "name": "Dan Pollock – [someonewhocares](https://someonewhocares.org/)",
- "description": "How to make the internet not suck (as much).",
- "homeurl": "https://someonewhocares.org/hosts/",
- "frequency": "frequently",
- "issues": "mailto:hosts@someonewhocares.org",
- "url": "https://someonewhocares.org/hosts/zero/hosts",
- "license": "non-commercial with attribution"
+ "name": "Dan Pollock – [someonewhocares](https://someonewhocares.org/)",
+ "description": "How to make the internet not suck (as much).",
+ "homeurl": "https://someonewhocares.org/hosts/",
+ "frequency": "frequently",
+ "issues": "mailto:hosts@someonewhocares.org",
+ "url": "https://someonewhocares.org/hosts/zero/hosts",
+ "license": "non-commercial with attribution"
}
{
- "name": "Tiuxo hostlist - ads",
- "description": "Categorized hosts files for DNS based content blocking",
- "homeurl": "https://github.com/tiuxo/hosts",
- "frequency": "occasional",
- "issues": "https://github.com/tiuxo/hosts/issues",
- "url": "https://raw.githubusercontent.com/tiuxo/hosts/master/ads",
- "license": "CC BY 4.0"
+ "name": "Tiuxo hostlist - ads",
+ "description": "Categorized hosts files for DNS based content blocking",
+ "homeurl": "https://github.com/tiuxo/hosts",
+ "frequency": "occasional",
+ "issues": "https://github.com/tiuxo/hosts/issues",
+ "url": "https://raw.githubusercontent.com/tiuxo/hosts/master/ads",
+ "license": "CC BY 4.0"
}
{
- "name": "yoyo.org",
- "description": "Blocking with ad server and tracking server hostnames.",
- "homeurl": "https://pgl.yoyo.org/adservers/",
- "frequency": "frequently",
- "issues": "mailto:pgl@yoyo.org",
- "url": "https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0",
- "pause": true
+ "name": "yoyo.org",
+ "description": "Blocking with ad server and tracking server hostnames.",
+ "homeurl": "https://pgl.yoyo.org/adservers/",
+ "frequency": "frequently",
+ "issues": "mailto:pgl@yoyo.org",
+ "url": "https://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&mimetype=plaintext&useip=0.0.0.0",
+ "pause": true
}
:: BatchGotAdmin
:: Check for permissions
if "%PROCESSOR_ARCHITECTURE%" equ "amd64" (
- >nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
+ >nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
) else (
- >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
+ >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
)
:: If the error flag set, we do not have admin rights.
if %ERRORLEVEL% neq 0 (
- echo Requesting administrative privileges...
- goto UACPrompt
+ echo Requesting administrative privileges...
+ goto UACPrompt
) else (
- goto gotAdmin
+ goto gotAdmin
)
:UACPrompt
{
- "name": "Fake News",
- "description": "An in-progress collection of fake news outlets.",
- "homeurl": "https://github.com/marktron/fakenews",
- "frequency": "occasional",
- "issues": "https://github.com/marktron/fakenews/issues",
- "url": "https://raw.githubusercontent.com/marktron/fakenews/master/fakenews",
- "license": "MIT"
+ "name": "Fake News",
+ "description": "An in-progress collection of fake news outlets.",
+ "homeurl": "https://github.com/marktron/fakenews",
+ "frequency": "occasional",
+ "issues": "https://github.com/marktron/fakenews/issues",
+ "url": "https://raw.githubusercontent.com/marktron/fakenews/master/fakenews",
+ "license": "MIT"
}
{
- "name": "BigDargon's gambling domain blocking hosts file",
- "description": "Extension from the project hostsVN",
- "homeurl": "https://github.com/bigdargon/hostsVN/",
- "frequency": "occasional",
- "issues": "https://github.com/bigdargon/hostsVN/issues",
- "url": "https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN",
- "license": "MIT"
+ "name": "BigDargon's gambling domain blocking hosts file",
+ "description": "Extension from the project hostsVN",
+ "homeurl": "https://github.com/bigdargon/hostsVN/",
+ "frequency": "occasional",
+ "issues": "https://github.com/bigdargon/hostsVN/issues",
+ "url": "https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/gambling/hosts-VN",
+ "license": "MIT"
}
{
- "name": "Sinfonietta's gambling blocking hosts file",
- "description": "A collection of category-specific host files.",
- "homeurl": "https://github.com/Sinfonietta/hostfiles",
- "frequency": "occasional",
- "issues": "https://github.com/Sinfonietta/hostfiles/issues",
- "url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts",
- "license": "MIT"
+ "name": "Sinfonietta's gambling blocking hosts file",
+ "description": "A collection of category-specific host files.",
+ "homeurl": "https://github.com/Sinfonietta/hostfiles",
+ "frequency": "occasional",
+ "issues": "https://github.com/Sinfonietta/hostfiles/issues",
+ "url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/gambling-hosts",
+ "license": "MIT"
}
{
- "name": "BigDargon's adult domain blocking hosts file",
- "description": "Extension from the project hostsVN",
- "homeurl": "https://github.com/bigdargon/hostsVN/",
- "frequency": "occasional",
- "issues": "https://github.com/bigdargon/hostsVN/issues",
- "url": "https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN",
- "license": "MIT"
+ "name": "BigDargon's adult domain blocking hosts file",
+ "description": "Extension from the project hostsVN",
+ "homeurl": "https://github.com/bigdargon/hostsVN/",
+ "frequency": "occasional",
+ "issues": "https://github.com/bigdargon/hostsVN/issues",
+ "url": "https://raw.githubusercontent.com/bigdargon/hostsVN/master/extensions/adult/hosts-VN",
+ "license": "MIT"
}
-{\r
- "name": "brijrajparmar27 - pornography",\r
- "description": "hosts files for DNS based content blocking",\r
- "homeurl": "https://github.com/brijrajparmar27/host-sources",\r
- "frequency": "occasional",\r
- "issues": "https://github.com/brijrajparmar27/host-sources/issues",\r
- "url": "https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts",\r
- "license": "CC BY 4.0"\r
-}
\ No newline at end of file
+{
+ "name": "brijrajparmar27 - pornography",
+ "description": "hosts files for DNS based content blocking",
+ "homeurl": "https://github.com/brijrajparmar27/host-sources",
+ "frequency": "occasional",
+ "issues": "https://github.com/brijrajparmar27/host-sources/issues",
+ "url": "https://raw.githubusercontent.com/brijrajparmar27/host-sources/master/Porn/hosts",
+ "license": "CC BY 4.0"
+}
{
- "name": "pornhosts -- a consolidated anti porn hosts file",
- "description": "This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network.",
- "homeurl": "https://github.com/Clefspeare13/pornhosts",
- "frequency": "occasional",
- "issues": "https://github.com/Clefspeare13/pornhosts/issues",
- "url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts",
- "url.old": "https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/download_here/0.0.0.0/hosts",
- "license": "MIT"
-}
\ No newline at end of file
+ "name": "pornhosts -- a consolidated anti porn hosts file",
+ "description": "This is an endeavour to find all porn domains and compile them into a single hosts to allow for easy blocking of porn on your local machine or on a network.",
+ "homeurl": "https://github.com/Clefspeare13/pornhosts",
+ "frequency": "occasional",
+ "issues": "https://github.com/Clefspeare13/pornhosts/issues",
+ "url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/extensions/porn/clefspeare13/hosts",
+ "url.old": "https://raw.githubusercontent.com/Clefspeare13/pornhosts/master/download_here/0.0.0.0/hosts",
+ "license": "MIT"
+}
{
- "name": "Sinfonietta's snuff-site blocking hosts file",
- "description": "A collection of category-specific host files.",
- "homeurl": "https://github.com/Sinfonietta/hostfiles",
- "frequency": "occasional",
- "issues": "https://github.com/Sinfonietta/hostfiles/issues",
- "url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts",
- "license": "MIT"
+ "name": "Sinfonietta's snuff-site blocking hosts file",
+ "description": "A collection of category-specific host files.",
+ "homeurl": "https://github.com/Sinfonietta/hostfiles",
+ "frequency": "occasional",
+ "issues": "https://github.com/Sinfonietta/hostfiles/issues",
+ "url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/snuff-hosts",
+ "license": "MIT"
}
{
- "name": "Sinfonietta's porn blocking hosts file",
- "description": "A collection of category-specific host files.",
- "homeurl": "https://github.com/Sinfonietta/hostfiles",
- "frequency": "occasional",
- "issues": "https://github.com/Sinfonietta/hostfiles/issues",
- "url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts",
- "license": "MIT"
+ "name": "Sinfonietta's porn blocking hosts file",
+ "description": "A collection of category-specific host files.",
+ "homeurl": "https://github.com/Sinfonietta/hostfiles",
+ "frequency": "occasional",
+ "issues": "https://github.com/Sinfonietta/hostfiles/issues",
+ "url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/pornography-hosts",
+ "license": "MIT"
}
{
- "name": "Tiuxo hostlist - pornography",
- "description": "Categorized hosts files for DNS based content blocking",
- "homeurl": "https://github.com/tiuxo/hosts",
- "frequency": "occasional",
- "issues": "https://github.com/tiuxo/hosts/issues",
- "url": "https://raw.githubusercontent.com/tiuxo/hosts/master/porn",
- "license": "CC BY 4.0"
+ "name": "Tiuxo hostlist - pornography",
+ "description": "Categorized hosts files for DNS based content blocking",
+ "homeurl": "https://github.com/tiuxo/hosts",
+ "frequency": "occasional",
+ "issues": "https://github.com/tiuxo/hosts/issues",
+ "url": "https://raw.githubusercontent.com/tiuxo/hosts/master/porn",
+ "license": "CC BY 4.0"
}
{
- "name": "Sinfonietta's social media blocking hosts file",
- "description": "A collection of category-specific host files.",
- "homeurl": "https://github.com/Sinfonietta/hostfiles",
- "frequency": "occasional",
- "issues": "https://github.com/Sinfonietta/hostfiles/issues",
- "url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts",
- "license": "MIT"
+ "name": "Sinfonietta's social media blocking hosts file",
+ "description": "A collection of category-specific host files.",
+ "homeurl": "https://github.com/Sinfonietta/hostfiles",
+ "frequency": "occasional",
+ "issues": "https://github.com/Sinfonietta/hostfiles/issues",
+ "url": "https://raw.githubusercontent.com/Sinfonietta/hostfiles/master/social-hosts",
+ "license": "MIT"
}
{
- "name": "Tiuxo hostlist - social",
- "description": "Categorized hosts files for DNS based content blocking",
- "homeurl": "https://github.com/tiuxo/hosts",
- "frequency": "occasional",
- "issues": "https://github.com/tiuxo/hosts/issues",
- "url": "https://raw.githubusercontent.com/tiuxo/hosts/master/social",
- "license": "CC BY 4.0"
+ "name": "Tiuxo hostlist - social",
+ "description": "Categorized hosts files for DNS based content blocking",
+ "homeurl": "https://github.com/tiuxo/hosts",
+ "frequency": "occasional",
+ "issues": "https://github.com/tiuxo/hosts/issues",
+ "url": "https://raw.githubusercontent.com/tiuxo/hosts/master/social",
+ "license": "CC BY 4.0"
}
:: BatchGotAdmin
:: Check for permissions
if "%PROCESSOR_ARCHITECTURE%" equ "amd64" (
- >nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
+ >nul 2>&1 "%SYSTEMROOT%\SysWOW64\cacls.exe" "%SYSTEMROOT%\SysWOW64\config\system"
) else (
- >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
+ >nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"
)
:: If the error flag set, we do not have admin rights.
if %ERRORLEVEL% neq 0 (
- echo Requesting administrative privileges...
- goto UACPrompt
+ echo Requesting administrative privileges...
+ goto UACPrompt
) else (
- goto gotAdmin
+ goto gotAdmin
)
:UACPrompt
:BackupHosts
:: Backup the default hosts file
if not exist "%WINDIR%\System32\drivers\etc\hosts.skel" (
- copy /v "%WINDIR%\System32\drivers\etc\hosts" "%WINDIR%\System32\drivers\etc\hosts.skel"
+ copy /v "%WINDIR%\System32\drivers\etc\hosts" "%WINDIR%\System32\drivers\etc\hosts.skel"
)
:UpdateHosts