Skip to content

Instantly share code, notes, and snippets.

#Function written by Michael Gorelik, Twitter: @smgoreli
function ListOfLoadableExecutables
{
Param
(
[Parameter( Position = 0, Mandatory = $True )]
[String]
$DirLocation,
[Parameter( Position = 1, Mandatory = $True )]
@smgorelik
smgorelik / Hollowing.cs
Last active September 5, 2023 14:12
Simple Process Hollowing C#
/***************
* Simple Process Hollowing in C#
*
* #Build Your Binaries
* c:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe Hollowing.cs /unsafe
*
* @author: Michael Gorelik <smgorelik@gmail.com>
* gist.github.com/smgorelik/9a80565d44178771abf1e4da4e2a0e75
* #Most of the code taken from here: @github: github.com/ambray