Two men have pleaded guilty to two violent muggings committed fewer than 24 hours apart, including bashing a schoolboy and stealing his MyWay bus card.

Gareth Benjamin Davies, 26, and Michael Ian Marshall, 22, yesterday pleaded guilty to two aggravated robberies committed in the city's south last month.

They were tracked down after police analysed high-quality CCTV footage from the crime scenes.

The pair remain in custody awaiting sentencing proceedings in the ACT Supreme Court.

On the evening of October 14 Davies and Marshall stalked their first victim from outside a Hughes supermarket. The victim was on his way home but, after seeing the pair, ran into a unit complex and started banging on doors, yelling for someone to call police.

Davies and Marshall set upon him, punching and kicking him, taking his wallet with $190 in cash.

The next afternoon their second victim, a student, was driving back to school during the lunch break.

The victim drove through a green light and spotted the two men in his rear-view mirror, ''waving their arms and giving him the finger''.

The student parked his car across the road from the school and the pair approached, one carrying a large rock. One asked, ''Do you have anything nice in the car'', according to a police statement of facts.

The victim grabbed a socket wrench from his door cavity but the pair disarmed him and proceeded to punch, kick and throttle him.

They made off with the wrench, a beanie and a MyWay bus pass - all worth a total of about $50.

They were tracked down and arrested the next day at a unit in the Hughes flats complex.