cask "burp-suite-professional@early-adopter" do arch arm: "MacOsArm64", intel: "MacOsx" version "2025.6.3" sha256 arm: "02b300d3e6282119e65e7ef679b45b9e1720ab0933316c5f0392bafc6c3a2d8e", intel: "26f0370e35b549ad75a5f916ae52b9b8011074ed47eaabceedb03c2ff7c91a46" url "https://portswigger-cdn.net/burp/releases/download?product=pro&version=#{version}&type=#{arch}", verified: "portswigger-cdn.net/burp/releases/" name "Burp Suite Professional" desc "Web security testing toolkit" homepage "https://portswigger.net/burp/pro" livecheck do url "https://portswigger.net/burp/releases/data" strategy :json do |json| all_versions = json.dig("ResultSet", "Results") next if all_versions.blank? all_versions.filter_map do |item| item["version"] if item["releaseChannels"]&.include?("Early Adopter") && item["categories"]&.include?("Professional") && item["builds"]&.any? do |build| build["ProductPlatform"] == arch.to_s end end end end conflicts_with cask: "burp-suite-professional" depends_on macos: ">= :catalina" app "Burp Suite Professional.app" zap trash: "~/.BurpSuite" end