In this paper, a new guidance problem with the impact time constraint for cooperative attack of multiple missiles is investigated, which can be applied to salvo attack of anti-ship missiles. It can be used to guide multiple missiles to hit a stationary target simultaneously at a desirable impact time. The considered impact time control problem can be transformed into a range tracking problem. Then the range tracking problem can be viewed a consensus problem of multi-missile systems. As the application of the distributed consensus controller of multi-agent systems, three distributed protocols are given to solve the cooperative attack problem for the advantages such as reducing cost, improving system efficiency, increasing flexibility and reliability of distributed control. Simulation results demonstrate the performance and feasibility of the given protocols.