Skip to content

Commit

Permalink
facebook login fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpond committed Nov 6, 2019
1 parent 2a8d5c5 commit bfa41b2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 40 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h4 align="center">A multi-purpose adblocker and skip bypass for the <strong>Windows</strong> Spotify Desktop Application.</h4>
<h5 align="center">Please support Spotify by purchasing premium</h5>
<p align="center">
<strong>Current Version:</strong> 0.28 <br>
<strong>Current Version:</strong> 0.29 <br>
<strong>Last updated:</strong> 7 November 2019 <br>
<strong>Last tested version:</strong> 1.1.18.611.g9cc9bdc9
</p>
Expand Down
Binary file modified chrome_elf.zip
Binary file not shown.
49 changes: 10 additions & 39 deletions src/hosts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,47 +134,18 @@ int WINAPI winhttpreaddatahook (DWORD RetAddr,
lpdwNumberOfBytesRead)) {
return false;
}
ZeroMemory (lpBuffer, sizeof (lpBuffer));
return true;
/*
char* pdest = strstr ((LPSTR)lpBuffer, "{\"sponsored-playlist");
if (pdest != NULL) {
ZeroMemory (lpBuffer, sizeof (lpBuffer));
}
std::ofstream logfile;
logfile.open ("hostlog.txt", std::ios::out | std::ios::app);
logfile << (LPSTR)lpBuffer << '\n';
logfile.close ();
return true;
pdest = strstr ((LPSTR)lpBuffer, "{\"pod");
if (pdest != NULL) {
//"pod" -> "xod"
pdest += 2;
*pdest = 'x';
}
pdest = strstr ((LPSTR)lpBuffer, "\"hpto");
if (pdest != NULL) {
//"hpto" -> "xpto"
pdest += 1;
*pdest = 'x';
}
pdest = strstr ((LPSTR)lpBuffer, "\"stream");
if (pdest != NULL) {
//"stream" -> "xtream"
pdest += 1;
*pdest = 'x';
}
pdest = strstr ((LPSTR)lpBuffer, "\"leaderboard");
char* pdest = strstr ((LPSTR)lpBuffer, "{\"login_url");
if (pdest != NULL) {
//"leaderboard" -> "xeaderboard"
pdest += 1;
*pdest = 'x';
return true;
}
pdest = strstr ((LPSTR)lpBuffer, "\"billboard");
pdest = strstr ((LPSTR)lpBuffer, "{\"credentials");
if (pdest != NULL) {
//"billboard" -> "xillboard"
pdest += 1;
*pdest = 'x';
return true;
}
*/
ZeroMemory (lpBuffer, sizeof (lpBuffer));
//std::ofstream logfile;
//logfile.open ("hostlog.txt", std::ios::out | std::ios::app);
//logfile << (LPSTR)lpBuffer << '\n';
//logfile.close ();
return true;
}

0 comments on commit bfa41b2

Please sign in to comment.