Skip to main content

XCat

Python package

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xcat-1.1.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xcat-1.1.0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

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

Hashes for xcat-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5c5305d29c95f49cc32999217cb97b916b8772f144273d0c26a05c086138290d
MD5 6d1722ceb24c725e0a1c81655652cee0
BLAKE2b-256 ea927ba22a23bb940dcd167bc9fe25ff0eb25f85e271d89467030703d87444f5

See more details on using hashes here.

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

Hashes for xcat-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 626f53f3fca29f4ee29625af1a85225c15c45b8d27cbf0a718c0f7bcf900956d
MD5 da3fd132e63305220ce684f95f7aaa0a
BLAKE2b-256 866939ff89e2453d33b5bed02f48c91014051e88e734297505a8b62d305a31d7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.9

2 files

0.7.1

1 file

0.7

1 file

0.6.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page