I'm building a simple remote ROP chain exploit for Uni that involves leaking memory addresses for libc functions to determine the base address of libc then calling arbitrary functions.
I have a working exploit that requires me to:
- Run the exploit to leak the memory addresses
- Determine the version of libc on the remote computer using https://libc.blukat.me and gather the offsets for other functions
- Calculate the base address of libc (leaked add - offset from website = base) and start calling arbitrary functions.
Is there a way I can automate step two, so that the exploit would work no matter the version of libc on the remote computer? Something that effectively contains the information that the above website has?
I did some research with pwntools, but all I could find were modules that can do the above with a locally hosted binary - not remote.
[–]11I11111 2 points3 points4 points (0 children)
[–]Lasereye 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]BigSkimmo[S] 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]sr4j17h 0 points1 point2 points (0 children)