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