Format String Vulnerability – Can’t read an address from stdin with read() in C
I wanted to exploit this code using format string vulnerability:
int jackpot;
void fmt_str(void)
{
char buf[128];
puts(“Give me a string to print”);
read(0, buf, 128);
printf(buf);
printf(“jackpot @ %p … Continue reading Format String Vulnerability – Can’t read an address from stdin with read() in C