Conkeyscan
A Pentesters Confluence Keyword Scanner
Using the Confluence API search functionality and CQL queries to search for keywords.
Installation
- Install from PyPI
pip install conkeyscan - Create a custom dictionary with search terms per line (recommended but optional).
- And then run it
conkeyscan -url 'https://example.atlassian.net' --username 'ex@amp.le' --password 'ATAT...' -p 'socks5://127.0.0.1:1337' -d ./dict.txt
- Ask for further help
conkeyscan -h
Get Up And Running Manually
-
Install dependencies
pip install -r requirements.txt -
Update the
src/conkeyscan/config/dict.txtfile, containing keywords you want to search for. One per line. -
run it
python3 -m conkeyscan.conkeyscan --url http://192.168.1.2:8090/ --username someUsr --password somePassOrAPIkey
Authentication
It is possible to use a password or an API key.
To create an API key in the cloud go to: https://id.atlassian.com/manage-profile/security/api-tokens.
If testing against OnPrem instance you can create an API key in the user settings (and use conkeyscan with the parameter -on-prem-pat or -t for certain versions).
Dictionary
The default dict.txt file was taken from from Conf-Thief.
Features
- Search for provided keywords
- Handle rate limiting by itself, as long as the returned status code equals
HTTP 429, or specify max requests per second in CLI - The user agent is randomized
- Proxying is supported either via HTTP or socks. See cli help for examples
- Custom CQL
- SSL/TLS checks are disabled by default
- Supports cloud- and datacenter/server editions
Alternatives
- https://spark1.us/n0s1 actually great, supports Jira and others as well, has some drawbacks in on-prem engagements e.g disable TLS verification, missing Proxying, rate-limiting adaption?. Scans everything, nice for CI.
- https://github.com/BluBracket/confluence-risk-scanner
- https://github.com/antman1p/Conf-Thief
Metadata
Release files for conkeyscan 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| conkeyscan-1.1.0.tar.gz | 6.8 kB | Without provenance | Details for conkeyscan-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| conkeyscan-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for conkeyscan-1.1.0-py3-none-any.whl |
Total release size: 14.3 kB
Release files / conkeyscan-1.1.0.tar.gz
| Download URL | conkeyscan-1.1.0.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22fc8f9dc50ac25e2dd929536edadfcaa4dfe23d599482dc0b164e1e6f3b141c
|
|
BLAKE2b-256 checksum How to use checksums |
63191cc2be3bd7e1234d1f8f0a98f97e5cf79f16b48c3eea19ffe807b4be9764
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / conkeyscan-1.1.0-py3-none-any.whl
| Download URL | conkeyscan-1.1.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
35f9c9a41de006a1541dedb38c5352e3fc4950ec18f8325564e08aab0763bab9
|
|
BLAKE2b-256 checksum How to use checksums |
d20bf5b3bea1a40a14092ef4d75913ae45e1a53960c17e32199ebf830baf2417
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for conkeyscan 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.