Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hahwul/xssmaze
XSSMaze is a web service designed to test and improve the performance of security testing tools by providing various cases of XSS vulnerabilities.
https://github.com/hahwul/xssmaze
crystal-lang hacking security vulnapp xss xss-maze
Last synced: 14 days ago
JSON representation
XSSMaze is a web service designed to test and improve the performance of security testing tools by providing various cases of XSS vulnerabilities.
- Host: GitHub
- URL: https://github.com/hahwul/xssmaze
- Owner: hahwul
- License: mit
- Created: 2023-03-26T07:47:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-07T00:49:12.000Z (6 months ago)
- Last Synced: 2024-10-25T01:24:03.523Z (21 days ago)
- Topics: crystal-lang, hacking, security, vulnapp, xss, xss-maze
- Language: Crystal
- Homepage:
- Size: 227 KB
- Stars: 24
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![Crystal CI](https://github.com/hahwul/xssmaze/actions/workflows/crystal_build.yml/badge.svg)](https://github.com/hahwul/xssmaze/actions/workflows/crystal_build.yml)
[![Crystal Lint](https://github.com/hahwul/xssmaze/actions/workflows/crystal_lint.yml/badge.svg)](https://github.com/hahwul/xssmaze/actions/workflows/crystal_lint.yml)
[![Docker](https://github.com/hahwul/xssmaze/actions/workflows/ghcr.yml/badge.svg)](https://github.com/hahwul/xssmaze/actions/workflows/ghcr.yml)XSSMaze is a web service configured to be vulnerable to XSS and is intended to measure and enhance the performance of security testing tools. You can find several vulnerable cases in the list below.
## Installation
### From Source
```bash
# Install dependencies
shards install# Build
shards build # Dev build
shards build --release --no-debug --production# Run XSSMaze
# Defatul: http://0.0.0.0:3000
./bin/xssmaze
```### From Docker
```bash
docker pull ghcr.io/hahwul/xssmaze:main
```## Usage
```bash
./xssmaze# -b HOST, --bind HOST Host to bind (defaults to 0.0.0.0)
# -p PORT, --port PORT Port to listen for connections (defaults to 3000)
# -s, --ssl Enables SSL
# --ssl-key-file FILE SSL key file
# --ssl-cert-file FILE SSL certificate file
# -h, --help Shows this help
```## Map API
```
curl http://localhost:3000/map/txt
curl http://localhost:3000/map/json
``````http
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 611
Content-Type: application/json
X-Powered-By: Kemal{
"endpoints": [
"/basic/level1/?query=a",
"/basic/level2/?query=a",
"/basic/level3/?query=a",
"/basic/level4/?query=a",
"/basic/level5/?query=a",
"/basic/level6/?query=a",
"/basic/level7/?query=a",
"/dom/level1/",
"/dom/level2/",
"/dom/level3/",
"/dom/level4/"
...
]
}
```