Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/samk1/IISPowershellModule

IIS Handler for *.ps1 files
https://github.com/samk1/IISPowershellModule

Last synced: 3 months ago
JSON representation

IIS Handler for *.ps1 files

Awesome Lists containing this project

README

        

# IISPowershellModule
IIS Handler for *.ps1 files

This is a really basic IIS handler for *.ps1 files.

All of the output of the powershell script becomes the response body.
The http context is available in any script executed by this handler as $HTTP_CONTEXT,
which means you can add headers, cookies, or write directly into the response object.

## (in)security

Think very carefully about running this module on a public IIS server.

eg:
```
Invoke-Expression $HTTP_CONTEXT.Request.QueryString.AllKeys.Single
```