From what I remember, they tried to get the visiting Angels to have sex with them. From what happened the Angels were not exactly pleased with the proposition.
Even worse, they intended to rape them. And even when they were stricken with blindness, they tried groping for Lot’s door afterwards.