Last night I did try to automate simple overflow with windbg but there were some problems with the exception handling .so I want to choose a more programmable debugger but this time I need a more documentation than pykd .so after some time I stumbled upon winappdbg and it has got pretty good documentation. Winappdbg website

So let’s roll our sleeves. I created a normal buffer overflow programme that takes input from the command line and copies it in a buffer .the code for the simple buffer is shown below

The function func1 is not related now but I will use this function in later parts. for now only the main function matters

Link To Source Code

Link To Source Code

Now Here are the results.

Stay Tune I will be Posting more on automation with winappdbg and python.