nishang – PowerShell For Penetration Testing

Outsmart Malicious Hackers

Nishang is a framework and collection of scripts and payloads which enables usage of PowerShell for penetration testing, offensive security and red teaming. Nishang is useful during all phases of penetration testing.

nishang - PowerShell For Penetration Testing


Import all the scripts in the current PowerShell session (PowerShell v3 onwards).

Use the individual scripts with dot sourcing.

To get help about any script or function, use:

Note that the help is available for the function loaded after running the script and not the script itself since version 0.3.8. In all cases, the function name is same as the script name.

For example, to see the help about Get-WLAN-Keys.ps1, use


Nishang comes with a myriad of scripts divided into various categories:

  • ActiveDirectory
  • Backdoors
  • Clients
  • Escalation
  • Execution
  • Gathering
  • MiTM
  • Pivoting
  • Scanning
  • Powerpreter
  • Shells
  • Utilities

You can download Nishang here:

Or read more here.

Posted in: Exploits/Vulnerabilities, Hacking Tools, Windows Hacking

, , , , , , , ,

Recent in Exploits/Vulnerabilities:
- DJI Firmware Hacking Removes Drone Flight Restrictions
- GnuPG Crypto Library libgcrypt Cracked Via Side-Channel
- NotPetya Ransomeware Wreaking Havoc

Related Posts:

Most Read in Exploits/Vulnerabilities:
- Learn to use Metasploit – Tutorials, Docs & Videos - 238,537 views
- AJAX: Is your application secure enough? - 120,734 views
- eEye Launches 0-Day Exploit Tracker - 86,320 views

Comments are closed.