A command line tool to automate the exploitation of blind XPath injection vulnerabilities
Project description
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 injections
for 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xcat-1.1.0.tar.gz
.
File metadata
- Download URL: xcat-1.1.0.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c5305d29c95f49cc32999217cb97b916b8772f144273d0c26a05c086138290d |
|
MD5 | 6d1722ceb24c725e0a1c81655652cee0 |
|
BLAKE2b-256 | ea927ba22a23bb940dcd167bc9fe25ff0eb25f85e271d89467030703d87444f5 |
File details
Details for the file xcat-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: xcat-1.1.0-py3-none-any.whl
- Upload date:
- Size: 19.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.2 Darwin/19.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 626f53f3fca29f4ee29625af1a85225c15c45b8d27cbf0a718c0f7bcf900956d |
|
MD5 | da3fd132e63305220ce684f95f7aaa0a |
|
BLAKE2b-256 | 866939ff89e2453d33b5bed02f48c91014051e88e734297505a8b62d305a31d7 |