This commit is contained in:
CodeX 2022-11-29 23:17:29 +08:00 committed by GitHub
parent b5bf5bad8c
commit 20989d338d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ BOOL SaveHBITMAPToFile(HBITMAP hBitmap, LPCTSTR lpszFileName, int savemethod)
}
else{
BeaconPrintf(0x0, "[*] Downloading bitmap over beacon with filename %s", lpszFileName);
downloadFile((char*)lpszFileName, sizeof(lpszFileName), (char*)bmpdata, (int)(strlen(BITMAPFILEHEADER) + dwDIBSize));
downloadFile((char*)lpszFileName, strlen(lpszFileName), (char*)bmpdata, (int)(sizeof(BITMAPFILEHEADER) + dwDIBSize));
}