Skip to content

Instantly share code, notes, and snippets.

View crimsoncore's full-sized avatar
🎯
Focusing

CrimsonCORE crimsoncore

🎯
Focusing
View GitHub Profile
#include <stdio.h>
#include <Windows.h>
#include <MSCorEE.h>
#include <MetaHost.h>
#include <evntprov.h>
int main()
{
ICLRMetaHost* metaHost = NULL;
IEnumUnknown* runtime = NULL;
@crimsoncore
crimsoncore / Get-CSharp.ps1
Created December 5, 2020 14:18 — forked from mubix/Get-CSharp.ps1
Powershell Get-CSharp
function Get-CSharpProcess {
$proclist = Get-Process
foreach($proc in $proclist) {
foreach($mod in $proc.Modules)
{
if($mod.ModuleName -imatch "mscoree")
{
Write-Output(".NET Found in:`t" + $proc.Name)
}
}