# samratashok/nishang

Nishang - Offensive PowerShell for red team, penetration testing and offensive security.

Repository: https://github.com/samratashok/nishang
Canonical: https://ross.abutalabs.com/products/nishang
Language: PowerShell
License: NOASSERTION
License Family: other
Topics: powershell, nishang, security, red-team, penetration-testing, infosec, hacking, redteam, activedirectory
Last push: 2024-04-25T19:39:44+00:00

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

## Adoption (not part of the score)
Stars 10069, forks 2543 (observed 2026-08-28T04:10:39.459751+00:00)

## What it is
Nishang is a framework and collection of PowerShell scripts and payloads for offensive security, penetration testing, and red teaming. It covers all phases of a penetration test, including information gathering, reverse shells, and in-memory script execution.

## Use cases
- run a reverse shell on a windows target during a pentest
- gather system and network information with powershell
- execute powershell scripts in memory to evade antivirus
- encode powershell payloads for use from non-powershell shells
- dump wlan keys and credentials during red team engagement
- perform active directory enumeration and post-exploitation

## When to choose
- you are doing authorized penetration testing or red teaming on windows environments
- you need a broad toolkit of offensive powershell scripts usable in-memory
- you want to chain payloads from meterpreter, web shells, or remote shells

## When to avoid
- you need defensive security tooling or malware detection
- you are working on non-windows targets without powershell
- you want a stealthy framework that is not flagged by antivirus out of the box

## Facets
- artifact type: framework
- maturity: active
- function: security, penetration-testing, cli, developer-tools
- domain: security, penetration-testing, windows
- platform: windows, cli
- tags: red-team, powershell, offensive-security, post-exploitation, reverse-shell, active-directory, infosec

## Member repositories
- samratashok/nishang (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:39.459751+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-29T17:19:53.131779+00:00, confidence not recorded.
  - readme: https://github.com/samratashok/nishang (fetched 2026-08-28T04:10:39.459751+00:00, sha d7b219f06d48)
- Data as of 2026-08-30T08:39:29.467469+00:00.
