Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Local Web Server Deployment & HTTP Analysis

Tools: Docker · Debian Linux · Burp Suite · DVWA

Overview

Set up a deliberately vulnerable web application (DVWA) inside a Docker container on Debian Linux, then used Burp Suite to intercept and analyze HTTP traffic — including login requests, session cookies, and status codes.


Setup

1. Run DVWA in Docker

docker pull vulnerables/web-dvwa
docker run -d -p 80:80 --name dvwa vulnerables/web-dvwa
docker ps

Docker container running

2. Access DVWA

Open browser → http://localhost
Login: admin / password

DVWA login page

3. Configure Burp Suite

  • Open Burp Suite
  • Go to Proxy → Intercept → Open Browser
  • Turn Intercept ON

Burp proxy settings


🔎 HTTP Traffic Analysis

Intercepted Login POST Request

Logged into DVWA through Burp browser — captured the POST request:

Burp intercepted POST request

Key finding: Username and password are visible in plaintext in the request body — no encryption.


HTTP History

HTTP history


Session Cookie (Set-Cookie Header)

After login, the server sets a session cookie in the response:

Set-Cookie header

Key finding: Cookie has no HttpOnly or Secure flags — vulnerable to theft via XSS or network sniffing.


Burp Repeater — Resending Requests

Used Repeater to manually resend and modify the login request:

Burp Repeater


DVWA Dashboard After Login

DVWA dashboard


Key Findings

  1. Credentials sent in plaintext — no HTTPS
  2. Session cookie missing HttpOnly and Secure flags
  3. Server exposes PHP version via X-Powered-By header
  4. Session ID not rotated after login — session fixation risk

What I Learned

  • How Docker exposes containerized services on a local network
  • How Burp Suite intercepts traffic between browser and server
  • Structure of HTTP requests and responses
  • How session cookies work and common misconfigurations
  • How to use Burp Repeater to craft and resend requests

Disclaimer

This project is for educational purposes only. All testing was done in a controlled local environment on a deliberately vulnerable application.


[note: if i made any mistake please lemme know. i am willing to learn-thank you ]

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors