Verify ownership¶
Kpal won't scan anything you haven't verified. This protects other people's systems, and it protects you.
Each asset has its own token. Go to Scans, pick the asset in the Verify ownership panel, and choose a method. The panel shows the token.
Domains and hosts: DNS (recommended)¶
Add a TXT record on the name itself:
| Name | Type | Value |
|---|---|---|
example.com |
TXT | kpal-verify=<your token> |
Then click Check now. DNS changes can take a few minutes to show up.
When a domain is verified, every host under it (api.example.com, www.example.com) is verified too.
Hosts: a file on the web server¶
If you can't change DNS, serve the token as plain text at:
http://<host>/.well-known/kpal-verify.txt
The file should contain only the token. Kpal doesn't follow redirects.
IP ranges¶
Put the same file on at least one web server inside the range. Kpal checks it on each host it scans in that range.
It still says "Not verified"¶
- Check the TXT record is on the exact name, not a subdomain.
- Make sure the file returns
200over plain HTTP, with no redirect. - Click Check now again. Kpal also checks pending assets in the background.