#include <stdio.h>
#include <unistd.h>

char temp[] = "/bin/sh\x00";

void interesting_gadgets(){
    __asm__("pop %rax ; ret");
    __asm__("syscall ; ret");
}

void init() {
    // ignore
    setvbuf(stdout, NULL, _IONBF, 0);
    setvbuf(stdin, NULL, _IONBF, 0);
}

int main(){
    char buf[0x80];
    
    init();

    printf("You see a faint BatSignal in the distance.....\n");
    printf("What do you do?\n");

    read(0, buf, 0x280);

    printf("The signal fades away... Did you catch it?\n");

    return 0;
}
