I injected shellcode into an executable.
Entrypoint is set to first shellcode instruction.
Shellcode:
nop
nop
label:
nop
nop
jmp
label
nop
nop
which translate to: \x90\x90\x90\x90\xeb\xfc\x90\x90
Correct Values in PE can be seen with PE-Explorer
There are other values displayed in the debugger which translate to wrong instructions.
What am I doing wrong here?
Thanks