Sudan would have to end a 42-year winless streak in the African Nations Cup finals in their match against Burkina Faso in Bata on Monday to stand any chance of qualifying for the quarter-finals.
Sudan have not won a game at the tournament finals since their triumph in 1970 but must beat the Burkinabe in their last group match to keep alive their slim hopes.
At the same time, they would have to rely on Cote d'Ivoire finishing Group B with a win over Angola.
That would see the Ivorians take top place in the group with a 100 percent haul of nine points, while Sudan and Angola would end second on four points. They would then be separated by goal difference.
Sudan got their first goal since the 1976 tournament when they twice came from behind to draw 2-2 with Angola in Malabo in their last Group B match on Thursday. Earlier they had impressed but still lost against Cote d'Ivoire.
Burkina Faso coach Paulo Duarte might be taking charge of his last game when his team finish their African Nations Cup campaign: in an outburst against his own federation, he complained that passport problems hindered him from using three key players in the tournament - the foreign-born trio of Abdoulrazak Traore, Herve Zengue and Stephane Agbre.
But it was Duarte who recruited these players to strengthen his team, contrary to FIFA rules of international eligibility. As foreign-born players with no residential qualification time spent in Burkina Faso, fielding them Burkina Faso would be illegal.
The federation decided to proceed with caution to avoid any protests.
Although Namibia lost a protest in an arbitration court against Zengue's inclusion - on the basis of some questionable documentation about Zengue's supposed youth in Burkina Faso, the Burkinabe were still not prepared to risk fielding him in the tournament.
Duarte's outburst was basically a tirade against his own officials, who refused to allow him to cheat any further. Whatever the result against Sudan, it is likely that the relationship has broken down.