Coder Social home page Coder Social logo

docker-dvwa's Introduction

docker-dvwa

Docker image for DVWA(Damn Vulnerable Web Application)

Using

  • Pull image docker pull infoslack/dvwa
  • Start with random mysql password: docker run -d -p 80:80 infoslack/dvwa
  • Or set environment variable: docker run -d -p 80:80 -p 3306:3306 -e MYSQL_PASS="mypass" infoslack/dvwa

docker-dvwa's People

Contributors

infoslack 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  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

docker-dvwa's Issues

where is /run.sh located

Hi

I want to understand the code a bit further.
Within the Dockerfile you run /run.sh in the CMD section.
Where is this file stored or from where does the file come from?
I'm new to docker.

Thx

Upload feature is broken

Upload feature is broken. When uploading a simple file, the application return Your image was not uploaded.

The apache log give this error.

docker exec [dvwa] cat /var/log/apache2/error.log

[Thu Dec 01 03:20:54.955287 2016] [:error] [pid 545] [client 172.17.0.1:46222] PHP Warning:  move_uploaded_file(): Unable to move '/tmp/php7hTEUz' to '../../hackable/uploads/test.gif' in /app/vulnerabilities/upload/source/low.php on line 7, referer: http://localhost:8001/vulnerabilities/upload/

File permissions

The user www-data is not allowed to write to the uploads folder.

> docker exec [dvwa] ls -la /app/hackable/uploads
total 12
drwxrwxr-x 2 root root 4096 May  1  2013 .
drwxrwxr-x 4 root root 4096 May  1  2013 ..
-rw-rw-r-- 1 root root  667 May  1  2013 dvwa_email.png

/tmp/setup_dvwa.sh not found

/tmp/setup_dvwa.sh not found
I keep getting this issue when ever I run the docker file
appissue
also I forked the repo you were using in the docker file thats why you see my name on it. but i have the same issue with the original
I have the conf folder in my directory as well where the dockerfile is located.
plus the docker container does have setup_dvwa.sh file in the container which is super weird. I found it by removing some of your dockerfile commands to atleast run the container

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.