#include #include #include #include void printflag(); int fire_land(); int main(){ setvbuf(stdout, NULL, _IONBF, 0); fire_land(); } int fire_land(){ int n= 10; printf("\n "); printf("Oi- hic -hands off, lad. This shiny's not for grabbin', hic no matter how thirsty ye look. Answer the riddle proper- hic -and it's yours. Get it wrong, and the mountain- hic -laughs last. Now speak up... hic ...before I forget what I asked.\n"); printf("HERE YE HERE YE, FILL *hic* IN THE BLANK: ...IT IS.. what *hic* is: \n"); char answer[50]; scanf("%s", answer); if (strcmp(answer, "it") == 0){ printf("HES A SMART ONE *hic* LADS! NOW THEN.. WHATS THE FLAG WE FLY INTO *hic* eughh.. WE FLY INTO BATTLE WITH: \n"); while ((getchar() != '\n')); char flag[50]; gets(flag); // if (flag == flag ){..} -> Still in development.. printf("Aye, yous *hic* more drunk then *hic* me?\n"); } } void elf_land(){ __asm__("sub $8, %rsp"); puts(getenv("FLAG")); }