Learn · Web simulator

Web attack simulator

Five classic web vulnerabilities (OWASP reference) explained in four phases — context, bug, impact, defence — with a log describing what a vulnerable server would do. Everything is a teaching simulation running in your browser: no network requests, no real database, no commands executed.

Who it is for
Web developers, and anyone starting out in offensive security with a defensive mindset.
Level
Intermediate
Duration
25–35 minutes
Prerequisites
Basics of HTTP, HTML and SQL; an idea of what a session cookie is.

Learning objectives

  • Recognise where each vulnerability originates in the code and in the flow of a request.
  • Assess the real impact of each attack, without overstating or understating it.
  • Match each class of vulnerability with the correct, verifiable defence.

Techniques shown for study and defence only. Use them exclusively on your own systems or with written authorisation. For hands-on practice with guided scenarios, open the Virtual lab.

Catalogue

Choose what to study today

Console — SQL injection (simulated)

Try admin or paste admin' OR '1'='1 into the username field. The log describes what the vulnerable server would do.

[READY] Teaching environment — no real database involved
[INFO] Press the button: the four phases above light up one at a time
Typical impact: critical
Console — XSS (simulated)

Enter a normal comment or try <script>alert(1)</script>. No script is executed: the log only describes the flow.

[READY] XSS followed from the comment being published to it being displayed
Typical impact: high
Console — Brute force (simulated)

The wordlist below is for teaching only. The simulation shows attempts and fictitious HTTP responses; it sends no requests to real login pages.

[READY] Attempt/response loop simulated locally
Typical impact: high
Console — Insecure upload (simulated)

Teaching example: a file called foto.jpg that actually contains server-side code. No file is written to disk.

[READY] File validation explained step by step
Typical impact: critical
Console — CSRF (simulated)

Fictitious domains (bank.example.com). The log shows how the browser automatically attaches the session cookie to a request you never chose to make.

[READY] No network requests to real domains
Typical impact: high
Status: Lab active (offline) Topic: SQL injection Last simulation: —