Skip to content

aizazullahdurrani8/python-dvwa-brute-force

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

DVWA Brute Force Login Script

A Python script for performing dictionary-based brute force attacks on DVWA (Damn Vulnerable Web Application) login.

Features

  • Sends HTTP POST requests to DVWA login form
  • Uses user-supplied password list
  • Detects successful login by checking response content
  • Gracefully handles request errors and missing files

Requirements

  • Python 3 installed on your system
  • requests library

Install requests if not already installed:

pip install requests

Usage

  1. Make sure DVWA is running and accessible (e.g., via XAMPP or Docker).
  2. Run the script:
python dvwa_bruteforce.py
  1. Enter the path to your password list file when prompted.

Example Output

Enter password list location: passwords.txt
Tried: 12345
Tried: admin123
Password found => password

Disclaimer

This script is for educational purposes only. Do not use it on systems without proper authorization.

About

A Python script to perform brute force login attacks on DVWA using a custom password list and HTTP POST requests with error handling.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages