Skip to content

Instantly share code, notes, and snippets.

@Fadavvi
Fadavvi / _notes.md
Created September 3, 2025 21:37 — forked from djhohnstein/_notes.md
AppDomainManager Injection

Let's turn Any .NET Application into an LOL Bin

We can do this by experimenting with .config files.

Many defenders catch/detect files that are renamed, they do this by matching Original Filename to Process Name

In this example, we don't have to rename anything. We simple coerce a trusted signed app to load our Assembly.

We do this by directing the application to read a config file we provide.

@Fadavvi
Fadavvi / shellcode.js
Created September 3, 2025 21:33 — forked from Ridter/shellcode.js
Execute ShellCode Via Jscript.NET
import System;
import System.Runtime.InteropServices;
import System.Reflection;
import System.Reflection.Emit;
import System.Runtime;
import System.Text;
//C:\Windows\Microsoft.NET\Framework\v2.0.50727\jsc.exe Shellcode.js
//C:\Windows\Microsoft.NET\Framework\v4.0.30319\jsc.exe Shellcode.js
@Fadavvi
Fadavvi / jscript.ps1
Created September 3, 2025 21:33 — forked from gabemarshall/jscript.ps1
Executing JScript from Powershell via .NET reflection
[Reflection.Assembly]::LoadWithPartialName('Microsoft.JScript');
$js = 'var js = new ActiveXObject("WScript.Shell");js.Run("calc");'
[Microsoft.JScript.Eval]::JScriptEvaluate($js,[Microsoft.JScript.Vsa.VsaEngine]::CreateEngine());
@Fadavvi
Fadavvi / ANSI.md
Created September 3, 2025 21:32 — forked from fnky/ANSI.md
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@Fadavvi
Fadavvi / CVE-2022-38580
Last active September 22, 2022 10:56
CVE-2022-38580
Name of an affected Product: Skipper [AKA Zalando Skipper] <= v0.13.236
Description: Zalando Skipper (<= v0.13.236) is vulnerable to Server-Side Request Forgery
Affected version(s): <= v0.13.236
Fixed Version: v0.13.237
CVE ID: CVE-2022-38580
Vulnerability Type: SSRF [Server-Side Request Forgery]
Root Cause: Custome Header [X-Skipper-Proxy]
References: https://github.com/zalando/skipper/releases/tag/v0.13.237