Master the Nmap Scripting Engine and the art of developing NSE scripts.
Mastering the Nmap Scripting Engine will take you through the process of developing Lua scripts for the Nmap Scripting Engine (NSE). The Nmap Scripting Engine’s capabilities are explored throughout 10 chapters covering the fundamental concepts, operations, and libraries to teach you how to extend Nmap scans with custom tasks.
The information I selected for this book attempts to answer one of the most common questions received on the Nmap development mailing list: "How do I start writing NSE scripts?"
Don't forget you can download the sample chapter for free.
Chapter 1: Introduction to the Nmap Scripting Engine
Learn basic and advance usage options and applications of the Nmap Scripting Engine.
Chapter 2: Lua Fundamentals
Get to grips with the fundamentals of Lua, the programming language used by the Nmap Scripting Engine.
Chapter 3: NSE Data Files
Customize the databases distributed with the Nmap Scripting Engine to improve effectiveness of scans.
Chapter 4: Exploring the Nmap Scripting Engine API and Libraries
Explore the Nmap Scripting Engine API and the vast amount of available libraries.
Chapter 5: Enhancing Version Detection
Learn how to enhance the version detection capabilities of Nmap.
Chapter 6: Developing Brute-force Password-auditing Scripts
Write robust password auditing scripts in minutes!
Chapter 7: Formatting the Script Output
Learn to write scripts that provide robust reports.
Chapter 8: Working with Network Sockets and Binary Data
Learn to perform basic and advanced network I/O operations and handle binary data.
Chapter 9: Parallelism
Learn the concepts related to parallelism and colaborative multi-tasking in Lua and the Nmap Scripting Engine..
Chapter 10: Vulnerability Detection and Exploitation
Detect and exploit security vulnerabilities with help of the Nmap Scripting Engine.
Mastering the Nmap Scripting Engine is also available in the official Kindle Store!
The digital version of this book is completely DRM free! We support the Electronic Frontier Foundation in the fight against mechanisms that slow down innovation.
Mastering the Nmap Scripting Engine is available through many distributors so you have plenty of options to choose from! The following is a list I compiled of well known distributors where you can get your own digital/physical copy of this book:
Additional updates will be posted on the author's blog. We also invite you to share the NSE scripts you write after reading this book. Feedback is always appreciated.