XCat
XCat is a command line tool to exploit and investigate blind XPath injection vulnerabilities.
For a complete reference read the documentation here: https://xcat.readthedocs.io/en/latest/
It supports an large number of features:
-
Auto-selects injections (run
xcat injectionsfor a list) -
Detects the version and capabilities of the xpath parser and selects the fastest method of retrieval
-
Built in out-of-bound HTTP server
- Automates XXE attacks
- Can use OOB HTTP requests to drastically speed up retrieval
-
Custom request headers and body
-
Built in REPL shell, supporting:
- Reading arbitrary files
- Reading environment variables
- Listing directories
- Uploading/downloading files (soon TM)
-
Optimized retrieval
- Uses binary search over unicode codepoints if available
- Fallbacks include searching for common characters previously retrieved first
- Normalizes unicode to reduce the search space
Install
Run pip install xcat
Requires Python 3.7. You can easily install this with pyenv:
pyenv install 3.7.1
Example application
There is a complete demo application you can use to explore the features of XCat. See the README here: https://github.com/orf/xcat_app
Metadata
Release files for xcat 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 |
|---|---|---|---|---|
| xcat-1.1.0.tar.gz | 15.4 kB | Without provenance | Details for xcat-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xcat-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for xcat-1.1.0-py3-none-any.whl |
Total release size: 34.5 kB
Release files / xcat-1.1.0.tar.gz
| Download URL | xcat-1.1.0.tar.gz |
|---|---|
| Size | 15.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5c5305d29c95f49cc32999217cb97b916b8772f144273d0c26a05c086138290d
|
|
BLAKE2b-256 checksum How to use checksums |
ea927ba22a23bb940dcd167bc9fe25ff0eb25f85e271d89467030703d87444f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.2 Darwin/19.4.0
|
Release files / xcat-1.1.0-py3-none-any.whl
| Download URL | xcat-1.1.0-py3-none-any.whl |
|---|---|
| Size | 19.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
626f53f3fca29f4ee29625af1a85225c15c45b8d27cbf0a718c0f7bcf900956d
|
|
BLAKE2b-256 checksum How to use checksums |
866939ff89e2453d33b5bed02f48c91014051e88e734297505a8b62d305a31d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.5 CPython/3.8.2 Darwin/19.4.0
|
Security for xcat 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.