완료됨
need hint

input size is too small to make a fake file struct (buf has 80 bytes and fp overwrite has 64 bytes) . any hint on how to proceed?

#pwnable
작성자 정보
더 깊이 있는 답변이 필요할 때
드림핵 팀과 멘토에게 직접 문의해 보세요!
답변 3
avatar
wyv3rn
무플 방지 위원회장

you can modify input size :)

2023.06.29. 16:34
nu1lptr
대표 업적 없음

buf variable has 80 bytes
void read_str() { fgets(buf, sizeof(buf) - 1, stdin); }
and memcpy copies only 0x40 . How can i modify the size?
memcpy(dst, src, 0x40);

2023.06.29. 17:39
avatar
wyv3rn
무플 방지 위원회장

recheck lecture. it can be modified using file structure.

2023.06.29. 20:12