Skip to content

Instantly share code, notes, and snippets.

View catthehacker's full-sized avatar

Ryan catthehacker

View GitHub Profile
@catthehacker
catthehacker / powershell-web-server.ps1
Created January 5, 2020 16:03 — forked from 19WAS85/powershell-web-server.ps1
A simple web server built with powershell.
# This is a super **SIMPLE** example of how to create a very basic powershell webserver
# 2019-05-18 UPDATE — Created by me and and evalued by @jakobii and the comunity.
# Http Server
$http = [System.Net.HttpListener]::new()
# Hostname and port to listen on
$http.Prefixes.Add("http://localhost:8080/")
# Start the Http Server