{"id":13844899,"url":"https://github.com/attactics/PowerShellEmpireDocker","last_synced_at":"2025-07-12T00:32:15.832Z","repository":{"id":220054633,"uuid":"61978751","full_name":"attactics/PowerShellEmpireDocker","owner":"attactics","description":"PowerShell Empire docker build","archived":false,"fork":false,"pushed_at":"2016-06-27T04:50:45.000Z","size":11,"stargazers_count":24,"open_issues_count":0,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-05T17:43:10.540Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/attactics.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-06-26T07:34:07.000Z","updated_at":"2024-01-16T03:20:50.000Z","dependencies_parsed_at":"2024-01-31T03:57:31.519Z","dependency_job_id":"43d88799-0ba1-4299-ac7e-190db81a115a","html_url":"https://github.com/attactics/PowerShellEmpireDocker","commit_stats":null,"previous_names":["attactics/powershellempiredocker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attactics%2FPowerShellEmpireDocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attactics%2FPowerShellEmpireDocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attactics%2FPowerShellEmpireDocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attactics%2FPowerShellEmpireDocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/attactics","download_url":"https://codeload.github.com/attactics/PowerShellEmpireDocker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225772797,"owners_count":17521893,"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-08-04T17:03:01.902Z","updated_at":"2024-11-21T17:30:57.499Z","avatar_url":"https://github.com/attactics.png","language":"Shell","funding_links":[],"categories":["Shell (473)","Shell"],"sub_categories":[],"readme":"# PowerShell Empire Docker Build\nA docker build for PowerShell Empire by evasiv3 (x *at* attactics.org | PGP 2AB3FA6FCA75105F)\n\n###Usage \u0026 Considerations\nIn order to build the docker container yourself, you will need to clone this repository:\n```sh\ngit clone https://github.com/attactics/PowerShellEmpireDocker\n```\nOnce you have the repository cloned you will need to build the image from within the cloned directory:\n```sh\ncd PowerShellEmpireDocker\ndocker build -t PowerShellEmpire .\n```\nOnce the image has been built, a container can be created and ran. For example:\n```sh\ndocker run -it --name PowerShellEmpireDocker -p [HOST_IP]:[HOST_PORT]:[CONTAINER_PORT] -v /tmp:/tmp PowerShellEmpire\n```\nTaking a look at the run command:\n*  -it instructs docker to let us interact with the container (input \u0026 output)\n*  -p instructs docker to forward communication received on the host IP on port 8080 to the container on port 8080. This can be modified as desired, however it is important to specify the host interface you intend stagers to communicate with.\n*  -v create a volume linking the host /tmp directory to the containers /tmp directory. This exists to conveniently write stager output files to the host for use. By default, PowerShell Empire writes generated stager files to /tmp. The host location is arbitrary.\n\n#####Important Note\nBear in mind that when configuring listeners you must specify the IP address of the _host_ interface you intend to receive connections on. PowerShell Empire will bind a listener to 0.0.0.0, as such even if you specify an IP that does not exist within the container, it will bind without issue. Specifying the host interface when configuring the listener ensures that the stager is built with this same host interface, allowing it to connect back to the host as opposed to a local network interface that exists within docker networking.\n\n###I'm lazy!\nIf the above build process consists of more keys than you can bring yourself to type, the pre-built image can be found on docker hub. I intend to update them regulary. You can pull the image to your local device by executing the following\n```sh\ndocker pull attactics/powershellempire\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fattactics%2FPowerShellEmpireDocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fattactics%2FPowerShellEmpireDocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fattactics%2FPowerShellEmpireDocker/lists"}