Book Image

Mastering the Nmap Scripting Engine

By : Paulino Calderon
Book Image

Mastering the Nmap Scripting Engine

By: Paulino Calderon

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
Scan Phases
Script Categories
Nmap Options Mind Map
References
Index

Summary


In this chapter, we had fun writing NSE scripts that use the brute library to launch dictionary attacks. Our script, mikrotik-routeros-brute, showed that we only needed 100 lines of code to produce scripts that support parallelism, connection retries, account handling, and reporting.

After reading this chapter, you should know all the required libraries and how to implement the interfaces needed to write your own scripts. Grab your favorite web application and practice this new knowledge. There is no better way to master something than practicing.

The next chapter introduces output formatting in NSE. You will learn about the output modes supported by Nmap and their advantages and drawbacks in NSE. It is time we learned some good practices on how to format our script's output.