This repository is written in conjunction with the blog post. During this time, I want to understand in full details on a possible implementation. This post aims at understanding the basic concept of writing shellcode without focusing on any encodings, non-null, obfuscation or any special methods in making undetectable shellcodes.
With the concepts covered, I believe that we can always tweak it to run other payloads. As of now, we have :
// to spawn a calculator
WinExec("calc.exe",1);