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 it's set properly in memory and the 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 explain this!