Three young men pleaded guilty for their part in a brutal attack on two off-duty police officers in Sydney last year.