{"id":19301945,"url":"https://github.com/darkness4/dvwa-docker","last_synced_at":"2026-05-10T03:32:43.609Z","repository":{"id":103465476,"uuid":"453853726","full_name":"Darkness4/dvwa-docker","owner":"Darkness4","description":"A proper DVWA docker container.","archived":false,"fork":false,"pushed_at":"2022-01-31T19:30:25.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-05T23:12:21.585Z","etag":null,"topics":["docker","docker-compose","dvwa","hacking","php","vulnerabilities","vulnerable"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Darkness4.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-31T02:03:42.000Z","updated_at":"2022-01-31T02:33:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"a0d98093-07cc-42ab-af19-abfcf526903e","html_url":"https://github.com/Darkness4/dvwa-docker","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darkness4%2Fdvwa-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darkness4%2Fdvwa-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darkness4%2Fdvwa-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Darkness4%2Fdvwa-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Darkness4","download_url":"https://codeload.github.com/Darkness4/dvwa-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240404302,"owners_count":19796056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-compose","dvwa","hacking","php","vulnerabilities","vulnerable"],"created_at":"2024-11-09T23:19:23.791Z","updated_at":"2026-05-10T03:32:38.586Z","avatar_url":"https://github.com/Darkness4.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DVWA Proper Container\n\nDamn Vulnerable Web Application (DVWA) is a PHP/MySQL web application that is damn vulnerable. Its main goal is to be an aid for security professionals to test their skills and tools in a legal environment, help web developers better understand the processes of securing web applications and to aid both students \u0026 teachers to learn about web application security in a controlled class room environment.\n\nThe aim of DVWA is to practice some of the most common web vulnerability, with various difficultly levels, with a simple straightforward interface. Please note, there are both documented and undocumented vulnerability with this software. This is intentional. You are encouraged to try and discover as many issues as possible.\n\n**WARNING** This image is vulnerable to several kinds of attacks, please don't deploy it to any public servers.\n\n## Run this image by pulling it\n\nWrite a `docker-compose.yaml`:\n\n```yaml\nversion: '3.9'\n\nservices:\n  dvwa:\n    image: ghcr.io/darkness4/dvwa-docker:latest\n    ports:\n      - '3000:80'\n    depends_on:\n      - database\n    env_file:\n      - .env\n    volumes:\n      - ./config:/config\n\n  database:\n    image: library/mariadb:10.7\n    ports:\n      - '3306:3306'\n    env_file:\n      - .env\n    volumes:\n      - 'database_data:/var/lib/mysql'\n\nvolumes:\n  database_data:\n```\n\nCreate a `config` directory and add a `config.inc.php`. See the [`config/config.inc.php`](./config/config.inc.php) in this repository.\n\nTo run this image you need [docker](http://docker.com) and [docker-compose](https://docs.docker.com/compose/cli-command/#install-on-linux) installed. Just run the command:\n\n```sh\ndocker compose up -d --build\n```\n\nYou can access to the server by going to http://localhost:3000\n\nThen, just click on the `Create / Reset database` button and it will generate any additional configuration needed.\n\nThe database may takes time to initialize, so don't be surprised if you received some \"connection refused\" errors.\n\nYou can check the logs using:\n\n```sh\ndocker compose logs -f\n```\n\n## Run this image by building it\n\nClone this repository with git.\n\nTo run this image you need [docker](http://docker.com) and [docker-compose](https://docs.docker.com/compose/cli-command/#install-on-linux) installed. Just run the command:\n\n```sh\ndocker compose up -d --build\n```\n\nYou can access to the server by going to http://localhost:3000\n\nThen, just click on the `Create / Reset database` button and it will generate any additional configuration needed.\n\nThe database may takes time to initialize, so don't be surprised if you received some \"connection refused\" errors.\n\nYou can check the logs using:\n\n```sh\ndocker compose logs -f\n```\n\n## Login with default credentials\n\nTo login you can use the following credentials:\n\n- Username: admin\n- Password: password\n\n## About DVWA\n\nYou can visit DVWA [official website](http://www.dvwa.co.uk/) and official [github repository](https://github.com/digininja/DVWA) if you want more information.\n\n## Disclaimer\n\nThis or previous program is for Educational purpose ONLY. Do not use it without permission. The usual disclaimer applies, especially the fact that me (Marc Nguyen) is not liable for any damages caused by direct or indirect use of the information or functionality provided by these programs. The author or any Internet provider bears NO responsibility for content or misuse of these programs or any derivatives thereof. By using these programs you accept the fact that any damage (dataloss, system crash, system compromise, etc.) caused by the use of these programs is not Marc Nguyen's responsibility.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkness4%2Fdvwa-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkness4%2Fdvwa-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkness4%2Fdvwa-docker/lists"}