Skip to content

Commit

Permalink
Merge pull request #1090 from mandiant/package-pe_unmapper
Browse files Browse the repository at this point in the history
🤖 Add pe_unmapper.vm
  • Loading branch information
Ana06 authored Jun 13, 2024
2 parents 6b0a9e6 + 43b162f commit 24c47d7
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/pe_unmapper.vm/pe_unmapper.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>pe_unmapper.vm</id>
<version>1.0</version>
<authors>hasherezade</authors>
<description>Small tool to convert beteween the PE alignments (raw and virtual)</description>
<dependencies>
<dependency id="common.vm" version="0.0.0.20240509" />
</dependencies>
</metadata>
</package>
10 changes: 10 additions & 0 deletions packages/pe_unmapper.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

$toolName = 'pe_unmapper'
$category = 'PE'

$zipUrl = 'https://github.com/hasherezade/pe_unmapper/releases/download/v1.0/pe_unmapper.zip'
$zipSha256 = '02507845a7df01f9cccfe657548712bcce094e2940c7c63556ae39bbe7fc79dd'

VM-Install-From-Zip $toolName $category $zipUrl -zipSha256 $zipSha256 -consoleApp $true -innerFolder $false
7 changes: 7 additions & 0 deletions packages/pe_unmapper.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 = 'pe_unmapper'
$category = 'PE'

VM-Uninstall $toolName $category

0 comments on commit 24c47d7

Please sign in to comment.