Two men get 10-year rigorous imprisonment for attempt to murder