Format String Exploits - Writing Data

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

how can we write DCBA ? and also is it possible to write into a global variable ? im having troubles with a ctf where i need to change a global variable's value to "galf" by using the format string exploit :
scanf("%1024s", buf);
printf("Here's your input: ");
printf(buf);

andrei