Master the Nmap Scripting Engine and the art of developing NSE scripts
Paulino Calderon Pale

#Nmap
#Scripting_Engine
#API
#NSE
Master the Nmap Scripting Engine and the art of developing NSE scripts
If you want to learn to write your own scripts for the Nmap Scripting Engine, this is the book for you. It is perfect for network administrators, information security professionals, and even Internet enthusiasts who are familiar with Nmap.
Nmap is a well-known security tool used by penetration testers and system administrators for many different networking tasks. The Nmap Scripting Engine (NSE) was introduced during Google's Summer of Code 2006 and has added the ability to perform additional tasks on target hosts, such as advanced fingerprinting and service discovery and information gathering.
This book will teach you everything you need to know to master the art of developing NSE scripts. The book starts by covering the fundamental concepts of Lua programming and reviews the syntax and structure of NSE scripts. After that, it covers the most important features of NSE. It jumps right into coding practical scripts and explains how to use the Nmap API and the available NSE libraries to produce robust scripts. Finally, the book covers output formatting, string handling, network I/O, parallelism, and vulnerability exploitation.
Table of Contents
Chapter 1: Introduction to the Nmap Scripting Engine
Chapter 2 : Lua Fundamentals
Chapter 3 : NSE Data Files
Chapter 4 : Exploring the Nmap Scripting Engine API and Libraries
Chapter 5 : Enhancing Version Detection
Chapter 6 : Developing Brute-force Password-auditing Scripts
Chapter 7 : Formatting the Script Output
Chapter 8 : Working with Network Sockets and Binary Data
Chapter 9 : Parallelism
Chapter 10 : Vulnerability Detection and Exploitation
Appendix A: Scan Phases
Appendix B : NSE Script Template
Appendix C: Script Categories
Appendix D: Nmap Options Mind Map
Appendix E : References









