From 11f8e2004281d922ab83d1d8f04f8b35206811eb Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 3 Apr 2024 08:36:55 +0300 Subject: [PATCH] Minor whitespace/line endings consistency changes --- .github/config.yml | 2 +- .github/workflows/depsreview.yaml | 2 +- data/Badd-Boyz-Hosts/update.json | 16 ++++++++-------- data/KADhosts/update.json | 14 +++++++------- data/MetaMask/update.json | 14 +++++++------- data/StevenBlack/update.json | 14 +++++++------- data/URLHaus/update.json | 14 +++++++------- data/UncheckyAds/update.json | 14 +++++++------- data/adaway.org/update.json | 16 ++++++++-------- data/add.2o7Net/update.json | 14 +++++++------- data/add.Dead/update.json | 14 +++++++------- data/add.Risk/update.json | 14 +++++++------- data/add.Spam/update.json | 14 +++++++------- data/hostsVN/update.json | 14 +++++++------- data/minecraft-hosts/update.json | 14 +++++++------- data/mvps.org/update.json | 16 ++++++++-------- data/shady-hosts/update.json | 14 +++++++------- data/someonewhocares.org/update.json | 14 +++++++------- data/tiuxo/update.json | 14 +++++++------- data/yoyo.org/update.json | 14 +++++++------- disable-dnscache-service-win.bat | 10 +++++----- extensions/fakenews/update.json | 14 +++++++------- extensions/gambling/bigdargon/update.json | 14 +++++++------- extensions/gambling/sinfonietta/update.json | 14 +++++++------- extensions/porn/bigdargon/update.json | 14 +++++++------- extensions/porn/brijrajparmar27/update.json | 18 +++++++++--------- extensions/porn/clefspeare13/update.json | 18 +++++++++--------- extensions/porn/sinfonietta-snuff/update.json | 14 +++++++------- extensions/porn/sinfonietta/update.json | 14 +++++++------- extensions/porn/tiuxo/update.json | 14 +++++++------- extensions/social/sinfonietta/update.json | 14 +++++++------- extensions/social/tiuxo/update.json | 14 +++++++------- updateHostsWindows.bat | 12 ++++++------ 33 files changed, 223 insertions(+), 223 deletions(-) diff --git a/.github/config.yml b/.github/config.yml index 2f27334db..2a4cd1e53 100644 --- a/.github/config.yml +++ b/.github/config.yml @@ -18,4 +18,4 @@ newPRWelcomeComment: > 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! diff --git a/.github/workflows/depsreview.yaml b/.github/workflows/depsreview.yaml index d37149caf..59d853ee6 100644 --- a/.github/workflows/depsreview.yaml +++ b/.github/workflows/depsreview.yaml @@ -13,5 +13,5 @@ jobs: with: persist-credentials: false - - name: 'Dependency Review' + - name: Dependency Review uses: actions/dependency-review-action@v4 diff --git a/data/Badd-Boyz-Hosts/update.json b/data/Badd-Boyz-Hosts/update.json index c289b13e6..593dfee85 100644 --- a/data/Badd-Boyz-Hosts/update.json +++ b/data/Badd-Boyz-Hosts/update.json @@ -1,9 +1,9 @@ { - "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" +} diff --git a/data/KADhosts/update.json b/data/KADhosts/update.json index e73d64915..7f9941462 100644 --- a/data/KADhosts/update.json +++ b/data/KADhosts/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/MetaMask/update.json b/data/MetaMask/update.json index 187504296..1d09571c3 100644 --- a/data/MetaMask/update.json +++ b/data/MetaMask/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/StevenBlack/update.json b/data/StevenBlack/update.json index 4048b79ce..c87e1e6a9 100644 --- a/data/StevenBlack/update.json +++ b/data/StevenBlack/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/URLHaus/update.json b/data/URLHaus/update.json index af374afc4..dad8f5e14 100644 --- a/data/URLHaus/update.json +++ b/data/URLHaus/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/UncheckyAds/update.json b/data/UncheckyAds/update.json index b8805e040..8fdaa5461 100644 --- a/data/UncheckyAds/update.json +++ b/data/UncheckyAds/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/adaway.org/update.json b/data/adaway.org/update.json index 9d7fb9b8a..2f032d6ed 100644 --- a/data/adaway.org/update.json +++ b/data/adaway.org/update.json @@ -1,10 +1,10 @@ { - "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 } diff --git a/data/add.2o7Net/update.json b/data/add.2o7Net/update.json index 87cb81936..ea77c4a32 100644 --- a/data/add.2o7Net/update.json +++ b/data/add.2o7Net/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/add.Dead/update.json b/data/add.Dead/update.json index 5e3148fa3..42c08b60b 100644 --- a/data/add.Dead/update.json +++ b/data/add.Dead/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/add.Risk/update.json b/data/add.Risk/update.json index 2d623a252..596a2a809 100644 --- a/data/add.Risk/update.json +++ b/data/add.Risk/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/add.Spam/update.json b/data/add.Spam/update.json index a120da259..10a8502c2 100644 --- a/data/add.Spam/update.json +++ b/data/add.Spam/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/hostsVN/update.json b/data/hostsVN/update.json index b08271bc4..8690f1c43 100644 --- a/data/hostsVN/update.json +++ b/data/hostsVN/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/minecraft-hosts/update.json b/data/minecraft-hosts/update.json index e4c9733af..de4fff947 100644 --- a/data/minecraft-hosts/update.json +++ b/data/minecraft-hosts/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/mvps.org/update.json b/data/mvps.org/update.json index b8ee1b204..754cf1869 100644 --- a/data/mvps.org/update.json +++ b/data/mvps.org/update.json @@ -1,10 +1,10 @@ { - "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 } diff --git a/data/shady-hosts/update.json b/data/shady-hosts/update.json index 8b6788b00..64d00626c 100644 --- a/data/shady-hosts/update.json +++ b/data/shady-hosts/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/someonewhocares.org/update.json b/data/someonewhocares.org/update.json index 44746a6de..8a12b43af 100644 --- a/data/someonewhocares.org/update.json +++ b/data/someonewhocares.org/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/tiuxo/update.json b/data/tiuxo/update.json index 837e6448b..8d28f5fdf 100644 --- a/data/tiuxo/update.json +++ b/data/tiuxo/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/data/yoyo.org/update.json b/data/yoyo.org/update.json index 3396a346a..1a175c174 100644 --- a/data/yoyo.org/update.json +++ b/data/yoyo.org/update.json @@ -1,9 +1,9 @@ { - "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 } diff --git a/disable-dnscache-service-win.bat b/disable-dnscache-service-win.bat index 2aaef6ddd..85f42bba4 100644 --- a/disable-dnscache-service-win.bat +++ b/disable-dnscache-service-win.bat @@ -6,17 +6,17 @@ title Disable DNS Cache Service :: 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 diff --git a/extensions/fakenews/update.json b/extensions/fakenews/update.json index 66861f7b7..a20baf032 100644 --- a/extensions/fakenews/update.json +++ b/extensions/fakenews/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/extensions/gambling/bigdargon/update.json b/extensions/gambling/bigdargon/update.json index 27d046c16..3854b68dd 100644 --- a/extensions/gambling/bigdargon/update.json +++ b/extensions/gambling/bigdargon/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/extensions/gambling/sinfonietta/update.json b/extensions/gambling/sinfonietta/update.json index d43e44635..db05fecaf 100644 --- a/extensions/gambling/sinfonietta/update.json +++ b/extensions/gambling/sinfonietta/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/extensions/porn/bigdargon/update.json b/extensions/porn/bigdargon/update.json index 21ea14694..89ec8731e 100644 --- a/extensions/porn/bigdargon/update.json +++ b/extensions/porn/bigdargon/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/extensions/porn/brijrajparmar27/update.json b/extensions/porn/brijrajparmar27/update.json index 6e4bc344a..3ec4b392b 100644 --- a/extensions/porn/brijrajparmar27/update.json +++ b/extensions/porn/brijrajparmar27/update.json @@ -1,9 +1,9 @@ -{ - "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" -} \ 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" +} diff --git a/extensions/porn/clefspeare13/update.json b/extensions/porn/clefspeare13/update.json index 7cc09fbb6..238484409 100644 --- a/extensions/porn/clefspeare13/update.json +++ b/extensions/porn/clefspeare13/update.json @@ -1,10 +1,10 @@ { - "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" +} diff --git a/extensions/porn/sinfonietta-snuff/update.json b/extensions/porn/sinfonietta-snuff/update.json index 9421b1139..1f539aada 100644 --- a/extensions/porn/sinfonietta-snuff/update.json +++ b/extensions/porn/sinfonietta-snuff/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/extensions/porn/sinfonietta/update.json b/extensions/porn/sinfonietta/update.json index 872e17cd1..a1d9f0f61 100644 --- a/extensions/porn/sinfonietta/update.json +++ b/extensions/porn/sinfonietta/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/extensions/porn/tiuxo/update.json b/extensions/porn/tiuxo/update.json index 0bca5d96d..82cf3a99d 100644 --- a/extensions/porn/tiuxo/update.json +++ b/extensions/porn/tiuxo/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/extensions/social/sinfonietta/update.json b/extensions/social/sinfonietta/update.json index e71832d5b..72a54a5f8 100644 --- a/extensions/social/sinfonietta/update.json +++ b/extensions/social/sinfonietta/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/extensions/social/tiuxo/update.json b/extensions/social/tiuxo/update.json index 6ff172512..fae3e412b 100644 --- a/extensions/social/tiuxo/update.json +++ b/extensions/social/tiuxo/update.json @@ -1,9 +1,9 @@ { - "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" } diff --git a/updateHostsWindows.bat b/updateHostsWindows.bat index 3b14343f0..537a34ef4 100755 --- a/updateHostsWindows.bat +++ b/updateHostsWindows.bat @@ -16,17 +16,17 @@ title Update Hosts :: 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 @@ -44,7 +44,7 @@ cd /d "%~dp0" :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