The guy got praised for this? Lol.
Also, you're wrong about Codecaving. It isn't a program/file lol. I'm surprised Unkn0wn didn't point that out. It's simply jmping to the first line of the overwritten code, executing code, then jmping back to the last line of the code. Example,
Original Code:
Originally posted by another user
123: mov di, word ptr ds:[esi]
321: xor esi, esi
1234: mov esi, 0FFh
Codecave:
Originally posted by another user
123: mov di, word ptr ds:[esi]
321: nop (0x90)
1234: jmp 1234 (mov esi, 0FFh)
The jmp opcode is 0xE9. I created a function to automatically do this for me and whatnot. It's easy. Use MSDN Library.