• caglararli@hotmail.com
  • 05386281520

How can I jump to an address after executing a donut shellcode?

Çağlar Arlı      -    57 Views

How can I jump to an address after executing a donut shellcode?

I'm looking to execute a shellcode by packaging it inside an executable.

  • I generate an executable (open the calculator)
  • I output a shellcode from the executable with donut.
    • donut.exe -i opencalc.exe -a 1 -b 1 -e 1
  • I decompile putty, and paste the shellcode
  • I jump on the shellcode and it executes

Then I'd like to go back to executing putty. Maybe with jump address?

I've already tried to modify the shellcode to make a jump before the end of the shellcode, but I get an exception.

Without touching the shellcode, it ends with the end code of the generated code (open the calculator).