virus Detection my program

hi i write this program . but in virus total give me 4/42 Detection ratio :(
how can i change my code to not Detection in any anti virus
https://www.virustotal.com/file/244806c299167a662ee10a9b71ebf5e8ccff431e4a32d107f61f0264891c880c/analysis/1340396052/
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <iostream>
#include <tchar.h>
#include <urlmon.h>
#include <direct.h>

#pragma comment(lib, "urlmon.lib")
using namespace std;


int Main()
{
	URLDownloadToFile ( NULL, _T("Url.jpg"),_T("C:\\test.jpg"), 0, NULL );
	ShellExecute(NULL,_T("Open"),_T("C:\\test.jpg"), NULL, NULL, SW_SHOWNORMAL);
	return 0;
}


Tnx for help

Mani
Last edited on
admin plz don't delete my report ! i need this !
any one can help me ?

what is my wrong ?
Last edited on
urlmon.lib seems to be the issue.
okey if i don't use urlmon.lib how work my program ? another way!

tnx

Mani
Antivirus vendors are the problem, not your program. So submit the program to them with source code and tell them how crap their antivirus is.
this way not work ! :(
Last edited on
any one can help me ?
No one can help you, except antivirus vendors. It's nothing wrong with your program. UrlDownloadToFile() is probably used by walware and some crappy antivirus vendors flag any executable as possible viruses.
@ OP: Maybe you just shouldn't put your faith in a novelty website. I just tested this:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*WARNING DO NOT EXECUTE*/
#include<iostream>
#include<cstdlib>

int main(int argc, char *argv[])
{
	while(1)
	{
        int* A = new int(1);
        system(argv[0]);
        }
	
	return 0;
}  

Came back with a 0/42 "Detection ratio". My guess is that 4 out of 42 AV suites decided that downloading something then executing it is potentially bad, I'm actually surprised that more of them didn't red flag you.
Topic archived. No new replies allowed.