{"id":16298537,"url":"https://github.com/sheepreaper/sheep.commandandcontrol","last_synced_at":"2025-03-20T05:30:47.746Z","repository":{"id":37825729,"uuid":"189473836","full_name":"SheepReaper/Sheep.CommandAndControl","owner":"SheepReaper","description":"Multi purpose command and control server with api and documentation, technology demonstration","archived":false,"fork":false,"pushed_at":"2024-04-13T10:02:35.000Z","size":344850,"stargazers_count":3,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-13T21:52:02.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SheepReaper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-05-30T19:54:44.000Z","updated_at":"2024-04-15T18:57:42.609Z","dependencies_parsed_at":"2024-02-02T12:52:01.780Z","dependency_job_id":"dea81e56-9531-4294-b813-2ae3aeb7375a","html_url":"https://github.com/SheepReaper/Sheep.CommandAndControl","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/SheepReaper%2FSheep.CommandAndControl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SheepReaper%2FSheep.CommandAndControl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SheepReaper%2FSheep.CommandAndControl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SheepReaper%2FSheep.CommandAndControl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SheepReaper","download_url":"https://codeload.github.com/SheepReaper/Sheep.CommandAndControl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244559698,"owners_count":20472206,"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-10T20:44:34.632Z","updated_at":"2025-03-20T05:30:42.737Z","avatar_url":"https://github.com/SheepReaper.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prototype Command and Control Server with UI and API\nThis project originated as a coding challenge: given an implant communication specification, write a CnC server.\n\nI will not share the specification, nor a sample implant.\n\nThe utility of this software merits sharing it, and is also a demonstration of various technologies working together:\n- ASP.Net Core (Api Server)\n- Vue.js\n- Vue-router\n- Modern browser fetch api\n- Docker\n- EntityFramework Core\n- Swashbuckle\n- SwaggerUI\n\nThis is nowhere near a production quality application. It was put together in less than 12 hours, but I will consider cleaning it up in future.\n\nAlso, parts of the application are currently broken, but this was originally intended for a one-time demonstration.\n\n## Installation\nAssuming this will all run on your own system:\n- I used VS 2019 Community Edition as my IDE. I feel if you already don't have a copy, [then go get one](https://visualstudio.microsoft.com/)\n- I also used VS Code for the Vue App, because Visual Studio doesn't get on well with what I needed (So it's optional)\n- You will also need npm [get it gere](https://nodejs.org/en/)\n- and Docker\n- and hyper-V, because Docker (on windows, but i don't know the requirements for other systems)\n\n- Open the solution file with visual studio.\n- As long as docker-compose is set as the startup item, it should all kick off when you hit F5\n**Leave all build configurations on Debug! I didn't get everything working on Release**\n\n- The Api Server should be running on https://localhost:5001\n\n- Then PowerShell over to the project root of the ListeningPostWebUi project (from the repo root it's: /src/ListeningPostWebUi)\n- Then just call\n```PowerShell\nnpm run dev\n```\n\n- The Web UI should now be running on http://localhost:8080 (notice the non-TLS scheme)\n\n### Caveats\nYou may need to copy a certificate from the root of this repository: *.pfx to C:\\tmp (yes, i realize it's tmp instead of temp).\nthe docker container may need to read it to start correctly. If you need to trust it or something, the password is: \"thisisnotasecurepassword\" (minus quotes)\n\n### Screen Shots\nIn the event you can't get this running for some reason, here are some screen shots:\n\n#### Dispatcher Screen\n![alt text][screen1]\n\n#### Swagger UI Documentation Screen\n![alt text][screen2]\n\n#### File Manager (broken) Screen\n![alt text][screen3]\n\n[screen1]: docs/img/CnCscreen1.png \"Screen Shot - Dispatcher Screen\"\n[screen2]: docs/img/CnCscreen2.png \"Screen Shot - Api Documentation Screen\"\n[screen3]: docs/img/CnCscreen3.png \"Screen Shot - File Manager Screen\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheepreaper%2Fsheep.commandandcontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheepreaper%2Fsheep.commandandcontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheepreaper%2Fsheep.commandandcontrol/lists"}