SYDNEY -- Mathew Leckie steered the Socceroos to a last-gasp 1-0 win over Greece, dramatically striking in added time to break the deadlock in a high-tempo and physical friendly.
Australia threw everything at their visitors on Saturday night at ANZ Stadium, where the rain mercifully held off for the 38,682 who watched the first of two ties between the sides.
Four minutes after Tim Cahill's 89th-minute goal was disallowed when the ball went out of play, Leckie arrived to fire in the winner from the edge of the penalty area in the final action of the match.
Debutant Alex Gersbach provided the assist, proving instrumental in his 10 minutes on the field.
The goal was a long time coming for Ange Postecoglou's men who, despite their superior possession and 17 shots on goal to Greece's five, lacked the finishing touch on a patchy pitch.
Greece's defence provided a test for the Socceroos' developing attack, spearheaded by Greek-born Apostolos Giannou.
It was telling Michael Skibbe's visitors also brought the new-found aggression, with Apostolos Vellios nearly opening the scoring after one early attacking foray.
Greece were in danger of losing not one but two goalkeepers to injury in a busy night for medics.
Orestis Karnezis was forced off inside 10 minutes after receiving a heavy blow in an aerial contest with Mile Jedinak before his replacement, Stefanos Kapino, was left worse for wear after smashing into the post while saving a would-be own goal.
That he continued was fortunate for Greece who, after a threatening start, were stretched and sapped as Australia became desperate to penetrate.
Nathan Burns should have netted first. With only Kapino to beat, the winger rolled his sliding effort wide before reinstated midfielder Mark Milligan narrowly cleared the crossbar and had another effort excellently saved by the Greece custodian.
Australia thought the time had come when Ioannis Maniatis recklessly brought down Robbie Kruse just inside the area, but calls for a penalty went unheeded.
Postecoglou shuffled the decks with half an hour to go, substituting Robbie Kruse and Aaron Mooy for Mathew Legic and Tom Rogic before bringing off Giannou and Burns for Tim Cahill and Chris Ikonomidis.
The spark was lit and the Socceroos attacked in waves, with Cahill heading just wide, Rogic following suit with his boot and Trent Sainsbury hitting the post.
Cahill's celebrations were cut short by the referee, but were ignited once more when Leckie had his moment.