Skip to content

Instantly share code, notes, and snippets.

View 0xPwny's full-sized avatar

Abdeljalil Nouiri 0xPwny

  • Segfault the world
  • Morocco
View GitHub Profile
@Mayfly277
Mayfly277 / EncodeAssembly.ps1
Last active April 14, 2024 02:24
This script is a modification of the one from @snovvcrash website : https://ppn.snovvcrash.rocks/pentest/infrastructure/ad/av-edr-evasion/dotnet-reflective-assembly and some code of PowerSharpPack. This is made to package some bniaries to powershell.
Function Invoke-EncodeAssembly
{
[CmdletBinding()]
Param(
[Parameter(Mandatory=$true)]
[String]
$binaryPath,
[Parameter(Mandatory=$true)]
[String]