Hey there, I am a C programming engineer with over 5 years of experience. I can help you fix the buffer overflow in your C script and guide you through exploiting it via "ret2libc." My expertise includes C programming, buffer overflow exploitation, and stack manipulation on Linux platforms. I'll also provide a comprehensive write-up detailing the steps and techniques used.
With my experience, I’m sure I can finish this task in a very short time, assuring the expected results. Feel free to check my profile and contact me for more details.
Regards,