Iran has pledged to give a 'crushing response' to recent attacks on Iranian military facilities.