0

I have installed nmap using the guidance on nmap.org here

nmap --version yields

Nmap version 7.95 ( https://nmap.org ) Platform: x86_64-redhat-linux-gnu Compiled with: nmap-liblua-5.4.6 openssl-3.0.13 nmap-libssh2-1.11.0 nmap-libz-1.3.1 nmap-libpcre2-10.43 nmap-libpcap-1.10.4 nmap-libdnet-1.12 ipv6 Compiled without: Available nsock engines: epoll poll select 

I end up with the follwing files in /usr/share/nmap

-rw-r--r-- 1 root root 10829 Oct 17 18:59 nmap.dtd -rw-r--r-- 1 root root 1218140 Oct 17 18:59 nmap-mac-prefixes -rw-r--r-- 1 root root 5306593 Oct 17 18:59 nmap-os-db -rw-r--r-- 1 root root 6845 Oct 17 18:59 nmap-protocols -rw-r--r-- 1 root root 43529 Oct 17 18:59 nmap-rpc -rw-r--r-- 1 root root 2573533 Oct 17 18:59 nmap-service-probes -rw-r--r-- 1 root root 997433 Oct 17 18:59 nmap-services -rw-r--r-- 1 root root 31936 Oct 17 18:59 nmap.xsl drwxr-xr-x 3 root root 20480 Feb 14 14:01 nselib -rw-r--r-- 1 root root 49961 Oct 17 18:59 nse_main.lua drwxr-xr-x 2 root root 90112 Feb 14 14:01 scripts 

However the scripts in the ./scripts directory are dated 2024-10-17

If I run nmap --script-updatedb the timestamp on scripts.db updates to now but none of the scripts change.

I know that in nmap githib repo their is, e.g. a change to ssl-cert.nse

So my question is why does my local set of scripts update with latest github master and how can I achieve that?

1
  • It is unclear how you installed nmap. If you want the latest, you would need do download the sources and compile them. See nmap.org/book/inst-source.html The --script-updatedb flag does not do what you expect it does - it does not download new scripts from the sources. Commented Feb 20 at 13:34

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.