1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-01-02 11:36:22 +01:00
Go to file
OJ b5a6bc9e80 Proper DIB offset calculation
This fixes the issue where the calculation for the offset of the image
data was incorrect. Instead of just looking at the first byte past the end
of the BITMAPINFOHEADER we now correctly calculate the offset past the
color palette and begin reading the image there. This stops the problems
where sometimes the image looked like it had been shifted, or other cases
where the image colors went retro.
2013-11-03 11:09:51 +10:00
c/meterpreter Proper DIB offset calculation 2013-11-03 11:09:51 +10:00