nmap_cheatsheet.md

2026-01-31 1 min read Bash Linux Nmap

I used zapgpt to create a nmap cheat sheet that you too can follow. Just follow the following steps:

Fist save the output of nmap help command to a file. You can also try with nmap man page but that is too huge :(

1
nmap -h > /tmp/nmap.txt

Now you have the nmap help output, you can use zapgpt to create the cheatsheet :

1
zapgpt -p openrouter -m moonshotai/kimi-k2.5 -f /tmp/nmap.txt "Create a 2 page cheatsheet (nicely formatted) for this content. I want you to provide the output in dvi and tell me how to convert that to pdf?"

This will provide you with a text file and how to convert the text to pdf file. I had to use the following commands for converting the tex file to pdf.

Continue reading