mirror of
https://github.com/nmap/nmap.git
synced 2026-01-08 07:29:03 +00:00
dd40ba14eac27fcadc022aecded48e7b133b81c1
Use of the "H" bin.unpack template should be discouraged, since it leads to use of blobs of hex data without dissection. NSE scripts should be self-documenting with regard to packet contents. Similarly, chaining bin.pack and bin.unpack is usually an anti-pattern for some simpler construct. In this case, converting a number to hex, padding it with "0", and packing it is unnecessary, since the original number can be packed directly with the proper endianness and width.
Here is some documentation for Nmap, but these files are much less comprehensive than what you'll find at the actual Nmap documentation site ( http://nmap.org ).
Description
Languages
C
37.8%
Lua
28.1%
C++
16.7%
Shell
5.8%
Python
4.2%
Other
7.2%