Code Monkey home page Code Monkey logo

pygoat's Introduction

PyGoat

All Contributors

intentionally vuln web Application Security in django. our roadmap build intentionally vuln web Application in django. The Vulnerability can based on OWASP top ten
• A1:2017-Injection
• A2:2017-Broken Authentication
• A3:2017-Sensitive Data Exposure
• A4:2017-XML External Entities (XXE)
• A5:2017-Broken Access Control
• A6:2017-Security Misconfiguration
• A7:2017-Cross-Site Scripting (XSS)
• A8:2017-Insecure Deserialization
• A9:2017-Using Components with Known Vulnerabilities
• A10:2017-Insufficient Logging & Monitoring

Table of Contents

Installation

From Sources

To setup the project on your local machine:

First, Clone the repository using GitHub website or git in Terminal

  git clone https://github.com/adeyosemanputra/pygoat.git
  ### To Download a specific branch
  git clone -b <branch_name> https://github.com/adeyosemanputra/pygoat.git

Method 1

  1. Install all app and python requirements using installer file - bash installer.sh
  2. Change directory to the the Django Project directory cd pygoat
  3. Apply the migrations python3 manage.py migrate.
  4. Finally, run the development server python3 manage.py runserver.
  5. The project will be available at http://127.0.0.1:8000

Method 2

  1. Install python3 requirements pip install -r requirements.txt.
  2. Change directory to the the Django Project directory cd pygoat
  3. Apply the migrations python3 manage.py migrate.
  4. Finally, run the development server python3 manage.py runserver.
  5. The project will be available at http://127.0.0.1:8000

Method 3

  1. Install all app and python requirements using setup.py file - pip3 install .
  2. Change directory to the the Django Project directory cd pygoat
  3. Apply the migrations python3 manage.py migrate.
  4. Finally, run the development server python3 manage.py runserver.
  5. The project will be available at http://127.0.0.1:8000

Docker Container

  1. Install Docker
  2. Run docker pull pygoat/pygoat or docker pull pygoat/pygoat:latest
  3. Run docker run --rm -p 8000:8000 pygoat/pygoat:latest
  4. Browse to http://127.0.0.1:8000
  5. Remove existing image using docker image rm pygoat/pygoat and pull again incase of any error

From Docker-Compose

  1. Install Docker
  2. Run docker-compose up or docker-compose up -d

Build Docker Image and Run

  1. Clone the repository   git clone https://github.com/adeyosemanputra/pygoat.git
  2. Change the directory where Dockerfile exists   cd pygoat
  3. Build the docker image from Dockerfile using   docker build -f Dockerfile -t pygoat .
  4. Run the docker image  docker run --rm -p 8000:8000 pygoat:latest
  5. Browse to http://127.0.0.1:8000 or http://0.0.0.0:8000

Installation video

  1. From Source using installer.sh
  1. Without using installer.sh

Uninstallation

On Debian/Ubuntu Based Systems

  • On Debian/Ubuntu based systems, you can use the uninstaller.sh script to uninstall pygoat along with all it's dependencies.
  • To uninstall pygoat, simply run:
$ bash ./uninstaller.sh

On Other Systems

  • On other systems, you can use the uninstaller.py script to uninstall pygoat along with all it's dependencies
  • To uninstall pygoat, simply run:
$ python3 uninstaller.py

Solutions

Solutions to all challenges

Live Demo

http://pygoat-web.herokuapp.com
http://pygoat.herokuapp.com
http://pygoat-dep.herokuapp.com
credentials:
username : user
password : user12345
or you could login with 0auth (google)

Contributors ✨

Thanks goes to these wonderful people (emoji key):


pwned-17

💻

Aman Singh

💻

adeyosemanputra

💻 📖

gaurav618618

💻 📖

MajAK

💻

JustinPerkins

💻

Liu Peng

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

pygoat's People

Contributors

adeyosemanputra avatar allcontributors[bot] avatar dealbreaker973 avatar dependabot[bot] avatar digvijaybhosale1729 avatar dvlvanzi avatar eltociear avatar gaurav618618 avatar imraunn avatar justindperkins avatar kushal0601 avatar prince-7 avatar pwned-17 avatar rupakbiswas-2304 avatar shubhangi013 avatar whokilleddb 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.