TritonDataCenter / pkgsrc

NetBSD/pkgsrc fork for our binary package repositories
https://pkgsrc.smartos.org/
131 stars 51 forks source link

nmap is missing the NSE scripts #365

Closed numericillustration closed 1 year ago

numericillustration commented 1 year ago

Pkgsrc nmap seems to be missing the lua engine and NSE scripts for some reason https://nmap.org/book/man-nse.html

2023.05.03.14:29:41 ~ πŸ‚ /opt/pkg/bin/nmap --version
Nmap version 7.93 ( https://nmap.org )
Platform: aarch64-apple-darwin22
Compiled with: openssl-1.1.1t libssh2-1.10.0 libz-1.2.13 libpcre-8.45 libpcap-1.10.4 nmap-libdnet-1.12 ipv6
Compiled without: liblua
Available nsock engines: kqueue poll select

2023.05.03.14:34:20 ~ πŸ‚ /opt/pkg/bin/nmap -sV --script ssl-enum-ciphers -p 636 <myhost> -Pn
nmap: unrecognized option `--script'
See the output of nmap -h for a summary of options.

homebrew

2023.05.03.14:33:55 ~ πŸ‚ /opt/homebrew/bin/nmap --version
Nmap version 7.93 ( https://nmap.org )
Platform: arm-apple-darwin22.1.0
Compiled with: liblua-5.3.6 openssl-1.1.1t libssh2-1.10.0 libz-1.2.11 libpcre-8.45 libpcap-1.10.1 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: kqueue poll select

2023.05.03.14:25:50 ~ πŸ‚ /opt/homebrew/bin/nmap -sV --script ssl-enum-ciphers -p 636 <myhost> -Pn
Starting Nmap 7.93 ( https://nmap.org ) at 2023-05-03 14:25 PDT
Nmap scan report for <myhost> (IP.AD.DR.ESS)
Host is up (0.10s latency).

PORT    STATE SERVICE  VERSION
636/tcp open  ssl/ldap OpenLDAP 2.2.X - 2.3.X
| ssl-enum-ciphers:
|   TLSv1.2:
|     ciphers:
|       TLS_DHE_RSA_WITH_AES_128_GCM_SHA256 (dh 4096) - A
|       TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 (dh 4096) - A
|       TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (secp256r1) - A
|       TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (secp256r1) - A
|       TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256 (secp256r1) - A
|     compressors:
|       NULL
|     cipher preference: client
|   TLSv1.3:
|     ciphers:
|       TLS_AKE_WITH_AES_128_GCM_SHA256 (ecdh_x25519) - A
|       TLS_AKE_WITH_AES_256_GCM_SHA384 (ecdh_x25519) - A
|       TLS_AKE_WITH_CHACHA20_POLY1305_SHA256 (ecdh_x25519) - A
|     cipher preference: client
|_  least strength: A

Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 21.99 seconds
jperkin commented 1 year ago

Thanks Mike, I've added the lua option to nmap, and will close out the ticket once updated binary packages are available.

jperkin commented 1 year ago

The arm64 package is now available. x86_64 build is currently running.

jperkin commented 1 year ago

Ok x86_64 is also available now, closing out.

numericillustration commented 1 year ago

thanks @jperkin confirmed updated version working great on my end.