All pastes #815042 Raw Edit

rand string

public text v1 · immutable
·published 2007-12-13 19:07 UTC
rendered paste body
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#define MAX 5
struct s {
       char words[80];
        };
       
int main() {

int pos=rand() % MAX;
struct s val[MAX];

snprintf (val[0].words, 80,"%s","PEB.IsDebugged");
snprintf (val[1].words, 80,"%s","PEB.ProcessHeap.Flag");
snprintf (val[2].words, 80,"%s","PEB.NtGlobalFlag");
snprintf (val[3].words, 80,"%s", "PEB.Ldr 0xFEEEFEEE"); 
snprintf (val[4].words, 80,"%s","GetTickCount(poly)");
/*




*/
printf("%s\n",val[pos].words);
getche();
return 0;
}