Coder Social home page Coder Social logo

saligrama / catshare Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cdenicola/catshare

0.0 1.0 0.0 667 KB

Web App that contains endpoints for IDOR, XSS, and session handling attacks

Home Page: https://catshare.saligrama.io

JavaScript 39.22% HTML 58.58% Dockerfile 2.20%

catshare's Introduction

CatShare: A Cat-Themed Vulnerable Website

This is a purposely insecure toy webserver for learning about security vulnerabilities.

This was originally designed for Stanford's CS106S and was authored by Cooper de Nicola, Aditya Saligrama, and George Hosono. It has since been used a few times for workshops by Stanford Applied Cyber. Feel free to use for your own lessons or learning.

Features

  • IDOR (in /user endpoint)
  • XSS (in /hello endpoint)
  • Insecure session handling (in /login endpoint)

Installation

Running the webserver on your machine (testing only)

First cd into the app directory.

Make sure dependencies are installed using the command npm install.

Start the server using command node index.js. Access the server on localhost:3000.

Running the webserver using docker-compose

Initialize the TLS certificates from Let's Encrypt using this script edited to add your email and domain. Note you may need to edit the line that says

docker-compose up --force-recreate -d nginx

to

docker-compose up --force-recreate -d nginx app

Then simply run docker-compose up. Note you'll need to replace usage of catshare.saligrama.io with your domain.

There is a systemd service that can start the app at system start.

catshare's People

Contributors

cdenicola avatar georgehosono avatar saligrama avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.