Metamethods allow us to change the behavior of a table by writing custom functions for operators—such as comparing objects, arithmetical operations, and more. For example, let's say we would like to overload the "add" functionality of our table object with a new function that adds certain fields we select. Normally, the addition operation isn't valid on tables but, with metatables, we can overwrite the __add
metamethod to perform whatever we need.
Mastering the Nmap Scripting Engine
By :
Mastering the Nmap Scripting Engine
By:
Overview of this book
Table of Contents (23 chapters)
Mastering the Nmap Scripting Engine
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Introduction to the Nmap Scripting Engine
Lua Fundamentals
NSE Data Files
Exploring the Nmap Scripting Engine API and Libraries
Enhancing Version Detection
Developing Brute-force Password-auditing Scripts
Formatting the Script Output
Working with Network Sockets and Binary Data
Parallelism
Vulnerability Detection and Exploitation
Scan Phases
NSE Script Template
Script Categories
Nmap Options Mind Map
References
Index
Customer Reviews