Giter VIP home page Giter VIP logo

wishtack-websheep's Introduction

Welcome to Wishtack's Websheep

Websheep is a willingly vulnerable set of applications and ReSTful APIs.

It is meant to demo and learn common vulnerabilities on frontend JavaScript applications and ReSTful APIs.

Learn more about ReSTful APIs Best Pratcices & Security

Quickstart

git clone https://github.com/wishtack/wishtack-websheep.git
npm install // or yarn install
npm start // or yarn start

You will end up with two servers running locally:

  • The vulnerable application running on http://localhost:3000.
  • The attacking application running on http://localhost:8080.

Step 1: Discover

Visit the vulnerable application http://localhost:3000 to discover the available endpoints.

Step 2: Attack

Step 2.A (C.S.R.F. attacks only)

Edit the code in src/attacker/index.html in order to the attack the vulnerable application.

Avoid looking at the code in src/attacker/attack.html that contains the working attack payloads.

Step 2.B (Other attacks)

You can run your attack from the browser using the console or snippets feature. There are some helpful tools out there:

Step 3: Run

Run your attack by opening http://localhost:8080 on your browser.

Demo

You can see the solution demo by running npm run start:solution. You can run the C.S.R.F. attack demo by opening http://localhost:8080/attack.html on your browser.

ReSTful APIs Security documentation

Here's a white paper that describes common ReSTful APIs vulnerabilities: ReST APIs Best Practices and Security

And remember that cookies are evil!

wishtack-websheep's People

Contributors

yjaaidi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

wishtack-websheep's Issues

Docker

Can there be a docker machine soon??

Great app BTW!😊

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.