Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Real-World Ethical Hacking Lab: From SQLi to XSS with Docker
Rating: 3.9 out of 5(418 ratings)
51,039 students

Real-World Ethical Hacking Lab: From SQLi to XSS with Docker

Build your own 3-machine hacking lab using Docker & attack real web apps with Kali Linux
Created byKYOUNG SOO LEE
Last updated 5/2025
English

What you'll learn

  • How to build a real-world ethical hacking lab using Docker and Kali Linux
  • How to perform brute-force attacks with Medusa, Crunch, and Hashcat
  • How SQL Injection and XSS attacks work—and how to defend against them
  • How to exploit vulnerable PHP+MySQL web apps and simulate admin behavior
  • How to think like a hacker and protect systems from real-world threats

Course content

7 sections12 lectures1h 43m total length
  • Introduction3:35

    Step 1: Build Your Playground — Install XAMPP
    Get your local server and database up and running in minutes using XAMPP. It’s your all-in-one toolkit for web app hacking labs. (Watch the video for installation help.)

    Step 2: Set Up the Battlefield — Configure Your XSS & Injection Lab
    This is where the real action begins. Follow the PDF to set up a secure and isolated lab where you can test and break vulnerable web apps safely.

  • How does it work ? The XSS Attacks.8:41

    Understanding How XSS Works: From Browser to Database


    To defend against XSS, it’s essential to know how injected scripts behave inside the browser and how they might affect the backend. This knowledge is foundational for secure web development and ethical hacking.

  • The Real XSS Attack that The Bad Hackers want5:34

    What are hackers really after when they launch XSS attacks?


    They’re not just playing around — XSS is a tool for stealing session tokens, hijacking accounts, spreading malware, and even bypassing access controls. Understanding their goals helps you defend your apps like a pr

Requirements

  • Basic understanding of how websites and web servers work
  • Familiarity with Linux command line (just the basics is enough)
  • A computer with internet access (Windows, macOS, or Linux)
  • Docker installed (installation guide provided in the course)
  • Curiosity about hacking, cybersecurity, and how real attacks happen

Description

Want to stop hackers? First, think like one.

In this hands-on course, you’ll build your own 3-machine hacking lab using Docker, complete with a Kali Linux attacker, a vulnerable PHP+MySQL web server, and an admin simulation machine running scripted browser activity.

You'll go beyond textbook theories and dive into real attack techniques used in the wild—like:

  • Brute-force password cracking with Medusa & Crunch

  • SQL Injection exploitation with SQLmap (not the toy-level stuff in cert exams)

  • XSS (Cross-Site Scripting) attacks, including stored XSS that auto-infects users

  • Database hacking and understanding post-exploit consequences

  • Offline hash cracking with Hashcat

You’ll also learn how to defend against these attacks using proven methods like:

  • Prepared statements (against SQLi)

  • Input sanitization & CSPs (against XSS)

  • Strong passwords & secure configurations

No complicated setup—everything runs in isolated Docker containers you can spin up in seconds. Whether you're prepping for CEH, Security+, or just leveling up as a web developer or sysadmin, this lab will teach you what hacking really looks like in 2025.

By the end of the course, you won’t just know how attacks work—you’ll understand why they work, what makes systems vulnerable, and how real hackers exploit them. This knowledge is essential whether you're defending your own code or breaking into vulnerable systems in a safe, ethical environment.

Who this course is for:

  • Aspiring ethical hackers and penetration testers
  • Students preparing for Security+ or CEH certification exams
  • Web developers who want to understand real-world security flaws
  • IT professionals looking to build practical hacking skills
  • Anyone curious about how hackers break into systems—and how to stop them