O'Reilly logo

Mastering the Nmap Scripting Engine by Paulino Calderón Pale

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 2. Lua Fundamentals

Lua is a dynamically interpreted scripting language characterized as fast, flexible, portable, small, and yet very powerful. It has been chosen for these very reasons by a variety of well-recognized projects in many industries, including information security. Nmap Scripting Engine (NSE) uses Lua to allow users to easily extend the capabilities of Nmap by writing scripts that have access to the information collected by the tool.

Entire books can be written about Lua and its wonderful flexibility and amazing features. This chapter will merely introduce you to the basics of what you need to know to start working on your own NSE scripts. If you would like to dig deeper into Lua after reading this chapter, I highly recommend ...

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