OSINT tool
Install knockpy on Windows, macOS and Linux
Enumerate subdomains by passive lookup and wordlist, with HTTP and TLS checks.
ot install knockpyKnockpy finds subdomains two ways, by asking passive sources and by testing a wordlist, then checks each one's DNS, HTTP response and TLS certificate in the same run.
How to install knockpy
ot install knockpyot installs knock-subdomains 9.0.0 with uv into a Python environment of its own under ~/.ot, so it cannot conflict with your system Python or with any other tool.
New to ot? It is one command to install, shown below.
How to use knockpy
Arguments after the tool's name go straight to knockpy, so its own documentation applies unchanged.
Use both passive sources and the wordlist.
ot run knockpy -d example.com --recon --bruteforcePassive sources only, as JSON.
ot run knockpy -d example.com --recon --jsonot run knockpy --help lists every option. The project's own documentation is at github.com/guelfoweb/knock.
An AI agent can run knockpy too: ot mcp serves it over the Model Context Protocol. See OSINT with AI agents.
knockpy licence, platforms and versions
| Project | https://github.com/guelfoweb/knock |
| Licence | GPL-3.0 |
| Runs on | Windows, macOS and Linux |
| Takes | domain |
| Sends traffic to the target | No |
| Python package | knock-subdomains 9.0.0, in its own isolated environment |
Questions about knockpy
How do I install knockpy on Windows?
Open PowerShell and install ot with irm https://otinstaller.com/install.ps1 | iex. Then run ot install knockpy. ot fetches a pinned version of knockpy and keeps it under ~/.ot, apart from the rest of your system.
Is knockpy free?
Yes. knockpy is open source, released under the GPL-3.0 licence. ot, which installs it, is free under the Apache 2.0 licence.
Do I need to set up Python to use knockpy?
No. ot installs knockpy with uv into a virtual environment of its own, separate from your system Python. If uv is not installed, ot fetches its own copy first.
How do I update or remove knockpy?
ot update knockpy moves it to the version pinned in ot's registry, and ot update knockpy --latest to the newest upstream release. ot remove knockpy uninstalls it.
Install ot
curl -fsSL https://otinstaller.com/install.sh | shirm https://otinstaller.com/install.ps1 | iexRun it in PowerShell.
Current version: 0.3.0. Both scripts verify the download against its SHA-256 checksum before installing.