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.