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

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.

credmap: The Credential Mapper
An overview of credmap, an open source penetration testing tool that automates the process of testing for credential reuse. It does so by testing supplied user credentials on known websites and verifies if the password has been reused on any of these.

New publication: Mastering the Nmap Scripting Engine
We invite you to learn more about the latest publication from our team, "Mastering the Nmap Scripting Engine".

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.