Skip to content

Commit

Permalink
add new pacakge capa-explorer-web.vm
Browse files Browse the repository at this point in the history
  • Loading branch information
fariss committed Dec 10, 2024
1 parent 5fe6f9d commit 4a416d8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/capa-explorer-web.vm/capa-explorer-web.vm.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>capa-explorer-web.vm</id>
<version>1.0.0</version>
<authors>Soufiane Fariss</authors>
<description>Web interface for exploring and understanding capa results</description>
<dependencies>
<dependency id="common.vm" />
</dependencies>
</metadata>
</package>
10 changes: 10 additions & 0 deletions packages/capa-explorer-web.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -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
7 changes: 7 additions & 0 deletions packages/capa-explorer-web.vm/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$ErrorActionPreference = 'Continue'
Import-Module vm.common -Force -DisableNameChecking

$toolName = 'capa Explorer Web'
$category = 'Utilities'

VM-Uninstall $toolName $category

0 comments on commit 4a416d8

Please sign in to comment.