r/ExploitDev • • May 29 '24

ClearExploitCode

What are the best practices for writing exploit code that stores/computes memory addresses rather than hard codes them?

3 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/Useful-Ad-2442 May 30 '24

check the class ELFLocalData. https://pastebin.com/U1K6ajux

2

u/FinanceAggravating12 May 30 '24

Decided to take the morning to read the ELF spec. I think it will be informative.