While generating a shellcode, the most important thing to know is which character is good for the shellcode and which is not - We'll have to identify the BAD characters manually
It breaks the program and what we need to focus is on the HEXDUMP
We can look at the dump by right clicking the ESP and select follow in dump option !
vulnserver.exe is a simple vanilla BOF type and doesn't have any BAD chars to make it complex
But if there are any bad characters while inspecting any program crash then it would look something like this
It'll be like I'm missing \x03 and \x04 - and eventually we'll have to remove them from our python script and run it again till we don't get any bad characters :)