Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

Web security: Injection Attacks with Java & Spring Boot

Bảo mật Web: Tấn công Injection với Java & Spring Boot

Bảo mật Web: Tấn công Injection với Java & Spring Boot

Hacking có đạo đức, Ứng dụng Web & Spring Security - Thành thạo các cuộc tấn công Injection với NoSQL, LDAP, LOG, CSV & SQL Injection

4.7
(331 đánh giá)
3,439 học viên
Giảng viên
Ali Gelenler
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
9.0 giờ video
78 bài giảng
26 bài quiz
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 30/05/2026

Bạn sẽ học được gì

Hacking có đạo đức với các cuộc tấn công injection
Bảo mật web
Lập trình an toàn (Secure coding)
SQL Injection với PostgreSQL
NoSQL Injection với MongoDB
LDAP Injection với OpenLDAP
LOG Injection
CSV Injection
Xác thực đăng nhập Form với Spring Security
Spring Data JPA
Spring Data MongoDB
Spring LDAP
Spring Validation

Yêu cầu

Kiến thức về Java
Kiến thức cơ bản về Spring Framework
Kiến thức cơ bản về SQL
Kiến thức cơ bản về phát triển ứng dụng web

Đối tượng phù hợp

Dành cho lập trình viên quan tâm đến bảo mật web, hacking có đạo đức và lập trình an toàn
Dành cho người muốn tìm hiểu sâu về lỗ hổng injection với các loại tấn công khác nhau
Dành cho người thích học qua thực hành

Nội dung khóa học

9 phần • 78 bài giảng
1 Tại sao cần học nguyên tắc lập trình an toàn & bảo mật web?
2 Cấu trúc khóa học
3 Thiết lập môi trường
1 Thêm file pom.xml cơ bản với các dependency Maven
2 Tạo module đăng nhập chung với dependencies, template Thymeleaf & Bootstrap
3 Tạo cấu trúc package và thêm các interface
4 Thêm Authentication Provider và User Details để tùy chỉnh xác thực form
5 Thêm cấu hình bảo mật web cho xác thực đăng nhập form Spring Security
6 Thêm các endpoint API
7 Thêm Custom Error Controller
1 Giới thiệu về các cuộc tấn công Injection
2 Giải thích SQL injection
3 Tạo ứng dụng SQL Injection với dependencies và cấu hình
4 Thêm file khởi tạo PostgreSQL, packages và triển khai validator
5 Triển khai các entity Spring Data JPA
6 Thêm các interface repository Spring Data JPA
7 Triển khai repository Spring Data JPA
8 Thêm triển khai user detail service cho SQL injection
9 Triển khai interface user service
10 Khai thác ứng dụng SQL Injection sử dụng form đăng nhập với Http Post - Phần 1
11 Khai thác ứng dụng SQL Injection sử dụng form đăng nhập với Http Post - Phần 2
12 Khai thác ứng dụng SQL Injection với Http Get - Phần 1
13 Khai thác ứng dụng SQL Injection với Http Get - Phần 2
14 Khai thác ứng dụng SQL Injection với Http Get - Phần 3 - Sử dụng Burp Suite
15 Mở rộng lỗ hổng Http Get để đọc file hệ thống - Phần 1
16 Mở rộng lỗ hổng Http Get để đọc file hệ thống - Phần 2
17 Phòng chống SQL injection: Xác thực và Làm sạch dữ liệu (Validation & Sanitisation)
18 Phòng chống SQL injection: Sử dụng Prepared statements
19 Phòng chống SQL injection: Tổng kết
20 Cuộc tấn công cuối cùng sử dụng hàm SQL dễ bị tổn thương
1 Giải thích NoSQL injection
2 Thêm module NoSQL injection với dependencies sử dụng MongoDB
3 Thêm cấu hình và file dữ liệu khởi tạo
4 Thêm packages và triển khai validator
5 Triển khai cấu hình MongoDB
6 Thêm các interface repository
7 Triển khai repository và thêm các lớp service layer
8 Khai thác ứng dụng NoSQL injection: Sử dụng form đăng nhập
9 Khai thác NoSQL injection: Sử dụng endpoint user info với Regex
10 Phòng chống NoSQL injection: Xác thực và làm sạch dữ liệu
11 Phòng chống NoSQL injection: Sử dụng Criteria API
12 Phòng chống NoSQL injection: Sử dụng JPA repository
1 Giải thích LDAP injection
2 Thêm module LDAP injection với file schema LDAP
3 Thêm dependencies, cấu hình và file khởi động để khởi tạo schema LDAP
4 Tạo packages và thêm lớp Spring boot starter để khởi tạo dữ liệu LDAP
5 Tạo entity và triển khai validation, cùng các interface repository
6 Thêm lớp helper LDAP cho các thao tác LDAP
7 Hoàn thiện triển khai user repository
8 Hoàn thiện triển khai user role repository và service
9 Khai thác LDAP injection - Phần 1
10 Khai thác LDAP injection - Phần 2
11 Phòng chống LDAP injection: Xác thực và làm sạch dữ liệu
12 Phòng chống LDAP injection: Sử dụng các thư viện bảo mật
1 Giải thích LOG injection
2 Thêm một endpoint mới để sử dụng trong các cuộc tấn công LOG injection
3 Thêm endpoint log data và template Thymeleaf để admin xem logs
4 Thêm cấu hình Logback
5 Tạo ứng dụng tấn công (attacker application)
6 Khai thác LOG injection với Line Feed
7 Khai thác LOG injection với Carriage Return
8 Khai thác LOG injection: Tấn công XSS - Phần 1
9 Khai thác LOG injection: Tấn công XSS - Phần 2
10 Phòng chống LOG injection: Xác thực và sử dụng các biện pháp bảo vệ từ thư viện đáng tin cậy
11 Phòng chống LOG injection: Tấn công XSS
1 Giải thích CSV injection
2 Thêm các interface mới
3 Thêm các phương thức API user detail cho CSV injection
4 Thêm phương thức API export user details cho CSV injection
5 Thêm các lớp triển khai truy cập dữ liệu
6 Triển khai user detail service
7 Triển khai excel generator service
8 Một endpoint mới trên website tấn công
9 Khai thác CSV injection sử dụng công thức Excel
10 Phòng chống CSV injection - Phần 1
11 Phòng chống CSV injection - Phần 2
1 Cập nhật lên Spring boot 3.1.5
1 Bài giảng bổ sung

