The terrorist behind the shooting attack which wounded two Israelis earlier was an officer in the Palestinian security forces.