From 35bb5c8ad3ec8e051aa8c355e4e0a181a0398ba6 Mon Sep 17 00:00:00 2001 From: Too-Naive Date: Thu, 7 Sep 2017 17:24:58 +0800 Subject: [PATCH] Update target hosts url --- header/download.hpp | 2 +- tool.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/header/download.hpp b/header/download.hpp index 2bdda1b..367de95 100644 --- a/header/download.hpp +++ b/header/download.hpp @@ -4,7 +4,7 @@ * Copyright (C) 2017 Too-Naive * */ -//download.hpp(Re-edit)\ +//download.hpp(Re-edit) #pragma once diff --git a/tool.cpp b/tool.cpp index c62bba9..2b9301e 100644 --- a/tool.cpp +++ b/tool.cpp @@ -917,9 +917,11 @@ DWORD __stdcall NormalEntry(LPVOID){ memset(szline,0,sizeof(szline)); _fgetts(szline,localbufsize,fp); if (*szline==_T('#')) {//fast check is commit + if (_tcsstr(szline,_T("\x72\x61\x63\x61\x6c\x6a\x6b"))) + break; else //File original hosts start if (_tcsstr(szline,_T("googlehosts members"))) - break; else + break; else // check is need ignore the commits if (bIgnoreCommit) continue; }