Chapter 5

Introduction to web scripting with PHP

Abstract

This chapter dives into the world of PHP and Web scripting. Through building basic Web applications with the HyperText Markup Language and PHP, we can build dynamic Web pages that take advantage of file manipulation, databases, and even issuing system calls. This chapter focuses on some of the basics and works up to create Web shells that we can use in the field. While working through examples of file manipulation, command execution, loops, and data structures, this chapter walks through the core concepts of PHP that we will need to understand while testing, as well as helps us to create tools that we can use, extend, and incorporate into more sophisticated tools.

Keywords

PHP. web; HTML; ...

Get Coding for Penetration Testers, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.