{"title":" Codegate CTF Junior Preliminary 2015 - Task cheip","blog_title":"A box of chocolate","image_url":null,"published":"2015-03-16 16:11:02","categories":["Writeup"],"url":"https://dakutenpura.hatenablog.com/entry/2015/03/16/161102","blog_url":"https://dakutenpura.hatenablog.com/","width":"100%","version":"1.0","type":"rich","author_url":"https://blog.hatena.ne.jp/dakutenpura/","description":"I am a newbie at CTFs so there will be many errors in this writeup. If you found one (or some), please leave a comment or send me an e-mail :D. Thank you :D Basic buffer overflow exploitation. We got the following code: #include <stdio.h> #include <stdlib.h> void backdoor() { execl(\"/bin/cat\", \"/bin\u2026","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdakutenpura.hatenablog.com%2Fentry%2F2015%2F03%2F16%2F161102\" title=\" Codegate CTF Junior Preliminary 2015 - Task cheip - A box of chocolate\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","author_name":"dakutenpura","provider_name":"Hatena Blog"}