Repository navigation
pwner 0.2.0
PCI DSS segmentation testing
pwner pci <cde> runs a PCI DSS 11.4.5 segmentation test, or 11.4.6 on the six-month service-provider cycle, with no model and no agent. Run it from a segment that is out of scope for the CDE and it reports whether the boundary held, exiting 0 isolated, 2 not isolated, 3 inconclusive, so it works as a gate.
It is not the question a port scan asks. A port scan wants to know what is listening; this wants to know whether a packet can arrive at all, so a closed port that answers with a RST is a failure of isolation rather than a pass. A TCP connect cannot tell a host RST from a firewall reject, so that case is reported as inconclusive instead of being guessed in either direction, and an inconclusive probe is never filed as a finding.
pci_retest covers the repeat half of 11.4.4 by re-probing findings already on the record. Neither tool makes anyone compliant: 11.4.2 and 11.4.3 require a qualified tester with organizational independence, 11.4.1 a documented methodology, and the quarterly external scan in 11.3.2 an Approved Scanning Vendor.
Choosing a model without restarting
/model and /provider change the model inside a running session, keeping the target, the findings and the conversation. pwner --pick offers the menu at launch, and the plain pwner launch stays instant.
Local models
Lemonade joins Ollama as a preset, and any other OpenAI-compatible server (llama.cpp, LM Studio, vLLM) works through --base-url. A local endpoint needs no API key.
One-command install
curl -fsSL https://pwner.si/install.sh | bashBuilds its own virtualenv under ~/.local/share/pwner, leaves the system Python alone, and puts pwner on your PATH. --with-tools installs the scanners too, --uninstall takes it all back out.
Fixes
- Ollama and Lemonade users were sent through the setup wizard on every launch, because "already configured" was decided by the presence of an API key and a server on your own hardware has none.
- A socket timeout was classified as a generic error rather than a dropped packet on Python 3.10, where
asyncio.TimeoutErroris not the builtinTimeoutError. On a working segmentation boundary that turned the most common outcome into "inconclusive". nuclei -update-templates -ducfetched zero templates, so the Docker image and the dependency installer were both shipping none. Measured: 0 with the flag, 14,104 without.- A web server that answers every path with the same page no longer exhausts the context window. Identical responses are grouped and the catch-all is named.
- The agent no longer spends dozens of steps hitting one endpoint with a new payload each time. A call-site window catches it in 12 calls instead of 60.
- A context window that overflows now compacts the transcript and retries, instead of ending the run.
Also
- Kali is detected as its own package ecosystem, so
pwner doctorhands you apt commands rather than the source builds a plain Debian box needs. The Docker image is based on Kali. - README in Spanish, German, Japanese and Turkish.
49 tools. 626 tests, of which 77 cover the scope boundary and 13 the consent gate. Python 3.10 to 3.13.
Authorized use only. pwner sends real traffic to the hosts you name and, with your approval, actively breaks into them.