PowerShell Empire is a PowerShell and Python post-exploitation agent. This repo is built around having a dockerized container of PowerShell Empire for easy reuse and portability
PowerShell Empire | Building an Empire with PowerShell
GitHub - EmpireProject/Empire: Empire is a PowerShell and Python post-exploitation agent.
Hacking and security: PowerShell Empire Docker Build
docker build --tag empire .
Also available pre-built from docker hub docker pull ly4e/empire-docker
docker container run --rm -it --publish 80:80 -p 443:443 -p 8080:8080 \
-v $(pwd)/Empire/tmp:/tmp \
-v $(pwd)/Empire/downloads:/opt/Empire/downloads \
ly4e/empire-docker
-p 80:80
exposes port 80 within the docker container to port 80 on the host
-v $(pwd)/Empire/tmp:/tmp
By default, PowerShell Empire writes generated stager files to /tmp. This volume mapping exists to conveniently write stager output files to the host for later use.
-v $(pwd)/Empire/downloads:/opt/Empire/downloads
The “downloads” directory is where loot/agent logs are stored.