cask "zenmap" do version "7.95" sha256 "fc069b88f6b64cbb56b02a644075d78df603d9417d3947ff32acc0566439de3c" url "https://nmap.org/dist/nmap-#{version}.dmg" name "Zenmap" desc "Multi-platform graphical interface for official Nmap Security Scanner" homepage "https://nmap.org/zenmap/" livecheck do url "https://nmap.org/dist/?C=M;O=D" regex(/href=.*?nmap[._-]v?(\d+(?:\.\d+)+)\.dmg/i) end conflicts_with formula: "nmap" pkg "nmap-#{version}.mpkg" uninstall pkgutil: [ "org.insecure.nmap", "org.insecure.nmap.ncat", "org.insecure.nmap.ndiff", "org.insecure.nmap.nping", "org.insecure.nmap.zenmap", ], delete: "/Applications/Zenmap.app" zap trash: [ "~/.zenmap", "~/Library/Saved Application State/org.insecure.Zenmap.savedState", ] end