If you make a mistake and attack our targets, whether in the region or in Iran, we will strike you again painfully,” Salami said at the funeral of a Guards general killed in an Israeli strike last month.

Abbas Nilforoushan, a top commander in the Islamic Revolutionary Guard Corps Quds Force foreign operations arm, was killed on September 27 alongside Hassan Nasrallah, the chief of Lebanon’s Hezbollah, in an Israeli strike on south Beirut.

During his speech Salami criticised as “not reliable” the THAAD missile defence battery which the Pentagon on Tuesday said arrived in Israel, along with about 100 American troops to operate it.

We know your weaknesses. You know them well,” he added addressing Israel.

The Terminal High Altitude Area Defense (THAAD) system is “designed to intercept targets outside and inside the atmosphere,” according to its manufacturer Lockheed Martin.

Salami’s remarks came as Iran’s Foreign Minister Abbas Araghchi intensified diplomatic efforts on ways to contain the conflicts in Gaza and Lebanon from spreading across the region. Araghchi has over the past nearly two weeks visited Lebanon, Syria, Saudi Arabia, Qatar, Iraq, Oman and Jordan. He is currently in Egypt and is scheduled to head to Turkey afterwards.

Iran has said its October 1 missile barrage, most of which was intercepted by Israeli air defences, according to Israel, was in retaliation for the killing of Nilforoushan, Nasrallah, and the political chief of the Palestinian movement Hamas.