Skip to content

Commit

Permalink
Install flare-capa in ida.plugin.capa.vm
Browse files Browse the repository at this point in the history
Install the Python library `flare-capa` in ida.plugin.capa.vm instead of
`libraries.python3.vm`. This is an easy change thanks to the
introduction of the `VM-Pip-Install` function.
  • Loading branch information
Ana06 committed Apr 25, 2024
1 parent 1412a5a commit 1c994a7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/ida.plugin.capa.vm/ida.plugin.capa.vm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>ida.plugin.capa.vm</id>
<version>7.0.1.20240424</version>
<version>7.0.1.20240425</version>
<description>capa explorer is an IDAPython plugin that integrates capa with IDA Pro.</description>
<authors>@mike-hunhoff, @williballenthin, @mr-tz</authors>
<dependencies>
<dependency id="common.vm" version="0.0.0.20240424" />
<dependency id="libraries.python3.vm" version="0.0.0.20230927" />
<dependency id="libraries.python3.vm" />
</dependencies>
</metadata>
</package>
3 changes: 3 additions & 0 deletions packages/ida.plugin.capa.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ $ErrorActionPreference = 'Stop'
Import-Module vm.common -Force -DisableNameChecking

try {
# Install dependency: capa Python library
VM-Pip-Install "flare-capa"

# Install plugin
$pluginName = "capa_explorer.py"
$pluginUrl = "https://raw.githubusercontent.com/mandiant/capa/v7.0.1/capa/ida/plugin/capa_explorer.py"
Expand Down
2 changes: 1 addition & 1 deletion packages/libraries.python3.vm/libraries.python3.vm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>libraries.python3.vm</id>
<version>0.0.0.20240416</version>
<version>0.0.0.20240425</version>
<description>Metapackage to install common Python libraries</description>
<authors>Several, check in pypi.org for every of the libraries</authors>
<dependencies>
Expand Down
1 change: 0 additions & 1 deletion packages/libraries.python3.vm/tools/modules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
<module name="dissect"/>
<module name="dncil"/>
<module name="dnfile"/>
<module name="flare-capa"/>
<module name="hexdump"/>
<module name="ldapdomaindump"/>
<module name="lznt1"/>
Expand Down

0 comments on commit 1c994a7

Please sign in to comment.