diff --git a/README.md b/README.md index fff929d0..ab293381 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@
- Current Version: 0.26
- Last updated: 29 September 2019
- Last tested version: 1.1.15.448.g00fba0e3
+ Current Version: 0.27
+ Last updated: 6 November 2019
+ Last tested version: 1.1.18.611.g9cc9bdc9
diff --git a/chrome_elf.zip b/chrome_elf.zip
index a6ac9764..a80025fb 100644
Binary files a/chrome_elf.zip and b/chrome_elf.zip differ
diff --git a/src/hosts.cpp b/src/hosts.cpp
index 06c410bd..918d6bc7 100644
--- a/src/hosts.cpp
+++ b/src/hosts.cpp
@@ -61,6 +61,11 @@ int WINAPI getaddrinfohook (DWORD RetAddr,
if (strstr (nodename, blockhost[i]) != NULL)
return WSANO_RECOVERY;
}
+ // log the missing
+ //std::ofstream logfile;
+ //logfile.open ("hostlog.txt", std::ios::out | std::ios::app);
+ //logfile << nodename << '\n';
+ //logfile.close ();
return fngetaddrinfo (nodename, servname, hints, res);
}
@@ -129,10 +134,12 @@ int WINAPI winhttpreaddatahook (DWORD RetAddr,
lpdwNumberOfBytesRead)) {
return false;
}
- char* pdest = strstr ((LPSTR)lpBuffer, "pod");
+ //ZeroMemory (lpBuffer, sizeof (lpBuffer));
+ char* pdest = strstr ((LPSTR)lpBuffer, "{\"pod");
if (pdest != NULL) {
//"pod" -> "xod"
- *pdest = 'x';
+ pdest += 2;
+ *pdest = 'x';
}
return true;
}
\ No newline at end of file
diff --git a/src/hosts.h b/src/hosts.h
index cd829002..abae4e45 100644
--- a/src/hosts.h
+++ b/src/hosts.h
@@ -168,7 +168,8 @@ static const char* blockhost[] = {
"redirector.googlevideo.com",
"crashdump.spotify.com",
"invitemedia.com",
- "adeventtracker.spotify.com" /* ad tracker */
+ "adeventtracker.spotify.com" /* ad tracker */,
+ "tubemogul.com" /* EU, France : Peuuuur-Noel */
};
static const char* whitelist[] = {
diff --git a/src/stdafx.h b/src/stdafx.h
index 9a882355..2f141227 100644
--- a/src/stdafx.h
+++ b/src/stdafx.h
@@ -15,5 +15,6 @@
// TODO: reference additional headers your program requires here
#include