In this Part, we are going to briefly introduce Path Traversal, usage of Delimiters, and Information Disclosure attack. We are going to present simple solutions to simplified problems involving the attacks.

Exercise 8: Path Traversal

Figure : A simple webpage in which you choose an article and view it The website (index.php) in the PathTraversal folder contains a simple form which submits to the same page through the GET request method. Once a choice of article has been made and “View article” has been clicked, the following PHP code executes: [php] " . file_get_contents($_GET["article"]) . "