All Projects → Contrast-Security-OSS → DjanGoat

Contrast-Security-OSS / DjanGoat

Licence: MIT license
Python and Django implementation of the OWASP RailsGoat project

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to DjanGoat

kasir
Cashier Management & Inventory Management System
Stars: ✭ 28 (-56.92%)
Mutual labels:  django-application
drf-addons
Some customised Django classes and functions that one can use in DJango. Collected from internet!
Stars: ✭ 20 (-69.23%)
Mutual labels:  django-application
xlsx over web
Django开发的excel表格展示系统,将本地xlsx文件导入到数据库,显示到JS页面 online excel manage with django
Stars: ✭ 27 (-58.46%)
Mutual labels:  django-application
django-mapbox-location-field
Simple in use location model and form field with MapInput widget for picking some location. Uses mapbox gl js, flexible map provider API. Fully compatible with bootstrap framework. Can be used with spatial or plain databases.
Stars: ✭ 60 (-7.69%)
Mutual labels:  django-application
vimana-framework
Vimana is an experimental security framework that aims to provide resources for auditing Python web applications.
Stars: ✭ 47 (-27.69%)
Mutual labels:  django-application
django-vditor
A WYSIWYG editor plugin made by vditor for django
Stars: ✭ 14 (-78.46%)
Mutual labels:  django-application
djadmin
Djadmin is a django admin theme
Stars: ✭ 42 (-35.38%)
Mutual labels:  django-application
django-letsagree
A Django application that associates Groups with Terms requiring consent from logged in members.
Stars: ✭ 12 (-81.54%)
Mutual labels:  django-application
matchering-web
🎚️ Self-Hosted LANDR / eMastered Alternative
Stars: ✭ 25 (-61.54%)
Mutual labels:  django-application
soak-your-brain-elearning-app
An e-learning platform built in python (django)
Stars: ✭ 18 (-72.31%)
Mutual labels:  django-application
Briefly
source based news in short : Winner @MumbaiHackathon 2018
Stars: ✭ 35 (-46.15%)
Mutual labels:  django-application
django-munigeo
Reusable Django application for storing and accessing municipality-related geospatial data
Stars: ✭ 12 (-81.54%)
Mutual labels:  django-application
PyEditorial
A free, open-source Blog CMS based on the "Django" and "Editorial" HTML5 theme.
Stars: ✭ 178 (+173.85%)
Mutual labels:  django-application
django-social-network-like-Facebook-or-Instagram
Live site at https://sbraven.herokuapp.com Do checkout this project to know how all the features of Facebook like Like , Comments , Messaging , Profile, Stories, Notifications , Friend Requests work under the hood.
Stars: ✭ 19 (-70.77%)
Mutual labels:  django-application
Django-CRM-Project
Django CRM Project - Youtube Tutorial
Stars: ✭ 108 (+66.15%)
Mutual labels:  django-application
django-neumorphism-uikit
Django Web App - Neumorphism UI Kit | AppSeed
Stars: ✭ 19 (-70.77%)
Mutual labels:  django-application
Bistu
集成了 django-simpleui 作为 admin 管理主题,实现的一个小型的管理系统,并且有的 django-rest-framework 使用示例。此外有个 Bistu-Ant-Design-Pro 项目作为配套的前端使用。如果喜欢记得给个🌟star哦。
Stars: ✭ 51 (-21.54%)
Mutual labels:  django-application
Deep-learning-model-deploy-with-django
Serving a keras model (neural networks) in a website with the python Django-REST framework.
Stars: ✭ 76 (+16.92%)
Mutual labels:  django-application
django-proxypay
Django Proxypay is a Django Framework application/library that facilitates the integration of your Django project with the Proxypay API.
Stars: ✭ 14 (-78.46%)
Mutual labels:  django-application
django-simple-forum
full featured forum, easy to integrate and use.
Stars: ✭ 65 (+0%)
Mutual labels:  django-application

Codacy Badge Build Status Codacy Badge CodeFactor Total alerts codebeat badge DeepSource

DjanGoat

DjanGoat is a vulnerable Django Application based in large part off the RailsGoat project. The application purports to be an internal employee portal for MetaCorp, Inc but includes vulnerabilities from the OWASP Top 10 and is intended to be used as an educational tool for developers and security professionals. Any maintainers are welcome to make pull requests.

Installation

On a mac, first install python.

Initial Setup

Requirements:

  • Python 2.7
  • Pip
  • mysql (optional)

Begin by creating a virtual-env

    pip install virtualenv
    virtualenv env
    source env/bin/activate

Then install using pip

    make install

DB-Setup

SQLite

Djangoat uses a SQLite database by default. To deploy the server locally with a SQLite database, use:

    make run

This will initialize and migrate a new (gitignored) SQLite database db.sqlite3 in the root project directory. It will then run the server locally.

At any point after the database has been migrated, it can be seeded with python manage.py seed.

MySQL

  1. Make sure you have mysql installed and run the following to setup the database
    mysql -u root -p
    CREATE DATABASE `db_name`;
    CREATE USER 'username'@'localhost' IDENTIFIED BY 'your_password';
    GRANT ALL PRIVILEGES ON `db_name`.* TO 'username'@'localhost';
    FLUSH PRIVILEGES;
    quit
  1. Go to pygoat/production_settings.py and fill out the given information for your database.

  2. Migrate the models and associated database data

    python manage.py makemigrations
    python manage.py migrate
  1. To set up seed data you can run:
    python manage.py seed

For developers create a local_settings.py file in the pygoat folder that mocks production_setting.py.

If Django does not recognize MySQL after the setup above, try installing mysql-python and migrate again

    pip install mysql-python

Finally run on localhost:8000

    python manage.py runserver

PostgreSQL

If you want to setup DjanGoat with a PostgreSQL database, checkout the PostgreSQL branch with the following command:

    $ git checkout postgresql-database

The PostgreSQL branch has modified documentation and tests.

Testing

To run tests, simply run:

    make test

Linting

To run pylint using the provided .pylintrc configuration file:

    make lint

Tutorial

Tutorial information on the various vulnerabilities in this application are here.

Acknowledgements

The development team.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].