EnIGMA: Enhanced Interactive Generative Model Agent for CTF Challenges