The most dynamic programming language is C. Every C program has a plugin system via shellcode; the plugin injection interface varies by program.
0 Boosts
0 Likes
@zeux @pervognsen Not quite the same thing, but one of my favorite TAS hacks is where they (if I remember correctly) trigger a bug that causes the instruction pointer to run into the sprite table, and with sprite state carefully set up (through jumping around and messing about) it jumps from there to the input buffer.
It then crafts input to stream a short loop of instructions in there as it executes (not that many bytes in the buffer to work with) and bootload anything: https://www.youtube.com/watch?v=OPcV9uIY5i4
[TAS] Super Mario World "Arbitrary Code Execution" in 02:25.19 by Masterjun
YouTube
I wanted to link a story of someone pwning their own live service to perform hot code reloading but I couldn't find the right search keywords. Does anyone recognize the story I'm thinking of?