The attack outraged Hamas , which promised revenge .