HavocFramework / Havoc

The Havoc Framework.
GNU General Public License v3.0
6.37k stars 903 forks source link

[File a bug report for the Demon Implant]: screenshot command not works in win7 #396

Open sh1xo opened 10 months ago

sh1xo commented 10 months ago

Contact Details

No response

What happened?

screenshot command works in win10 , but not works in win7

teamserver log: [ERRO] Failed to write png file: png: invalid format: invalid image size: 0x0

GetObjectW return 0 https://github.com/HavocFramework/Havoc/blob/c393115fa1714748f368aff97e55da4aa81f5c56/payloads/Demon/Source/Core/Win32.c#L1080

Did You Do a Pull First?

Anything else (You didn't pull...)

Did You Try With the Dev Branch?

No (You only tried the main branch...)

Relevant log output

No response

Did You Read Over Your Issue First?