From 4a416d8fd92743867ac4430711ebc2f33bdd3874 Mon Sep 17 00:00:00 2001 From: fariss Date: Thu, 28 Nov 2024 20:43:47 +0100 Subject: [PATCH] add new pacakge capa-explorer-web.vm --- .../capa-explorer-web.vm/capa-explorer-web.vm.nuspec | 12 ++++++++++++ .../capa-explorer-web.vm/tools/chocolateyinstall.ps1 | 10 ++++++++++ .../tools/chocolateyuninstall.ps1 | 7 +++++++ 3 files changed, 29 insertions(+) create mode 100644 packages/capa-explorer-web.vm/capa-explorer-web.vm.nuspec create mode 100644 packages/capa-explorer-web.vm/tools/chocolateyinstall.ps1 create mode 100644 packages/capa-explorer-web.vm/tools/chocolateyuninstall.ps1 diff --git a/packages/capa-explorer-web.vm/capa-explorer-web.vm.nuspec b/packages/capa-explorer-web.vm/capa-explorer-web.vm.nuspec new file mode 100644 index 00000000..272096ff --- /dev/null +++ b/packages/capa-explorer-web.vm/capa-explorer-web.vm.nuspec @@ -0,0 +1,12 @@ + + + + capa-explorer-web.vm + 1.0.0 + Soufiane Fariss + Web interface for exploring and understanding capa results + + + + + diff --git a/packages/capa-explorer-web.vm/tools/chocolateyinstall.ps1 b/packages/capa-explorer-web.vm/tools/chocolateyinstall.ps1 new file mode 100644 index 00000000..c8ed31c8 --- /dev/null +++ b/packages/capa-explorer-web.vm/tools/chocolateyinstall.ps1 @@ -0,0 +1,10 @@ +$ErrorActionPreference = 'Stop' +Import-Module vm.common -Force -DisableNameChecking + +$category = 'Utilities' +$toolName = 'capa Explorer Web' +$zipUrl = 'https://github.com/mandiant/capa/raw/refs/heads/master/web/explorer/releases/capa-explorer-web-v1.0.0-6a2330c.zip' +$zipSha256 = '3a7cf6927b0e8595f08b685669b215ef779eade622efd5e8d33efefadd849025' + +$executableName = "index.html" +VM-Install-From-Zip $toolName $category $zipUrl $zipSha256 -executableName $executableName -withoutBinFile -innerFolder $true diff --git a/packages/capa-explorer-web.vm/tools/chocolateyuninstall.ps1 b/packages/capa-explorer-web.vm/tools/chocolateyuninstall.ps1 new file mode 100644 index 00000000..d250d526 --- /dev/null +++ b/packages/capa-explorer-web.vm/tools/chocolateyuninstall.ps1 @@ -0,0 +1,7 @@ +$ErrorActionPreference = 'Continue' +Import-Module vm.common -Force -DisableNameChecking + +$toolName = 'capa Explorer Web' +$category = 'Utilities' + +VM-Uninstall $toolName $category