Aberdeen continued their revival and kept hold of third place in the Scottish Premiership after Oday Dabbagh's injury-time goal edged out Kilmarnock.
The Palestinian international striker, making his home debut, latched on to a Leighton Clarkson pass and converted at the back post to ensure consecutive league wins for Jimmy Thelin's side and three in all competitions.
With both sides taking back-to-back wins into the game, there was a positive mood at Pittodrie, but chances were at a premium in a high tempo first half which burst into life as the interval approached.
Referee Nick Walsh awarded Kilmarnock a penalty after Liam Donnelly went down in the box under pressure from Kristers Tobers, but that decision was overturned after the offical was called over to consult the screens.
Moments later, Aberdeen had the ball in the back of the net, but Jeppe Okkels' curling effort was ruled out for offside after another VAR intervention.
The second half was a similar story – plenty of endeavour, but not a huge amount of quality.
Aberdeen went close just before the hour when Pape Habib Gueye played in Topi Keskinen, whose angled shot was parried away by Kieran O'Hara.
And it was the hosts who looked the most likely to snatch the points.
As full time approached, great build-up play ended with a Kevin Nisbet shot striking a post. But they weren't to be denied, with Dabbagh striking at the death.