#include #include #include #define MAX 5 struct s { char words[80]; }; int main() { struct s val[MAX]; struct s *p; int pos=rand() % MAX; int len= sizeof(p->words); snprintf (val[0].words, len,"%s","PEB.IsDebugged"); snprintf (val[1].words, len,"%s","PEB.ProcessHeap.Flag"); snprintf (val[2].words, len,"%s","PEB.NtGlobalFlag"); snprintf (val[3].words, len,"%s","PEB.Ldr 0xFEEEFEEE"); snprintf (val[4].words, len,"%s","GetTickCount(poly)"); /* */ printf("%s\n",val[pos].words); getche(); return 0; }