Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/samk1/IISPowershellModule
- Owner: samk1
- Created: 2018-09-23T06:00:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-08T07:45:18.000Z (almost 5 years ago)
- Last Synced: 2024-04-18T07:02:32.493Z (7 months ago)
- Language: C#
- Size: 12.7 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - samk1/IISPowershellModule - IIS Handler for *.ps1 files (C# #)
README
# IISPowershellModule
IIS Handler for *.ps1 filesThis 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
```