Tags: pwn 

Rating:

use one bit flip to call main recrsively, write shell code in text segment and jump to shellcode.

Original writeup (https://amritabi0s.wordpress.com/2017/10/23/hack-lu-ctf-bit-writeup/).