i have completed the challange and gained ownership of the contract but still , it does not validate or give flag
could be that you left the page open for too long, happened to me. I just refreshed the page, deployed a new instance and did the exploit again and it worked.