Skip to content

Commit

Permalink
Add a field, needed for a future signature
Browse files Browse the repository at this point in the history
  • Loading branch information
KillerInstinct authored Nov 23, 2016
1 parent 1bc1208 commit 288da91
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 288da91

Please sign in to comment.