I had got a lot of questions back when I did October on how to do it without the ASLR Brute Forcing. Unfortunately, due to the lack of output it seems to be impossible to cause a memory leak. So, I went out and found a CTF problem where that would be possible to show how you would of done it if you could cause a memory leak.
Some links.
Hope ya’ll enjoy.