Giới thiệu khóa học

Are you a Java web developer and want to write secure code? Do you want to learn Ethical hacking and Web application security?  With this hands-on injection attacks course you will start learning web security using one of the top vulnerabilities of OWASP Top 10 list. Injection attack is still listed in top 3 attacks in the OWASP Top 10 and it is important to prevent against injection attacks to develop secure web applications.


  • Krzysztof Telka: "Nice examples, where the host is presenting step by step how to exploit the application and then how to prevent. Lot of nice tools, features to check and examine the web page in case of hackers attack. CSV/Log4J/SQL made big wow effect on my face. The atendeers they will not be dissapointed Great job Ali, Thank you!"

You can always use the latest versions for spring boot, and other dependencies in this course. I will be constantly updating the dependency version in the last section's lectures. You may check that to see the required code and configuration changes for updated versions. Also if you would like to use subtitles during the course, you can turn on the captions on videos. I suggest using subtitles to make it easier to follow the lectures.

As part of the blue and red security teams,I have a practical knowledge and I am here to help you learn the injection vulnerability in detail

In this course, you will focus on different type of injection attacks;

  • SQL Injection

  • NoSQL injection

  • LDAP injection

  • LOG injection

  • CSV injection

Ethical hacking and Web application security are the two important subjects of Cyber Security field and having practical knowledge about Injections will enable you to better understand the security concepts and make a quick start.

In this course you will follow defense-in-depth principle and apply multiple solutions to each vulnerability to secure the web application in multiple layers.

You will follow a hands-on approach. You will not only learn how to exploit an application using different kind of injection attacks, but also develop the vulnerable applications from scratch in which you will have a common web login module with Thymeleaf and Bootstrap for a basic front-end, with Spring security form login authentication & authorisation, and with separate applications for SQL, NoSQL and LDAP injections. 

The applications will be developed using Java, Spring boot and Spring Data along with the most used data sources, such as PostgreSQL for SQL Injection, MongoDB for NoSQL injection and OpenLDAP for LDAP injection.

In each section there will be;

  • Development of the vulnerable web application using Java, Spring boot and Spring security

  • Hacking of the application with various attack payloads and with Ethical hacking examples

  • Protection steps and the implementations to prevent injection attacks

At the end of the course you will understand the different type of injection vulnerabilities, perform injection attacks against the vulnerable web applications you have developed, and learn how to protect your applications against the injection attacks using various techniques such as,

  • Validation and sanitisation using white list approach

  • Parametrised queries with prepared statements

  • Escaping output

  • Using secure trusted libraries

  • Error handling and logging

  • General coding practices

If you want to skip the development and only perform the hacking of applications, you can jump into the injection lectures and download the source code provided in the resources section of that lecture. The source codes are in lecture 20 (SQL Injection), lecture 38 (NoSQL Injection), lecture 51 ( LDAP Injection), lecture 60 (LOG Injection) and lecture 74 (CSV Injection). Be aware that you will still need to install PostgreSQL for SQL Injection, MongoDB for NoSQL injection and OpenLDAP docker container for LDAP injection. You can see how to install and configure these data sources in the beginning lectures of each injection section.


  • Manoj Singh: "Talented instructor and great course!!! Just a small suggestion, If you could add a chapter about "Broken Access Control" topic that will be a great help."

For more detailed information on the progress of this course, you can check the introductory video and free lessons, and if you decide to enroll in this course, you are always welcome to ask and discuss the concepts and implementation details on Q/A and messages sections. I will guide you from start to finish to help you successfully complete the course and gain as much knowledge and experience as possible from this course.

Remember! There is a 30-day full money-back guarantee for this course! So you can safely press the 'Buy this course' button with zero risk and join this learning journey with me.

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Java
Hiển thị tất cả khoá học Spring Boot
Hiển thị tất cả khoá học Web Security
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