Its attackers had to fire their rockets from hundreds of yards away , with a makeshift launcher hidden in a portable electric generator .