GithubHelp home page GithubHelp logo

snsttr / diwa Goto Github PK

View Code? Open in Web Editor NEW
59.0 3.0 47.0 2.17 MB

A Deliberately Insecure Web Application

License: MIT License

PHP 98.22% JavaScript 0.90% Dockerfile 0.13% Hack 0.75%
hacking security security-threats webappsec infosec owasp-top-10 education training learn practice

diwa's Introduction

DIWA

This is just a short description. For full Documentation see docs Directory.

Requirements

  • PHP 5.6 or higher (PHP 7 is recommended) with at least one of the following PDO-Drivers: pdo_sqlite or pdo_mysql
  • A web browser (Firefox or Chrome are recommended)

Manual Installation

  1. Clone the repository

  2. Optional: Install composer dependencies with composer install

  3. Optional: Change the config settings in app/config.php

  4. Use a Webserver of your choice. Make sure you use the project's "app" Directory as root path.

    The easiest way is to use the PHP Built-in Webserver:

    cd app
    php -S 127.0.0.1:80 -t .
    
  5. Use a browser of your choice to open http://localhost/

Docker

To use DIWA within a Docker Container just clone the repository and run the following Docker commands:

docker build -t diwa .
docker run -p 8080:80 -d diwa:latest

DIWA will be accessible on port 8080.

Reset DIWA

There are three options to reset DIWA's Database:

  • Click on the bomb-icon on the bottom of the page to get to the Reset-Page. There you can trigger the database reset.
  • When calling /?reset=diwa the database is being resetted instantly (unprompted).
  • To also reset file changes and delete created files, just reset your git workspace (reset / clean). When using MySQL you should additionally use one of the reset methods above.

diwa's People

Contributors

snsttr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

diwa's Issues

Need help :)

Sorry, after done setup, I tried to register a user but it asks for 4 digit invitation code. Do I need to figure it out myself or there is actually 4 digit code stated? Thanks!

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.