Cameroon posed a threat to Egypt's Nations Cup hopes because they eyed revenge, coach Hassan Shehata said following the Pharaohs' 3-1 win on Monday. Six-time African champions Egypt edged closer to winning an unprecedented third continental title after coming from behind to earn a nervy win over Cameroon after extra time. Skipper Ahmed Hassan headed into his own net to give Cameroon the lead but atoned for his mistake by leveling the score before halftime. Substitute Mohamed Nagi 'Geddo' scored in extra time and Hassan, who was celebrating his record 170th international appearance, notched his second of the night to sink Cameroon in Benguela. "Cameroon went into the match with revenge on their minds and their determination helped them take control of the game for long periods," Shehata told Egyptian radio after the game. "Their keeper (Carlos Kameni) refused to shake hands with (Egypt keeper) Essam Al-Hadari before the game, and this shows how nervous they were because they wanted to avenge their defeats against us. "Thankfully, we managed to overcome them to continue our path towards the final." Egypt beat Cameroon twice, in the opener and final, to lift the 2008 Nations Cup trophy in Ghana. They will face fierce rivals Algeria in the semi final on Thursday, with no love lost between both sides. Algeria denied Egypt their first World Cup appearance since 1990 when they beat them 1-0 in a controversial playoff in Sudan. "We will celebrate our victory over Cameroon today, and will start our preparations for the Algeria clash tomorrow," Shehata added.