# chvancooten/OSEP-Code-Snippets

A repository with my notable code snippets for Offensive Security's PEN-300 (OSEP) course.

Repository: https://github.com/chvancooten/OSEP-Code-Snippets
Canonical: https://ross.abutalabs.com/products/osep-code-snippets
Language: C#
License Family: other
Last push: 2025-07-27T11:54:56+00:00

## Health v2 (maintenance only)
Score: 47/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 33, release rhythm 35, longevity 100
- inputs: {"age_days": 2002, "days_push": 402, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1464, forks 483 (observed 2026-08-28T04:04:47.841843+00:00)

## What it is
A collection of code snippets and boilerplate tools for Offensive Security's PEN-300 (OSEP) course, covering Windows privilege escalation, lateral movement, shellcode loaders, and AV evasion techniques. Snippets are written mainly in C# with some Python and C utilities, and are intended as educational reference material for penetration testers.

## Use cases
- study for the OSEP / PEN-300 exam
- find shellcode loader and process injection examples
- learn Windows privilege escalation techniques like PrintSpoofer and AlwaysInstallElevated
- get boilerplate for LSASS minidumping and lateral movement
- encode or obfuscate shellcode payloads with XOR or ROT
- reference reflective loading of C# payloads in PowerShell

## When to choose
- you are preparing for the OSEP certification or studying offensive Windows techniques
- you need reference implementations of common red-team tradecraft in C#
- you want educational examples of process injection and evasion

## When to avoid
- you need production-ready, maintained security tooling with a license and support
- you are looking for defensive security or blue-team tooling
- you need a polished application rather than raw course snippets

## Facets
- artifact type: learning-resource
- maturity: active
- function: security, penetration-testing, boilerplate, developer-tools
- domain: security, penetration-testing, developer-tools
- platform: windows, cross-platform, cli
- tags: red-team, osep, pen-300, shellcode, offensive-security, csharp, code-snippets, evasion

## Member repositories
- chvancooten/OSEP-Code-Snippets (main) score 47

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:47.841843+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:35:09.538152+00:00, confidence not recorded.
  - readme: https://github.com/chvancooten/OSEP-Code-Snippets (fetched 2026-08-28T04:04:47.841843+00:00, sha c5906e8d9876)
- Data as of 2026-08-30T08:39:29.467469+00:00.
