O'Reilly logo

Penetration Testing with Perl by Swizec Teller

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 1. Perl Programming

This chapter will require basic knowledge of Perl programming and simple programming logic. It will also require a Linux environment and a test lab to test the code examples.

The topics that will be covered in this chapter are as follows:

  • Files
  • Regular expressions
  • Perl string functions and operators
  • CPAN Perl modules
  • CPAN minus

Files

Files are everywhere. We all share, create, modify, and delete files on a daily basis. But what are files? Text files? Images? Yes, these are files, but so are websites, databases, computer screens, keyboards, and even disk drives! The Linux operating system treats everything as a file. This includes regular document files that the user creates, configuration files used by services, and even devices. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required