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);
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);
have you figured it out
if you have 65 interpreted as A, what happens if you add 191 to it? is it 256 or 0?