I don’t see how the majority of comments paint this as a victory for Iran. Your entire formal military apparatus was destroyed, nuclear sites in rubble, defense industrial complex leveled, two levels of leadership KIA, and the only thing preventing you from permanent destruction or regime change is an impotent threat of attacking ships? I guess I’m missing something. War sucks but in this case Iran is a shell of the…
Their military capabilities are diminished in the short term, but if their ability to impose a toll on the Strait of Hormuz holds then that's a massive win for Iran in the medium/long term. A mere $2M per ship represents 10% of Iran's GDP. They would become the only country in the world to impose a toll on international waters, and they would have established a defensive deterrent almost as effective as having a nuclear bomb.
They took on the most powerful military ever seen and lived to tell the tale. It's hard to spin that as a loss for Iran.