How To Install xcat on Fedora 36

In this tutorial we learn how to install xcat in Fedora 36. xcat is A command line tool to explore blind XPath injection vulnerabilities

Introduction

In this tutorial we learn how to install xcat on Fedora 36.

What is xcat

XCat is a command line program that aides in the exploitation of blind XPath injection vulnerabilities. It can be used to retrieve the whole XML document being processed by a vulnerable XPath query, read arbitrary files on the hosts filesystem and utilize out of bound HTTP requests to make the server send data directly to xcat.

We can use yum or dnf to install xcat on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install xcat.

Install xcat on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install xcat using dnf by running the following command:

sudo dnf -y install xcat

Install xcat on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install xcat using yum by running the following command:

sudo yum -y install xcat

How To Uninstall xcat on Fedora 36

To uninstall only the xcat package we can use the following command:

sudo dnf remove xcat

xcat Package Contents on Fedora 36

/usr/bin/xcat
/usr/lib/python3.10/site-packages/xcat
/usr/lib/python3.10/site-packages/xcat-1.0.4-py3.10.egg-info
/usr/lib/python3.10/site-packages/xcat-1.0.4-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/xcat-1.0.4-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/xcat-1.0.4-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/xcat-1.0.4-py3.10.egg-info/entry_points.txt
/usr/lib/python3.10/site-packages/xcat-1.0.4-py3.10.egg-info/requires.txt
/usr/lib/python3.10/site-packages/xcat-1.0.4-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/xcat/__init__.py
/usr/lib/python3.10/site-packages/xcat/__pycache__
/usr/lib/python3.10/site-packages/xcat/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/algorithms.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/algorithms.cpython-310.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/attack.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/attack.cpython-310.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/cli.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/cli.cpython-310.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/display.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/display.cpython-310.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/features.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/features.cpython-310.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/injections.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/injections.cpython-310.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/oob.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/oob.cpython-310.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/shell.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/shell.cpython-310.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/xcat/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/xcat/algorithms.py
/usr/lib/python3.10/site-packages/xcat/attack.py
/usr/lib/python3.10/site-packages/xcat/cli.py
/usr/lib/python3.10/site-packages/xcat/display.py
/usr/lib/python3.10/site-packages/xcat/features.py
/usr/lib/python3.10/site-packages/xcat/injections.py
/usr/lib/python3.10/site-packages/xcat/oob.py
/usr/lib/python3.10/site-packages/xcat/shell.py
/usr/lib/python3.10/site-packages/xcat/utils.py
/usr/share/doc/xcat
/usr/share/doc/xcat/README.md

References

Summary

In this tutorial we learn how to install xcat on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).