Two boys guilty of attempted rape