{"id":17132216,"url":"https://github.com/bitsofinfo/powershell-command-executor-ui","last_synced_at":"2025-10-15T17:03:02.845Z","repository":{"id":26391686,"uuid":"29841239","full_name":"bitsofinfo/powershell-command-executor-ui","owner":"bitsofinfo","description":"AngularJS interface and simple Node.js REST api for testing Powershell command execution; built on top of powershell-command-executor and stateful-process-command-proxy","archived":false,"fork":false,"pushed_at":"2015-02-23T03:16:52.000Z","size":1018,"stargazers_count":30,"open_issues_count":1,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T07:55:39.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitsofinfo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-26T02:20:41.000Z","updated_at":"2024-04-13T03:26:19.000Z","dependencies_parsed_at":"2022-09-01T01:50:32.867Z","dependency_job_id":null,"html_url":"https://github.com/bitsofinfo/powershell-command-executor-ui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsofinfo%2Fpowershell-command-executor-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsofinfo%2Fpowershell-command-executor-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsofinfo%2Fpowershell-command-executor-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitsofinfo%2Fpowershell-command-executor-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitsofinfo","download_url":"https://codeload.github.com/bitsofinfo/powershell-command-executor-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248681491,"owners_count":21144700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T19:26:23.844Z","updated_at":"2025-10-15T17:03:02.769Z","avatar_url":"https://github.com/bitsofinfo.png","language":"JavaScript","readme":"# powershell-command-executor-ui\n\nAngularJS interface and simple Node.js REST api for testing Powershell command execution; built on top of [powershell-command-executor](https://github.com/bitsofinfo/powershell-command-executor) and [stateful-process-command-proxy](https://github.com/bitsofinfo/stateful-process-command-proxy)\n\n* [Setup](#setup)\n* [Related tools](#related)\n* [Security](#security)\n\n![Alt text](/diagram1.png \"Diagram1\")\n\n![Alt text](/diagram2.png \"Diagram2\")\n\n###\u003ca name=\"setup\"\u003e\u003c/a\u003e Setup\n\n1. Clone **this** repo\n\n2. Clone https://github.com/bitsofinfo/powershell-command-executor somewhere on the same machine (this module is not available via npm yet...)\n\n3. `npm install .`\n\n4. [Follow these instructions next](https://github.com/bitsofinfo/powershell-command-executor). Specifically you need to setup your stored encrypted credentials.\n\n5. Open `routes/index.js` and edit the `require` paths (specifically the path to where powershell-command-executor was cloned) and special path variables at the top, as appropriate for your local setup (i.e. paths to the encrypted credentials, secret key and decrypt routines described in item 3 above)\n\n6. Run `node bin\\www`\n\n7. In a browser go to http://localhost:3000\n\n8. You can tweak the commandRegistry provided by [o365Utils.js](https://github.com/bitsofinfo/powershell-command-executor/blob/master/o365Utils.js) as you wish to add additional command configurations, or modify `routes/index.js` to augment this structure manually as PSCommandService is constructed.\n\n9. DON'T expose this outside of localhost! Read the security section below.\n\n\n###\u003ca id=\"related\"\u003e\u003c/a\u003e Related Tools\n\nHave a look at these related projects which support this module and are required to use it\n\n* https://github.com/bitsofinfo/stateful-process-command-proxy - The root dependency of this module, provides the actual bridging between node.js and a pool of external shell processes\n* https://github.com/bitsofinfo/powershell-command-executor - The next dependency of this module, which provides the actual backend for the registry of executable commands and wraps the stateful-process-command-proxy\n* https://github.com/bitsofinfo/meteor-shell-command-mgr - Small Meteor app that lets you manage/generate a command registry for powershell-command-executor\n\n###\u003ca id=\"security\"\u003e\u003c/a\u003e Security\n\nThere is no security for this app! It should not be run as-is on a production host nor be accessible anywhere other than localhost without modification to secure it. [Why? Read more here! https://github.com/bitsofinfo/stateful-process-command-proxy#security](https://github.com/bitsofinfo/stateful-process-command-proxy#security)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitsofinfo%2Fpowershell-command-executor-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitsofinfo%2Fpowershell-command-executor-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitsofinfo%2Fpowershell-command-executor-ui/lists"}