Docker is the fastest way to get PywerView running on any Linux host without managing Python virtual environments or system-level Kerberos libraries. The official Dockerfile is based onDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/the-useless-one/pywerview/llms.txt
Use this file to discover all available pages before exploring further.
ubuntu:jammy and installs python3, python3-pip, and libkrb5-dev so that every authentication method — password, hash, Kerberos ccache, and certificate — works out of the box inside the container. The only thing you need on the host is Docker itself.
Build the Image
Clone the repository
Pull the PywerView source from GitHub. The Dockerfile lives at the repository root.
Build the Docker image
Build and tag the image. The Dockerfile copies the full source tree into
/app/, then runs python3 setup.py install to place the pywerview entry-point on the system path.The Dockerfile installs PywerView via
python3 setup.py install. If you modify the source code after the image is built, you must rebuild the image with docker build -t pywerview . for your changes to take effect inside the container.Run Commands
Password Authentication
Pass credentials directly on the command line. The--rm flag removes the container automatically after the command completes.
Kerberos Authentication
Kerberos requires a ccache ticket file to be visible inside the container. Mount the directory containing the ccache file and pointKRB5CCNAME at the in-container path using -e.
Certificate (SChannel) Authentication
For certificate-based LDAP authentication, mount the directory containing your.crt and .key files and pass their in-container paths to --cert and --key.
Authentication Methods at a Glance
Password
Pass
-u and -p flags directly. No volume mounts required. Simplest option for quick enumeration.Kerberos
Mount ccache file with
-v and set KRB5CCNAME with -e. Use -k on the pywerview command. Requires a valid TGS or TGT for the target service.Certificate
Mount certificate and key with
-v. Pass --cert and --key. Add --tls to force LDAPS. Useful after obtaining a cert via ntlmrelayx or certipy.