March 2023
Intermediate to advanced
284 pages
6h 10m
English
Here in Chapter 7, we will continue with input validation. We will cover code injection, which enables the attacker to insert custom code into the program that it will then run. We will then take a look at command injection, which uses pre-existing code to run commands, typically in the context of a shell. We’ll discuss server-side template injection (SSTI), which is when user input is inserted in an unsafe manner in a template, resulting in remote code execution on the server. Lastly, we will cover Server-Side Request Forgery (SSRF), which exploits the server functionality to read or alter internal resources.
In this chapter, we will cover the following recipes:
Read now
Unlock full access