Web security
OWASP ZAP for Beginners: A Free Web Vulnerability Scanner
ZAP is a free web security proxy and scanner, and a common alternative to the paid editions of Burp Suite. It sits between your browser and a web application, records every request and can scan for weaknesses. Use it only on your own lab or systems you have written permission to test.
Set Up
Kali Linux includes it (zaproxy), and installers exist for Windows, macOS and Linux. Run a deliberately vulnerable application such as DVWA or Juice Shop in a virtual machine, as in our home lab guide.
Automated Scan
- Open ZAP and choose Automated Scan.
- Enter the lab address, for example
http://192.168.56.20/, and press Attack. - ZAP crawls the site (the spider), then attacks what it finds (the active scan).
An active scan sends attack payloads. Never run it against a site you do not own.
Manual Explore
Better results come from browsing the application yourself. Point your browser at ZAP as a proxy (or use its built-in browser), log in, click through every feature and fill every form. ZAP records all of it and checks it passively, which sends nothing harmful. Then run an active scan on the recorded site.
Read the Alerts
Alerts are rated High, Medium, Low and Informational. Treat each as a lead: open the request and response, repeat it by hand and confirm it. Scanners produce false positives and miss logic flaws such as broken access control, so confirm every finding before it goes in a report; see how to write a penetration testing report.
Quick Check from the Command Line
docker run -t ghcr.io/zaproxy/zaproxy:stable zap-baseline.py -t http://192.168.56.20/runs a passive baseline scan.- Teams often run it in a build pipeline, so a new release is checked automatically.
Where It Fits
Scanning is one step in web application testing. Learn the flaws behind the alerts in OWASP Top 10 explained. It is practiced in our Application Security course.
Sources and Further Reading
Want to find and confirm real web flaws with a trainer? Book free trial classes. Contact us or call +91 86868 92922.
Courses Mentioned in This Guide
More Guides
ffuf Commands for Beginners: Find Hidden Web Paths in a Lab
ffuf commands and cheat sheet: find directories and files, use filters and rate limits and read the results, with examples for a lab you own.
Read the guide →sqlmap for Beginners: Testing SQL Injection in a Lab
Learn sqlmap step by step: test a URL parameter, list databases and tables, use cookies and keep tests safe, with commands for a lab you own.
Read the guide →SQL Injection Explained: How It Works and How to Prevent It
SQL injection in plain language: how it works, in-band and blind variants, real impact, how testers find it legally, and the fixes developers should use.
Read the guide →Cross-Site Scripting (XSS) Explained for Beginners
XSS in plain language: reflected, stored and DOM-based cross-site scripting, what an attacker can do, how testers find it, and how developers prevent it.
Read the guide →Start Your Cyber Security Career
Talk to a counselor, choose the right course for your goals, and get the fee, syllabus and next batch dates in writing.
- Call+91 86868 92922
Open 7 days: Mon to Fri 8:30 AM to 8:30 PM IST
Sat and Sun 10 AM to 6 PM IST - Emailinfo@hackingtrainer.com
- VisitGround Floor, G-3, Sri Venkatasai Nest, Kallu Compound Road, Nagarjuna Nagar Colony, Yella Reddy Guda, Ameerpet, Hyderabad – 500073
Open in Google Maps