Skip to content

sty-nathan/mini-forum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Mini-Forum v1.0

Mini-Forum is a small CTF-style web application that mimics a simple discussion board. The site contains an XSS vulnerability in its input handling, allowing unescaped user-supplied content to execute scripts in visitors’ browsers, making it a good test target for safe XSS practice and defensive testing in a controlled environment.

Prerequisites

  • Node.js
  • Npm
  • Express.js

Installation

Follow these step-by-step instructions to download and build the tool:

git clone https://github.com/sty-nathan/mini-forum.git
cd mini-forum
npm init -y

Running

  node index.js

API Reference

Get all posts

  GET /search
Parameter Type Description
search_query string A value of the search

Post something

  POST /post
Parameter Type Description
title string Required. Title of the post
description string Required. Description of the post

License

This project is licensed under the MIT License

Acknowledgements

  • Developed as a learning and security-improvement project by @sty-nathan

About

Mini-Forum is a small CTF-style web application that mimics a simple discussion board. The site contains an XSS vulnerability in its input handling, allowing unescaped user-supplied content to execute scripts in visitors’ browsers, making it a good test target for safe XSS practice and defensive testing in a controlled environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors