-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
packages/ida.plugin.scyllahide.vm/ida.plugin.scyllahide.vm.nuspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>ida.plugin.scyllahide.vm</id> | ||
<version>1.4</version> | ||
<description>ScyllaHide is an advanced open-source x64/x86 user mode Anti-Anti-Debug library.</description> | ||
<authors>NtQuery</authors> | ||
<dependencies> | ||
<dependency id="common.vm" /> | ||
</dependencies> | ||
</metadata> | ||
</package> |
30 changes: 30 additions & 0 deletions
30
packages/ida.plugin.scyllahide.vm/tools/chocolateyinstall.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
$ErrorActionPreference = 'Stop' | ||
Import-Module vm.common -Force -DisableNameChecking | ||
|
||
try { | ||
# Download the plugin | ||
$toolDir = Join-Path ${Env:chocolateyPackageFolder} "temp_$([guid]::NewGuid())" | ||
$toolUrl = "https://github.com/x64dbg/ScyllaHide/releases/download/v1.4/ScyllaHide_2023-03-24_13-03.zip" | ||
$toolSha256 = "edeb0dd203fd1ef38e1404e8a1bd001e05c50b6096e49533f546d13ffdcb7404" | ||
$packageArgs = | ||
@{ | ||
packageName = ${Env:ChocolateyPackageName} | ||
unzipLocation = $toolDir | ||
url = $toolUrl | ||
checksum = $toolSha256 | ||
checksumType = 'sha256' | ||
} | ||
Install-ChocolateyZipPackage @packageArgs | ||
|
||
# Install the plugin | ||
$pluginsDir = New-Item "$Env:APPDATA\Hex-Rays\IDA Pro\plugins" -ItemType "directory" -Force | ||
$pluginPath = Join-Path $toolDir "IDA\HookLibraryx64.dll" -Resolve | ||
$configPath = Join-Path $toolDir "IDA\scylla_hide.ini" -Resolve | ||
Copy-Item $pluginPath -Destination $pluginsDir | ||
Copy-Item $configPath -Destination $pluginsDir | ||
|
||
# Remove the temp installation folder | ||
Remove-Item $toolDir -Recurse | ||
} catch { | ||
VM-Write-Log-Exception $_ | ||
} |
9 changes: 9 additions & 0 deletions
9
packages/ida.plugin.scyllahide.vm/tools/chocolateyuninstall.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
$ErrorActionPreference = 'Continue' | ||
Import-Module vm.common -Force -DisableNameChecking | ||
|
||
# Remove the plugin | ||
$pluginsDir = "$Env:APPDATA\Hex-Rays\IDA Pro\plugins" | ||
$pluginPath = Join-Path $pluginsDir "HookLibraryx64.dll" -Resolve | ||
$configPath = Join-Path $pluginsDir "scylla_hide.ini" -Resolve | ||
Remove-Item $pluginPath | ||
Remove-Item $configPath |