XCat java app
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/main
.gitignore
.travis.yml
database.xml
pom.xml
readme.md
snapcraft.yaml

readme.md

XCat example app

Snap Status

This is an example app that is vulnerable to xpath injection attacks.

Install

If you are using Linux you can use snap to install a completely sandboxed working version in a single command:

snap install xcat-example-app

Then start the server with the command xcat-example-app.

Build:

Requires jdk8

mvn clean compile assembly:single

Run:

java -jar target/xcat-app-jar-with-dependencies.jar

Hide xpath queries log:

Add -Dorg.slf4j.simpleLogger.defaultLogLevel=warn to the java cmd.