35 lines
1.1 KiB
Ruby
35 lines
1.1 KiB
Ruby
cask "burp-suite-professional" do
|
|
arch arm: "MacOsArm64", intel: "MacOsx"
|
|
|
|
version "2024.3.1.4"
|
|
sha256 arm: "1b3a1506f517297a4b9f520bd76137c6107b802286d094d1cffcd8f9c04f01d1",
|
|
intel: "69ba05171aa90298180698e8e5e31490a90b41f6f04c2d3b45516f3bae69b6de"
|
|
|
|
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["ResultSet"]["Results"]
|
|
next if all_versions.blank?
|
|
|
|
all_versions.filter_map do |item|
|
|
item["version"] if
|
|
item["releaseChannels"].include?("Stable") &&
|
|
item["categories"].include?("Professional") &&
|
|
item["builds"].any? do |build|
|
|
build["ProductPlatform"] == arch.to_s
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
app "Burp Suite Professional.app"
|
|
|
|
zap trash: "~/.BurpSuite"
|
|
end
|