https://github.com/alexinslc/harken
Harken is a .NET HTTP Listener that allows you to run PowerShell commands via HTTP requests.
https://github.com/alexinslc/harken
hacktoberfest
Last synced: 5 months ago
JSON representation
Harken is a .NET HTTP Listener that allows you to run PowerShell commands via HTTP requests.
- Host: GitHub
- URL: https://github.com/alexinslc/harken
- Owner: alexinslc
- License: mit
- Created: 2015-08-30T17:36:38.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-08-30T18:28:08.000Z (almost 10 years ago)
- Last Synced: 2025-01-14T18:57:49.262Z (5 months ago)
- Topics: hacktoberfest
- Language: PowerShell
- Homepage:
- Size: 574 KB
- Stars: 13
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# harken
Harken is a Windows Service and .NET HTTP Listener that allows you to run PowerShell commands via HTTP requests.### Install Harken on Windows
1. **Run PowerShell as an Administrator**
2. `git clone` this repository.
3. `cd harken`
4. Source the file with `. \harken.ps1`
5. `Install-Harken`
6. Visit: `http://localhost:8888/harken?command=get-service winmgmt&format=text`
7. JSON PLZ?: `http://localhost:8888/harken?command=get-service winmgmt&format=json`### Uninstall Harken
1. **Run PowerShell as an Administrator**
2. `cd harken`
3. Source the file with `. \harken.ps1`
4. `Uninstall-Harken`#### Made Possible By:
* [PowerShell Team's Simple HTTP API Script](https://gallery.technet.microsoft.com/scriptcenter/Simple-REST-api-for-b04489f1)
* [NSSM - The Non-Sucking Service Manager](http://www.nssm.cc/)
* [Dill Pickle Spitz Sunflower Seeds](http://www.fritolay.com/snacks/product-page/nuts-and-seeds/spitz-dill-pickle-flavored-sunflower-seeds)