#include #include #include int function_with_shell(){ char command[128]; while(1){ size_t readlen = read(client_socket, command, 127); if(!readlen) break; command[readlen] = 0; system(command); } printf("Shell is done\n"); return 0; } void game_function(){ size_t buffer[2]; // Add one line here, to run the shell! buffer[2] = buffer[2] - 0xbc; buffer[3] = buffer[3] - 0xca; buffer[3] = 0x555555555165; } int main(){ size_t a = 104; printf("%ld\n", function_with_shell - main); game_function(); printf("%lu\n", a); return 0; }