New publication: Mastering the Nmap Scripting Engine

New publication: Mastering the Nmap Scripting Engine

Posted on February 21, 2015 by Roberto Salgado

Mastering the Nmap Scripting Engine cover

My newest book Mastering the Nmap Scripting Engine has finally been published. In this book I teach how to use the powerful scripting engine incorporated in Nmap and I share my secrets when it comes to developing NSE scripts.

All the functionality of the Nmap Scripting Engine is explored through 10 chapters which cover from basic concepts and operations to libraries that help expand the functionality of Nmap, so that users can develop their own scripts. The table of contents is as follows:

  • 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 script output
  • Chapter 8: Working with network sockets and binary data
  • Chapter 9: Parallelism
  • Chapter 10: Vulnerability detection and exploitation

The information that I chose for this book tries to answer one of the most asked questions on the Nmap development forum: How do I start developing NSE scripts?

I welcome your comments and don't forget you can download a chapter of the book for free.



This post was originally written by Paulino Calderon and translated by Roberto Salgado. The originally post in Spanish can be found here.

Latest Blog Entries

Three Non Web-based XSS Injections
In this post guest blogger Alejandro Hernandez (nitr0us) writes about some interesting and fun XSS vectors which are not commonly seen.

Belkin Wemo Switch NMap Scripts
Belkin Wemo Switch Smart Plug is a network controlled power outlet. The current firmware version does not requiere authentication to switch the power ON or OFF or to gather information such as nearby wireless networks. Two NMap scripts have been published

Downloading an Application's Entire Source Code Through an Exposed GIT Directory
Website administrators sometimes inadvertently leave an exposed .git directory, from which it is possible to download the entire source code of the web application using just wget and a common server misconfiguration.

Latest News

Blackhat EU 2015
Websec participated with two tools at the Blackhat, EU Arsenal held in Amsterdam, NL from the 10-13 of November, 2015. During this event, we introduced our brand new tool "credmap: The Credential Mapper" and also presented an amped-up version of Panoptic.

BSides Vancouver 2015
Websec is proud to announce that we will be attending the 3rd annual edition of BSides Vancouver, a local non-profit information security conference held in the heart of Vancouver, BC on March 16 and 17.