Hours later , militants in the Gaza Strip fired a rocket into an Israeli military base , injuring five soldiers .