Skip to content

Commit

Permalink
Merge pull request #24 from KillerInstinct/patch-7
Browse files Browse the repository at this point in the history
Add a field, needed for a future signature
  • Loading branch information
spender-sandbox authored Nov 23, 2016
2 parents 1bc1208 + 288da91 commit 163d965
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hook_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -664,9 +664,9 @@ HOOKDEF(BOOL, WINAPI, InternetReadFile,
) {
BOOL ret = Old_InternetReadFile(hFile, lpBuffer, dwNumberOfBytesToRead, lpdwNumberOfBytesRead);
if (is_bytes_in_buf(lpBuffer, *lpdwNumberOfBytesRead, "\x00\x50\x4f\x4c\x49\x4d\x4f\x52\x46\x00", 10, 256))
LOQ_bool("network", "pC", "InternetHandle", hFile, "Buffer", lpdwNumberOfBytesRead, lpBuffer);
LOQ_bool("network", "pCI", "InternetHandle", hFile, "Buffer", lpdwNumberOfBytesRead, lpBuffer, "BytesRead", lpdwNumberOfBytesRead);
else
LOQ_bool("network", "pB", "InternetHandle", hFile, "Buffer", lpdwNumberOfBytesRead, lpBuffer);
LOQ_bool("network", "pBI", "InternetHandle", hFile, "Buffer", lpdwNumberOfBytesRead, lpBuffer, "BytesRead", lpdwNumberOfBytesRead);

return ret;
}
Expand Down

0 comments on commit 163d965

Please sign in to comment.