Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers LCC > on compiling : ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 967 of 1062
Post > Topic >>

on compiling : TROJ_BLASTSER.C

by chris <chris@[EMAIL PROTECTED] > Jul 24, 2007 at 04:12 PM

hi,
since some days our OFFICESCAN antivirus finds the TROJ_BLASTER.C when I 
compile with LCC some C programs, for example the following

(it also modifies the .exe being it now not more executable ! ! !)

the strange thing is that on onother PC with AVAST as antivirus I can 
get .exe file without any virus!
It seems no virus attached my LCC environment.
I think after newest updating OFFICESCAN wrongly detrects such 
TROJ_BLASTER.C

Any idea?



********
#include<stdio.h>
#include<ctype.h>
#include<stdlib.h>


#define MAX 20


struct nomeC {
	int esito1;
	char vett1[2];
	int esito2;
	char vett2[2];

}
C1,C2,C3,C4;


struct nomeC4 {
	int esito;
	char vett[4];
}
C5;



void char2ex(struct nomeC *C);

void char4ex(struct nomeC4 *C);


main()
{

	int esa;
	int c;




	int i=0;
	int aa;
	int esito=0;



	// H'6472 H'6c74 H'6173 H'6b31 H'0d1f H'040b H'160b H'0e1f
	// f        i        l     e     riga    d    a   t   a




	printf("insert the first FER octect row\n\n");

	char2ex(&C1);
	char2ex(&C2);
	char2ex(&C3);
	char2ex(&C4);

	char4ex(&C5);


	/*
	char2ex(&C5);
	char2ex(&C6);
	char2ex(&C7);
	char2ex(&C8);
	*/







	printf("FILENAME ");

	printf("%c%c%c%c%c%c%c%c 
",C1.esito1,C1.esito2,C2.esito1,C2.esito2,C3.esito1,C3.esito2,C4.esito1,C4.esito2);

	printf(" LINE %d\n",C5.esito);


}







void char2ex(struct nomeC *C)
{
	char c;
	int i=0;



	while  ( c = getchar() )

	{



		if (c=='\'')
		{

			c  = getchar();
			C->vett1[i]=c ;

			c  = getchar();
			C->vett1[i+1]=c ;

			C->esito1 = strtol(C->vett1,(char **) NULL, 16);

			c  = getchar();
			C->vett2[i]=c ;

			c  = getchar();
			C->vett2[i+1]=c ;

			C->esito2 = strtol(C->vett2,(char **) NULL, 16);


			break;


		}
		else ;

	}



}



void char4ex(struct nomeC4 *C)
{
	char c;
	int i=0;



	while  ( c = getchar() )

	{



		if (c=='\'')
		{

			c  = getchar();
			C->vett[i]=c ;

			c  = getchar();
			C->vett[i+1]=c ;


			c  = getchar();
			C->vett[i+2]=c ;

			c  = getchar();
			C->vett[i+3]=c ;

			C->esito = strtol(C->vett,(char **) NULL, 16);


			break;


		}
		else ;

	}

}

********
 




 5 Posts in Topic:
on compiling : TROJ_BLASTSER.C
chris <chris@[EMAIL PR  2007-07-24 16:12:19 
Re: on compiling : TROJ_BLASTSER.C
"Udo Bauer" <  2007-08-02 18:39:57 
Re: on compiling : TROJ_BLASTSER.C
chris <chris@[EMAIL PR  2007-08-16 14:39:09 
Re: on compiling : TROJ_BLASTSER.C
"Udo Bauer" <  2007-08-02 18:57:55 
Re: on compiling : TROJ_BLASTSER.C
"Udo Bauer" <  2007-08-16 19:01:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 2:55:25 CDT 2008.