Re: Arbitrary code execution in Gold/Silver UE using the Coin Case
Posted by: Sanqui
Date: 2014-01-10 11:29:15
Remember a ret pops whatever's on the top of the stack into pc.
So you can push the address of whatever you want onto the stack, and a ret would make the pc transfer there..
I'm well aware, but the only push available with box names is push de, and there's no way to put anything into d or e. You could of course write on the stack manually, but at that point it would take like four times as much code as three pops.