10 Commits

Author SHA1 Message Date
Flowseal
d60e21c1bb Version bump 2026-05-07 14:20:25 +03:00
Flowseal
f474a9f3f0 tg hosts 2026-05-07 14:19:53 +03:00
Flowseal
3ca61f3ab6 improved current strategy output 2026-05-07 14:13:55 +03:00
Flowseal
e609f1550b gitignore 2026-05-07 14:09:56 +03:00
Artyom Bebroy
ff334e5767 отображение текущей стратегии в меню сервиса (#13053) 2026-05-07 14:05:32 +03:00
Artyom Bebroy
8b47f91512 Исправлен вывод результатов DPI (#13066) 2026-05-06 18:52:13 +03:00
lxstwxrden
4456f6ee1c Update hosts (#13057) 2026-05-06 10:18:52 +03:00
Fr̫̎e̗̔e͉̗͗̕ď̖ỏ̘͉̎m̫̓
1963ad068d Delete Duplicate (#12898) 2026-05-03 07:43:32 +03:00
Flowseal
68fa02f9a4 Release workflow: changed zip packaging tool & sha256 output 2026-05-02 12:31:35 +03:00
Yevgeny Kungurov
f6f22e20e1 Fix rfc1323 timestamps check (#12805) 2026-05-02 00:17:52 +03:00
7 changed files with 48 additions and 15 deletions

View File

@@ -25,15 +25,20 @@ jobs:
exit 1 exit 1
fi fi
- name: Install RAR - name: Install tools
run: sudo apt-get install -y rar run: sudo apt-get install -y rar p7zip-full
- name: Create archives - name: Create archives
run: | run: |
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}" NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
zip -r "${NAME}.zip" bin/ lists/ utils/ *.bat 7z a "${NAME}.zip" bin/ lists/ utils/ *.bat
rar a "${NAME}.rar" bin/ lists/ utils/ *.bat rar a "${NAME}.rar" bin/ lists/ utils/ *.bat
- name: Print SHA256 checksums
run: |
NAME="zapret-discord-youtube-${{ github.event.inputs.tag }}"
sha256sum "${NAME}.zip" "${NAME}.rar"
- name: Create GitHub Release - name: Create GitHub Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:

3
.gitignore vendored
View File

@@ -3,3 +3,6 @@
/lists/ipset-exclude-user.txt /lists/ipset-exclude-user.txt
/lists/list-general-user.txt /lists/list-general-user.txt
/lists/list-exclude-user.txt /lists/list-exclude-user.txt
.vscode/
/build/

View File

@@ -1,3 +1,13 @@
149.154.167.220 my.telegram.org
149.154.167.220 oauth.telegram.org
149.154.167.220 cdn.telesco.pe
149.154.167.220 cdn1.telesco.pe
149.154.167.220 cdn2.telesco.pe
149.154.167.220 cdn3.telesco.pe
149.154.167.220 cdn4.telesco.pe
149.154.167.220 cdn5.telesco.pe
149.154.167.220 api.telegram.org
149.154.167.220 core.telegram.org
149.154.167.220 zws4.web.telegram.org 149.154.167.220 zws4.web.telegram.org
149.154.167.220 vesta.web.telegram.org 149.154.167.220 vesta.web.telegram.org
149.154.167.220 vesta-1.web.telegram.org 149.154.167.220 vesta-1.web.telegram.org
@@ -21,6 +31,10 @@
149.154.167.220 zws2.web.telegram.org 149.154.167.220 zws2.web.telegram.org
149.154.167.220 zws4-1.web.telegram.org 149.154.167.220 zws4-1.web.telegram.org
185.199.109.133 raw.githubusercontent.com
185.199.109.133 release-assets.githubusercontent.com
185.199.108.133 private-user-images.githubusercontent.com
104.25.158.178 finland10000.discord.media 104.25.158.178 finland10000.discord.media
104.25.158.178 finland10001.discord.media 104.25.158.178 finland10001.discord.media
104.25.158.178 finland10002.discord.media 104.25.158.178 finland10002.discord.media

View File

@@ -1 +1 @@
1.9.8b 1.9.8c

View File

@@ -15,9 +15,6 @@ ya.ru
dns-shop.ru dns-shop.ru
habr.com habr.com
3dnews.ru 3dnews.ru
sberbank.ru
ozon.ru
wildberries.ru
microsoft.com microsoft.com
microsoftonline.com microsoftonline.com
live.com live.com
@@ -54,14 +51,11 @@ ok.ru
mycdn.me mycdn.me
okcdn.ru okcdn.ru
odkl.ru odkl.ru
wbbasket.ru
wb.ru wb.ru
ozone.ru
geobasket.ru geobasket.ru
paywb.com paywb.com
rwb.ru rwb.ru
wb-basket.ru wb-basket.ru
wb.ru
wbbasket.ru wbbasket.ru
wbpay.ru wbpay.ru
wibes.ru wibes.ru

View File

@@ -1,5 +1,5 @@
@echo off @echo off
set "LOCAL_VERSION=1.9.8b" set "LOCAL_VERSION=1.9.8c"
:: External commands :: External commands
if "%~1"=="status_zapret" ( if "%~1"=="status_zapret" (
@@ -58,11 +58,13 @@ cls
call :ipset_switch_status call :ipset_switch_status
call :game_switch_status call :game_switch_status
call :check_updates_switch_status call :check_updates_switch_status
call :get_strategy_name
set "menu_choice=null" set "menu_choice=null"
echo. echo.
echo ZAPRET SERVICE MANAGER v!LOCAL_VERSION! echo ZAPRET SERVICE MANAGER v!LOCAL_VERSION!
echo. !CurrentStrategy!
echo ---------------------------------------- echo ----------------------------------------
echo. echo.
echo :: SERVICE echo :: SERVICE
@@ -124,6 +126,7 @@ exit /b
:: TCP ENABLE ========================== :: TCP ENABLE ==========================
:tcp_enable :tcp_enable
chcp 437 > nul
netsh interface tcp show global | findstr /i "timestamps" | findstr /i "enabled" > nul || netsh interface tcp set global timestamps=enabled > nul 2>&1 netsh interface tcp show global | findstr /i "timestamps" | findstr /i "enabled" > nul || netsh interface tcp set global timestamps=enabled > nul 2>&1
exit /b exit /b
@@ -994,6 +997,13 @@ pause
goto menu goto menu
:: Get strategy name
:get_strategy_name
set "CurrentStrategy="
for /f "tokens=2*" %%A in ('reg query "HKLM\System\CurrentControlSet\Services\zapret" /v zapret-discord-youtube 2^>nul') do set "CurrentStrategy=Strategy: %%B"
exit /b
:: Utility functions :: Utility functions
:PrintGreen :PrintGreen

View File

@@ -894,13 +894,20 @@ try {
foreach ($targetRes in $results) { foreach ($targetRes in $results) {
$id = $targetRes.TargetId $id = $targetRes.TargetId
$provider = $targetRes.Provider $provider = $targetRes.Provider
$country = $targetRes.Country
if ($country) {
Add-Content $resultFile " Target: [$country] $id ($provider)"
} else {
Add-Content $resultFile " Target: $id ($provider)" Add-Content $resultFile " Target: $id ($provider)"
}
foreach ($line in $targetRes.Lines) { foreach ($line in $targetRes.Lines) {
$test = $line.TestLabel $test = $line.TestLabel
$code = $line.Code $code = $line.Code
$size = $line.SizeKB $up = $line.UpKB
$down = $line.DownKB
$time = $line.Time
$status = $line.Status $status = $line.Status
Add-Content $resultFile " ${test}: code=${code} size=${size} KB status=${status}" Add-Content $resultFile " ${test}: code=${code} up=${up} KB down=${down} KB time=${time}s status=${status}"
} }
} }
} }