I want to pass my OSCP exam and I am learning with the material I got. I watched the videos and read the pdf but I have a question about buffer overflows.
In the example in the videos the guy has access to the target system and can so control, debug and restart the application. So he can see what length he should send to cause the buffer overflow and where the EIP register is in the sended string and so on.
But my intetion of a buffer overflow is to get access to a system I were not accessed before, isn't it?
So how do I get to know all the relevent data without having access like debug functions before?
Thanks in advance!