Skip to content

Commit

Permalink
Merge pull request #682 from mandiant/package-reg_export
Browse files Browse the repository at this point in the history
🤖 Add reg_export.vm
Ana06 authored Oct 9, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 905f365 + 99d66a0 commit 2891eed
Showing 3 changed files with 29 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/reg_export.vm/reg_export.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>reg_export.vm</id>
<version>1.3</version>
<authors>Adam Kramer</authors>
<description>A CLI that exports the raw content of a registry value to a file</description>
<dependencies>
<dependency id="common.vm" />
</dependencies>
</metadata>
</package>
10 changes: 10 additions & 0 deletions packages/reg_export.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 = 'reg_export'
$category = 'Utilities'

$exeUrl = 'https://github.com/adamkramer/reg_export/releases/download/v1.3/reg_export.exe'
$exeSha256 = '0786cf26a63a059986fa7c568c1833825104e52565c17ff777f45d3118a8b274'

VM-Install-Single-Exe $toolName $category $exeUrl -exeSha256 $exeSha256 -consoleApp $true
7 changes: 7 additions & 0 deletions packages/reg_export.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 = 'reg_export'
$category = 'Utilities'

VM-Uninstall $toolName $category

0 comments on commit 2891eed

Please sign in to comment.