burpsuite: 2026.1.2 -> 2026.3 (#501368)
This commit is contained in:
@@ -9,20 +9,20 @@
|
||||
}:
|
||||
|
||||
let
|
||||
version = "2026.1.2";
|
||||
version = "2026.3";
|
||||
|
||||
product =
|
||||
if proEdition then
|
||||
{
|
||||
productName = "pro";
|
||||
productDesktop = "Burp Suite Professional Edition";
|
||||
hash = "sha256-KF6VOXO3IKsysA3SBJJzL+G2yQEVpCQKL6IMYQhYFMc=";
|
||||
hash = "sha256-iGSXyF6Jh3eSuokzu8DNK6wIUw7a0px/Hg5QwzgMQY4=";
|
||||
}
|
||||
else
|
||||
{
|
||||
productName = "community";
|
||||
productDesktop = "Burp Suite Community Edition";
|
||||
hash = "sha256-5LNzF68VhGdWttzZCkw/Ign4x6V4EhU/EHMddeSVirk=";
|
||||
hash = "sha256-kr4Fa6NjaCiN6ulwr+HR6KN/DpYWFlzwnyO4E34x4yY=";
|
||||
};
|
||||
|
||||
src = fetchurl {
|
||||
|
||||
@@ -9,7 +9,7 @@ curl -s 'https://portswigger.net/burp/releases/data' | jq -r '
|
||||
[ .ResultSet.Results[]
|
||||
| select((.categories|sort) == (["Professional","Community"]|sort))
|
||||
| .builds[]
|
||||
| select(.ProductPlatform == "Jar")
|
||||
| select(.BuildCategoryPlatform == "Jar")
|
||||
] as $all
|
||||
| ($all | max_by( (.Version // "") | split(".") | map(tonumber? // 0) ) | .Version) as $v
|
||||
| $all | map(select(.Version == $v))
|
||||
@@ -17,8 +17,8 @@ curl -s 'https://portswigger.net/burp/releases/data' | jq -r '
|
||||
|
||||
version=$(jq -r '.[0].Version' latest.json)
|
||||
|
||||
comm_hex=$(jq -r '.[] | select(.ProductId=="community") .Sha256Checksum' latest.json)
|
||||
pro_hex=$(jq -r '.[] | select(.ProductId=="pro") .Sha256Checksum' latest.json)
|
||||
comm_hex=$(jq -r '.[] | select(.BuildCategoryId=="community") .Sha256Checksum' latest.json)
|
||||
pro_hex=$(jq -r '.[] | select(.BuildCategoryId=="pro") .Sha256Checksum' latest.json)
|
||||
|
||||
comm_sri="sha256-$(printf %s "$comm_hex" | xxd -r -p | base64 -w0)"
|
||||
pro_sri="sha256-$(printf %s "$pro_hex" | xxd -r -p | base64 -w0)"
|
||||
|
||||
Reference in New Issue
Block a user