Practice library / Web attacks
Workbook · Medium · 4 hoursFree account
Web Application Pentesting
OWASP Top 10, Burp Suite advanced usage, and web pentest methodology.
On this page 12 sections
- ·Chapter 1 — Web Pentest Methodology
- ·Chapter 2 — Recon & Application Mapping
- Locked: Chapter 3 — Authentication Testing
- Locked: Chapter 4 — Session Management
- Locked: Chapter 5 — Input Validation Vulnerabilities
- Locked: Chapter 6 — Access Control (IDOR, Privilege Escalation)
- Locked: Chapter 7 — API Testing
- Locked: Chapter 8 — Business Logic Flaws
- Locked: Chapter 9 — File & Upload Vulnerabilities
- Locked: Chapter 10 — Server-Side Attacks
- Locked: Chapter 11 — Client-Side Attacks
- Locked: Chapter 12 — Writing a Web Pentest Report
Before you start
Web application pentesting is the discipline of finding flaws in the server, the browser and the trust between them. A modern web application exposes a large attack surface: HTTP headers, cookies, authentication flows, APIs, file uploads and third-party JavaScript. The workbook follows a professional methodology that starts with reconnaissance, maps the attack surface, then tests each class of flaw in the OWASP Top 10. Burp Suite ties the tools together: it records every request, replays and modifies them, and runs targeted checks. A good tester knows when a probe is safe to send, how to prove impact without harming the target, and how to write a finding that an engineer can fix.
Chapter 1 — Web Pentest Methodology
Professional web application testing follows a structured methodology. Rushing to exploitation without proper reconnaissance can lead to missed vulnerabilities.
# The web pentest phases:
1. Scoping → define what's in/out of scope, get written authorisation
2. Recon → passive info gathering (OSINT, DNS, tech stack)
3. Mapping → spider the application, discover all endpoints
4. Testing → test each area systematically (OWASP methodology)
5. Exploitation → exploit confirmed vulnerabilities (with care)
6. Post-Exploit → assess impact, pivot if authorised
7. Reporting → document findings with CVSS scores and remediation
# Essential tool setup
Burp Suite → the core tool (intercept, repeat, intruder, scanner)
Firefox → configured to proxy through Burp (127.0.0.1:8080)
FoxyProxy → browser extension to easily toggle proxy on/offChapter 2 — Recon & Application Mapping
# Passive recon — never touching the target
whois target.com
dig target.com ANY
curl -s "https://crt.sh/?q=%.target.com&output=json" | jq '.[].name_value' | sort -u
theHarvester -d target.com -b all
# Active recon — crawling the application
# In Burp: Spider the site
Target → Site Map → right-click target → Spider this host
# Directory bruteforce
gobuster dir -u https://target.com -w /usr/share/seclists/Discovery/Web-Content/directory-list-2.3-medium.txt -x php,html,txt,js
# Technology fingerprinting
whatweb https://target.com
curl -I https://target.com # check Server, X-Powered-By headers
# JavaScript file analysis — often contains endpoints, API keys
# In Burp: Target → Site Map → filter by .js
# Or use: linkfinder.py -i https://target.com -dSign in to continue
10 more sections are for signed-in members. It is free: sign in with Google.