mirror of
https://github.com/nmap/nmap.git
synced 2026-01-14 18:39:03 +00:00
with the struct (bin) library available:
function hextobin(str) return bin.pack("H", str) end
function bintohex(str) return bin.unpack("H", str) end
Also removed a commented copy that was in the sniffer-detect.nse script.
20 KiB
20 KiB