I am quite new to buffer overflows and I am practicing right now different types of buffer overflow attacks. the shellcode was not executed until it was padded with NOPs although its set properly in memory and execution flow works as needed.
After investigation, I saw some people who wrote the following:
"find the opcode for add esp,-1500 put those bytes at the start of the shellcode remove the nops"
I would appreciate if anybody could help explaining this !
Thanks in advance