by codedokode · 1mo ago · 0 comments
Note that use-after-free would be prevented in memory-safe languages such as Java, Go or Rust.
To be fair, C has simplicity as an attractive feature (compared to other languages) but being memory-unsafe is unacceptable, so we need either memory-safe C or stop using it.
There are also hardened malloc/free implementations for C based runtimes. Of course none of that is perfect, the famous heartbleed exploit for example bypassed any outside memory protection as the library agressively reused already allocated buffers, none of the languages you named would protect against that.
Great, so show us a working exploit.
Buy 5$ on deepseek and have it write a script to grind out the right offsets to use for the most popular docker images.
I got it working just now; shell on any docker image i pull.
GG this dumb ass blog-post and thread.
I'm not sure what your question is or what you're getting at. The only time-sink for general purpose exploit is to churn through previous PHP versions to get the right offsets/struct sizes and common memory configurations.
Do you think security is done by running obscure configurations?