Chapter 15

Introduction to Scripting with Ruby

Chapter Objectives

After reading this chapter and completing the exercises, you will be able to do the following:

images Understand the basics of Ruby scripting

images Write basic Ruby scripts

images Read and understand Ruby scripts

Ruby is the language used for Metasploit. As such, it is a key skill if you wish to write your own Metasploit payloads. In this chapter you will see a general introduction to Ruby. If you ...

Get Penetration Testing Fundamentals: A Hands-On Guide to Reliable Security Audits now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.