From nobody Thu Mar 28 20:54:13 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4V5G461Hs4z5G16d; Thu, 28 Mar 2024 20:54:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V5G460bBRz4d5x; Thu, 28 Mar 2024 20:54:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711659254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RvFlyOln8JkMiWTB5j4SxkW3ewJC+XdtJA7j5U3hLME=; b=N0NW8EfcjdFjzzLPcFiWxu1KDGdilVrYCOjBGuMlKPMNE7DRI3s8D/QzxJG8s3PSeRcz3D 1LYV2YHgH/4yCTurRNhp/uJ3nlSrdDDtuFK/N7cVUEId8um3ia6DZDQ+Eoh+plBcWL0Pe3 CaykkROH7iIvxkIhhb+AbmlerCGB38bHTTJ45OdMZ1Q0WePiYHfS3yGHtlxpBYzUk2XVjp a8OeZyIl9VZOFCCOj2S9tECV7/YmyZASXFtkOrmGtBZOe5CQN4xpUB1pPXNRIroAlbXbFv 76D/P1E8ShhNZGoTppZEQzFU6fO+xzOFZ6g0opZzRRC7xbWFM0YDu3hhSfA8Jg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711659254; a=rsa-sha256; cv=none; b=p3WfRY+MLPXS5gvYdMwBzS88CosZdkoQ5dJpuxvPD+hS4bEzv6Z88odbyUiuQ4/s5hcHZ4 26h7UmLEzU+1XrE6nP6vH9SZYbr+cJp3+7ajlEVNvQfVdYWGPaaaQ7Hx86f2ouRTqqab7j ZyAHjSySz9MBR2dWjugbSxYzUG3nsKBpltKCOQsWlc4dAX5ht60C4a1f+X19RsnZjn1qFJ 7TOLIFtmejZaEyENQX8GPRKOdiIEm+0PkKDrqtZOSTa6el0ee1TFgIXcYZDvqGDqxjJ4y8 fxB/jggaJndulE/vqxdqv8mS/05FMn9VdVMXxUX7P/rEzFJBdG17r7qqVDNFWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711659254; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RvFlyOln8JkMiWTB5j4SxkW3ewJC+XdtJA7j5U3hLME=; b=hjQ4K+FygsqfQreqXDXtfLFR7PSvlFa1lAiCwSqjaFbU+exB2VH4wULEH0wZV3L1UbKEHI iSbVFM4s8Wi8xlsMpCnPXqTS2gVbybgJPbmESfltCP+Qeq5jK0J5i/lW/thk1P8Pse24FC kejt4P40WsbwDL+TjBADjKse8IivxdHb2Dv1j0FxFPEKq/tCxW9s6OTNqcJtDRr0ltwL+S eXZtUdzB1GCvz6D8/4ljHCip9LWjD4N5xfVffuQaIs6T8FPk+b+DpHpHB6DdiEIWHph/YM DUzfZXrSvwqQgf8V/DcY1xy32rnzo6qwBXXZBab79Bmk/A4MwncXiiUNPvkTCw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4V5G460B3hzjkG; Thu, 28 Mar 2024 20:54:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42SKsDFe008262; Thu, 28 Mar 2024 20:54:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42SKsDfZ008259; Thu, 28 Mar 2024 20:54:13 GMT (envelope-from git) Date: Thu, 28 Mar 2024 20:54:13 GMT Message-Id: <202403282054.42SKsDfZ008259@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: c89426b1f238 - main - security/nmap-devel: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c89426b1f238e3ad79444ac311cd9d11fd86ac5f Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=c89426b1f238e3ad79444ac311cd9d11fd86ac5f commit c89426b1f238e3ad79444ac311cd9d11fd86ac5f Author: Cy Schubert AuthorDate: 2024-03-28 20:23:34 +0000 Commit: Cy Schubert CommitDate: 2024-03-28 20:53:59 +0000 security/nmap-devel: New port Introduce nmap development port. The development branch includes prerequisite updates including the pcre2 replacement of pcre. This port tracks the nmap/nmap github repo. --- security/Makefile | 1 + security/nmap-devel/Makefile | 91 +++ security/nmap-devel/distinfo | 3 + security/nmap-devel/files/patch-Makefile.in | 11 + .../files/patch-libdnet-stripped_configure | 26 + .../files/patch-libdnet-stripped_src_eth-bsd.c | 11 + .../files/patch-libdnet-stripped_src_intf.c | 11 + security/nmap-devel/files/patch-liblua_Makefile | 13 + security/nmap-devel/files/patch-liblua_liolib.c | 10 + .../nmap-devel/files/patch-libpcap_Makefile.in | 13 + security/nmap-devel/files/patch-ncat__ncat_ssl.c | 13 + security/nmap-devel/files/patch-ncat_ncat__ssl.h | 12 + security/nmap-devel/files/patch-nmap.cc | 10 + security/nmap-devel/files/patch-nping_Crypto.cc | 13 + .../nmap-devel/files/patch-nping_EchoServer.cc | 32 + security/nmap-devel/files/patch-nse__openssl.cc | 13 + security/nmap-devel/files/patch-nse__ssl__cert.cc | 13 + security/nmap-devel/files/patch-output.cc | 10 + security/nmap-devel/files/patch-tcpip.cc | 11 + security/nmap-devel/pkg-descr | 16 + security/nmap-devel/pkg-plist | 823 +++++++++++++++++++++ 21 files changed, 1156 insertions(+) diff --git a/security/Makefile b/security/Makefile index 1a519e82e787..e47beda6b919 100644 --- a/security/Makefile +++ b/security/Makefile @@ -394,6 +394,7 @@ SUBDIR += nist-kat SUBDIR += nitrokey-app SUBDIR += nmap + SUBDIR += nmap-devel SUBDIR += nss SUBDIR += nss_compat_ossl SUBDIR += nuclei diff --git a/security/nmap-devel/Makefile b/security/nmap-devel/Makefile new file mode 100644 index 000000000000..58048e81f261 --- /dev/null +++ b/security/nmap-devel/Makefile @@ -0,0 +1,91 @@ +PORTNAME= nmap +PORTVERSION= ${NMAP_COMMIT_DATE} +CATEGORIES= security +PKGNAMESUFFIX= -devel + +MAINTAINER?= cy@FreeBSD.org +COMMENT?= Port scanning utility for large networks +WWW= https://nmap.org/ + +USE_GITHUB= yes +GH_TAGNAME= 036714cde +NMAP_COMMIT_DATE= 2024.03.27 + +MAKE_JOBS_UNSAFE= yes + +# nmap-6.47 => svn.nmap.org/nmap-releases/nmap-6.47 (r33605) +# https://nmap.org/book/man-legal.html +# Install the nmap modified license because of +# http://insecure.org/news/download-com-fiasco.html +LICENSE= NPSL +LICENSE_NAME= Nmap Public Source License +LICENSE_PERMS= auto-accept dist-mirror pkg-mirror pkg-sell +LICENSE_FILE= ${WRKSRC}/LICENSE + +.if !defined(MASTERDIR) + +LIB_DEPENDS= libpcre2-16.so:devel/pcre2 + +USES= tar:bzip2 gmake cpe libtool +GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share + +OPTIONS_SUB= yes +OPTIONS_DEFINE= DOCS NLS PCAP SSH2 SSL +OPTIONS_DEFAULT=NLS SSH2 SSL + +PCAP_DESC= Build with libpcap from nmap +SSH2_DESC= SSH2 protocol support + +NLS_CONFIGURE_ENABLE= nls +PCAP_CONFIGURE_ON= --with-libpcap=included +SSH2_CONFIGURE_ON= --with-libssh2=included +SSH2_CONFIGURE_OFF= --without-libssh2 +SSH2_IMPLIES= SSL +SSL_USES= ssl +SSL_CONFIGURE_ON= --with-openssl=${OPENSSLBASE} +SSL_CONFIGURE_OFF= --without-openssl +SSL_CFLAGS= -I${OPENSSLINC} +SSL_VARS= STRIP_FILES+=ncat + +DOCS= CHANGELOG HACKING +STRIP_FILES+= nmap nping + +CONFIGURE_ARGS+=--without-localdirs \ + --without-zenmap \ + --without-ndiff \ + --with-libpcre=${LOCALBASE} \ + --with-liblua=included \ + --without-nmap-update + +.include + +# XXX limit results if we do a grep in the sources! +post-extract: + @${RM} -r ${WRKSRC}/mswin32 + +.if exists(/usr/lib/libibverbs.a) +# Link with libibverbs is needed by static libpcap +post-patch-PCAP-on: + @${REINPLACE_CMD} -E -e "s|(PCAP_LIBS=['\"].*)(['\"])$$|\1 -libverbs\2|" \ + ${WRKSRC}/configure \ + ${WRKSRC}/nping/configure \ + ${WRKSRC}/ncat/configure +.endif + +post-configure: + @${REINPLACE_CMD} -e "s|^DESTDIR *=|& ${DESTDIR}|" ${WRKSRC}/Makefile + +pre-install: + ${FIND} ${WRKSRC} -type f \( -name \*.orig -o -name \*.bak \) -delete + +post-install: + ${STRIP_CMD} ${STRIP_FILES:S|^|${STAGEDIR}${PREFIX}/bin/|} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.endif + +.include diff --git a/security/nmap-devel/distinfo b/security/nmap-devel/distinfo new file mode 100644 index 000000000000..a16c0c8cf75a --- /dev/null +++ b/security/nmap-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1711649320 +SHA256 (nmap-nmap-2024.03.27-036714cde_GH0.tar.gz) = e0f8c7f8848e5616a769f9e41957ad8115e9d402936db666687c284d51ad934d +SIZE (nmap-nmap-2024.03.27-036714cde_GH0.tar.gz) = 15264218 diff --git a/security/nmap-devel/files/patch-Makefile.in b/security/nmap-devel/files/patch-Makefile.in new file mode 100644 index 000000000000..443a73d4a9fc --- /dev/null +++ b/security/nmap-devel/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2020-08-27 19:13:31 UTC ++++ Makefile.in +@@ -10,7 +10,7 @@ mandir = @mandir@ + top_srcdir = @top_srcdir@ + srcdir = @srcdir@ + nmapdatadir = @datadir@/nmap +-deskdir = $(prefix)/share/applications ++deskdir = $(LOCALBASE)/share/applications + NMAPDEVDIR=~/nmap-private-dev + + export NBASEDIR=@NBASEDIR@ diff --git a/security/nmap-devel/files/patch-libdnet-stripped_configure b/security/nmap-devel/files/patch-libdnet-stripped_configure new file mode 100644 index 000000000000..74170ec491a6 --- /dev/null +++ b/security/nmap-devel/files/patch-libdnet-stripped_configure @@ -0,0 +1,26 @@ +--- libdnet-stripped/configure.orig 2017-08-02 18:48:27 UTC ++++ libdnet-stripped/configure +@@ -764,6 +764,9 @@ ac_includes_default="\ + #ifdef HAVE_STDINT_H + # include + #endif ++#ifdef HAVE_SYS_SOCKET_H ++# include ++#endif + #ifdef HAVE_UNISTD_H + # include + #endif" +@@ -11828,11 +11831,8 @@ $as_echo_n "checking for Berkeley Packet Filter... " > + if ${ac_cv_dnet_bsd_bpf+:} false; then : + $as_echo_n "(cached) " >&6 + else +- if test -c /dev/bpf0 ; then +- ac_cv_dnet_bsd_bpf=yes +- else +- ac_cv_dnet_bsd_bpf=no +- fi ++# PR ports/154353 : support building in FreeBSD jail ++ ac_cv_dnet_bsd_bpf=yes + fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_dnet_bsd_bpf" >&5 diff --git a/security/nmap-devel/files/patch-libdnet-stripped_src_eth-bsd.c b/security/nmap-devel/files/patch-libdnet-stripped_src_eth-bsd.c new file mode 100644 index 000000000000..24d538b095f8 --- /dev/null +++ b/security/nmap-devel/files/patch-libdnet-stripped_src_eth-bsd.c @@ -0,0 +1,11 @@ +--- libdnet-stripped/src/eth-bsd.c.orig 2009-11-09 04:49:32 UTC ++++ libdnet-stripped/src/eth-bsd.c +@@ -45,7 +45,7 @@ eth_open(const char *device) + int i; + + if ((e = calloc(1, sizeof(*e))) != NULL) { +- for (i = 0; i < 128; i++) { ++ for (i = 0; i < 1024; i++) { + snprintf(file, sizeof(file), "/dev/bpf%d", i); + /* This would be O_WRONLY, but Mac OS X 10.6 has a bug + where that prevents other users of the interface diff --git a/security/nmap-devel/files/patch-libdnet-stripped_src_intf.c b/security/nmap-devel/files/patch-libdnet-stripped_src_intf.c new file mode 100644 index 000000000000..188374dfaaee --- /dev/null +++ b/security/nmap-devel/files/patch-libdnet-stripped_src_intf.c @@ -0,0 +1,11 @@ +--- libdnet-stripped/src/intf.c.orig 2016-07-27 20:11:27 UTC ++++ libdnet-stripped/src/intf.c +@@ -163,7 +163,7 @@ intf_open(void) + #if defined(SIOCGLIFCONF) || defined(SIOCGIFNETMASK_IN6) || defined(SIOCGIFNETMASK6) + if ((intf->fd6 = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { + # ifdef EPROTONOSUPPORT +- if (errno != EPROTONOSUPPORT) ++ if (errno != EPROTONOSUPPORT && errno != EAFNOSUPPORT) + # endif + return (intf_close(intf)); + } diff --git a/security/nmap-devel/files/patch-liblua_Makefile b/security/nmap-devel/files/patch-liblua_Makefile new file mode 100644 index 000000000000..5ff1968b2350 --- /dev/null +++ b/security/nmap-devel/files/patch-liblua_Makefile @@ -0,0 +1,13 @@ +--- liblua/Makefile.orig 2016-07-02 17:02:27 UTC ++++ liblua/Makefile +@@ -6,8 +6,8 @@ + # Your platform. See PLATS for possible values. + PLAT= none + +-CC= gcc -std=gnu99 +-CFLAGS= -O2 -Wall -Wextra -DLUA_COMPAT_5_3 $(SYSCFLAGS) $(MYCFLAGS) ++CC?= gcc -std=gnu99 ++CFLAGS= -Wall -Wextra -DLUA_COMPAT_5_3 $(SYSCFLAGS) $(MYCFLAGS) + LDFLAGS= $(SYSLDFLAGS) $(MYLDFLAGS) + LIBS= -lm $(SYSLIBS) $(MYLIBS) + diff --git a/security/nmap-devel/files/patch-liblua_liolib.c b/security/nmap-devel/files/patch-liblua_liolib.c new file mode 100644 index 000000000000..800fbbebfe87 --- /dev/null +++ b/security/nmap-devel/files/patch-liblua_liolib.c @@ -0,0 +1,10 @@ +--- liblua/liolib.c.orig 2016-07-02 17:02:27 UTC ++++ liblua/liolib.c +@@ -16,6 +16,7 @@ + #include + #include + #include ++#include + + #include "lua.h" + diff --git a/security/nmap-devel/files/patch-libpcap_Makefile.in b/security/nmap-devel/files/patch-libpcap_Makefile.in new file mode 100644 index 000000000000..91bae33073bf --- /dev/null +++ b/security/nmap-devel/files/patch-libpcap_Makefile.in @@ -0,0 +1,13 @@ +--- libpcap/Makefile.in.orig 2022-08-31 11:39:55.000000000 -0700 ++++ libpcap/Makefile.in 2022-09-28 08:38:02.131119000 -0700 +@@ -70,8 +70,8 @@ + EXTRA_NETWORK_LIBS=@EXTRA_NETWORK_LIBS@ + + # Standard CFLAGS for building members of a shared library +-FULL_CFLAGS = $(CCOPT) @V_LIB_CCOPT_FAT@ $(SHLIB_CCOPT) $(INCLS) $(DEFS) $(CFLAGS) +-CXXFLAGS = $(CCOPT) @V_LIB_CCOPT_FAT@ $(SHLIB_CCOPT) $(INCLS) $(DEFS) $(CFLAGS) ++FULL_CFLAGS = -I. $(CCOPT) @V_LIB_CCOPT_FAT@ $(SHLIB_CCOPT) $(INCLS) $(DEFS) $(CFLAGS) ++CXXFLAGS = -I. $(CCOPT) @V_LIB_CCOPT_FAT@ $(SHLIB_CCOPT) $(INCLS) $(DEFS) $(CFLAGS) + + INSTALL = @INSTALL@ + INSTALL_PROGRAM = @INSTALL_PROGRAM@ diff --git a/security/nmap-devel/files/patch-ncat__ncat_ssl.c b/security/nmap-devel/files/patch-ncat__ncat_ssl.c new file mode 100644 index 000000000000..59468e4b465b --- /dev/null +++ b/security/nmap-devel/files/patch-ncat__ncat_ssl.c @@ -0,0 +1,13 @@ +--- ncat/ncat_ssl.c.orig 2022-08-29 17:09:47 UTC ++++ ncat/ncat_ssl.c +@@ -73,7 +73,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_STRUCTS 1 + #define FUNC_ASN1_STRING_data ASN1_STRING_get0_data + #else diff --git a/security/nmap-devel/files/patch-ncat_ncat__ssl.h b/security/nmap-devel/files/patch-ncat_ncat__ssl.h new file mode 100644 index 000000000000..d266e2773ebf --- /dev/null +++ b/security/nmap-devel/files/patch-ncat_ncat__ssl.h @@ -0,0 +1,12 @@ +--- ncat/ncat_ssl.h.orig 2022-08-25 07:51:59.000000000 -0700 ++++ ncat/ncat_ssl.h 2022-09-28 08:44:14.564723000 -0700 +@@ -67,7 +67,8 @@ + #include + #include + + #define NCAT_CA_CERTS_FILE "ca-bundle.crt" ++#define OPENSSL_API_COMPAT OPENSSL_VERSION_NUMBER + + /* OPENSSL_API_LEVEL per OpenSSL 3.0: decimal MMmmpp */ + #ifndef OPENSSL_API_LEVEL + # if OPENSSL_API_COMPAT < 0x900000L diff --git a/security/nmap-devel/files/patch-nmap.cc b/security/nmap-devel/files/patch-nmap.cc new file mode 100644 index 000000000000..e73b24a585fc --- /dev/null +++ b/security/nmap-devel/files/patch-nmap.cc @@ -0,0 +1,10 @@ +--- nmap.cc.orig 2020-10-02 16:12:22 UTC ++++ nmap.cc +@@ -69,6 +69,7 @@ + #include + #endif + ++#include + #include "nmap.h" + #include "osscan.h" + #include "scan_engine.h" diff --git a/security/nmap-devel/files/patch-nping_Crypto.cc b/security/nmap-devel/files/patch-nping_Crypto.cc new file mode 100644 index 000000000000..c234e6c8d6cf --- /dev/null +++ b/security/nmap-devel/files/patch-nping_Crypto.cc @@ -0,0 +1,13 @@ +--- nping/Crypto.cc.orig 2022-02-18 17:38:46 UTC ++++ nping/Crypto.cc +@@ -70,7 +70,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_EVP_PKEY 1 + #define FUNC_EVP_MD_CTX_init EVP_MD_CTX_reset + #define FUNC_EVP_MD_CTX_cleanup EVP_MD_CTX_reset diff --git a/security/nmap-devel/files/patch-nping_EchoServer.cc b/security/nmap-devel/files/patch-nping_EchoServer.cc new file mode 100644 index 000000000000..cb903d069245 --- /dev/null +++ b/security/nmap-devel/files/patch-nping_EchoServer.cc @@ -0,0 +1,32 @@ +--- nping/EchoServer.cc.orig 2020-10-02 16:12:22 UTC ++++ nping/EchoServer.cc +@@ -213,12 +213,12 @@ int EchoServer::nep_listen_socket(){ + server_addr6.sin6_len = sizeof(struct sockaddr_in6); + #endif + /* Bind to local address and the specified port */ +- if( bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){ ++ if( ::bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){ + nping_warning(QT_3, "Failed to bind to source address %s. Trying to bind to port %d...", IPtoa(server_addr6.sin6_addr), port); + /* If the bind failed for the supplied address, just try again with in6addr_any */ + if( o.spoofSource() ){ + server_addr6.sin6_addr = in6addr_any; +- if( bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){ ++ if( ::bind(master_sd, (struct sockaddr *)&server_addr6, sizeof(server_addr6)) != 0 ){ + nping_fatal(QT_3, "Could not bind to port %d (%s).", port, strerror(errno)); + }else{ + nping_print(VB_1, "Server bound to port %d", port); +@@ -251,12 +251,12 @@ int EchoServer::nep_listen_socket(){ + #endif + + /* Bind to local address and the specified port */ +- if( bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){ ++ if( ::bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){ + nping_warning(QT_3, "Failed to bind to source address %s. Trying to bind to port %d...", IPtoa(server_addr4.sin_addr), port); + /* If the bind failed for the supplied address, just try again with in6addr_any */ + if( o.spoofSource() ){ + server_addr4.sin_addr.s_addr=INADDR_ANY; +- if( bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){ ++ if( ::bind(master_sd, (struct sockaddr *)&server_addr4, sizeof(server_addr4)) != 0 ){ + nping_fatal(QT_3, "Could not bind to port %d (%s).", port, strerror(errno)); + }else{ + nping_print(VB_1, "Server bound to port %d", port); diff --git a/security/nmap-devel/files/patch-nse__openssl.cc b/security/nmap-devel/files/patch-nse__openssl.cc new file mode 100644 index 000000000000..43474fefa8b6 --- /dev/null +++ b/security/nmap-devel/files/patch-nse__openssl.cc @@ -0,0 +1,13 @@ +--- nse_openssl.cc.orig 2022-09-01 22:22:29 UTC ++++ nse_openssl.cc +@@ -13,7 +13,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + #define HAVE_OPAQUE_STRUCTS 1 + #define FUNC_EVP_MD_CTX_init EVP_MD_CTX_reset + #define FUNC_EVP_MD_CTX_cleanup EVP_MD_CTX_reset diff --git a/security/nmap-devel/files/patch-nse__ssl__cert.cc b/security/nmap-devel/files/patch-nse__ssl__cert.cc new file mode 100644 index 000000000000..3f02236bb5af --- /dev/null +++ b/security/nmap-devel/files/patch-nse__ssl__cert.cc @@ -0,0 +1,13 @@ +--- nse_ssl_cert.cc.orig 2022-08-31 13:43:38 UTC ++++ nse_ssl_cert.cc +@@ -80,7 +80,9 @@ + #include + #include + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined LIBRESSL_VERSION_NUMBER ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && \ ++ ((!defined LIBRESSL_VERSION_NUMBER) || \ ++ (defined LIBRESSL_VERSION_NUMBER && LIBRESSL_VERSION_NUMBER >= 0x30500000L)) + /* Technically some of these things were added in 0x10100006 + * but that was pre-release. */ + #define HAVE_OPAQUE_STRUCTS 1 diff --git a/security/nmap-devel/files/patch-output.cc b/security/nmap-devel/files/patch-output.cc new file mode 100644 index 000000000000..d0b6705f6ff0 --- /dev/null +++ b/security/nmap-devel/files/patch-output.cc @@ -0,0 +1,10 @@ +--- output.cc.orig 2020-10-02 16:12:22 UTC ++++ output.cc +@@ -90,6 +90,7 @@ + #include + #include + #include ++#include + #include + + extern NmapOps o; diff --git a/security/nmap-devel/files/patch-tcpip.cc b/security/nmap-devel/files/patch-tcpip.cc new file mode 100644 index 000000000000..4cccc9ddd947 --- /dev/null +++ b/security/nmap-devel/files/patch-tcpip.cc @@ -0,0 +1,11 @@ +--- tcpip.cc.orig 2020-10-02 16:12:22 UTC ++++ tcpip.cc +@@ -83,6 +83,8 @@ + #endif /* NETINET_IF_ETHER_H */ + #endif /* HAVE_NETINET_IF_ETHER_H */ + ++#include ++ + extern NmapOps o; + + static PacketCounter PktCt; diff --git a/security/nmap-devel/pkg-descr b/security/nmap-devel/pkg-descr new file mode 100644 index 000000000000..eb6acd1086e8 --- /dev/null +++ b/security/nmap-devel/pkg-descr @@ -0,0 +1,16 @@ +Nmap is a utility for network exploration and security auditing. +It supports various types of host discovery (determine which hosts +are up), many port scanning techniques for different protocols, +version detection (determine service protocols and application +versions listening behind ports), and TCP/IP stack fingerprinting +(remote host OS or device identification). Nmap also offers +flexible target and port specification, decoy/stealth scanning, +sunRPC scanning, and much more. + +Also included is Ncat, the nc(1) work-a-like of the Nmap project. +Refer to the separate port security/zenmap for those parts of the +Nmap toolset which depend on python. The translated manual pages +for Nmap are contained in security/nmap-i18n-man. + +See the web page and the Phrack Magazine article (Volume 7, Issue 51 +September 01, 1997, article 11 of 17) https://nmap.org/p51-11.html diff --git a/security/nmap-devel/pkg-plist b/security/nmap-devel/pkg-plist new file mode 100644 index 000000000000..4cfa311ea2e3 --- /dev/null +++ b/security/nmap-devel/pkg-plist @@ -0,0 +1,823 @@ +bin/ncat +bin/nmap +bin/nping +%%NLS%%share/man/de/man1/nmap.1.gz +%%NLS%%share/man/es/man1/nmap.1.gz +%%NLS%%share/man/fr/man1/nmap.1.gz +%%NLS%%share/man/hr/man1/nmap.1.gz +%%NLS%%share/man/hu/man1/nmap.1.gz +%%NLS%%share/man/it/man1/nmap.1.gz +%%NLS%%share/man/ja/man1/nmap.1.gz +share/man/man1/ncat.1.gz +share/man/man1/nmap.1.gz +share/man/man1/nping.1.gz +%%NLS%%share/man/pl/man1/nmap.1.gz +%%NLS%%share/man/pt_BR/man1/nmap.1.gz +%%NLS%%share/man/pt_PT/man1/nmap.1.gz +%%NLS%%share/man/ro/man1/nmap.1.gz +%%NLS%%share/man/ru/man1/nmap.1.gz +%%NLS%%share/man/sk/man1/nmap.1.gz +%%NLS%%share/man/zh/man1/nmap.1.gz +%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG +%%PORTDOCS%%%%DOCSDIR%%/HACKING +%%SSL%%share/ncat/ca-bundle.crt +%%DATADIR%%/nmap-mac-prefixes +%%DATADIR%%/nmap-os-db +%%DATADIR%%/nmap-protocols +%%DATADIR%%/nmap-rpc +%%DATADIR%%/nmap-service-probes +%%DATADIR%%/nmap-services +%%DATADIR%%/nmap.dtd +%%DATADIR%%/nmap.xsl +%%DATADIR%%/nse_main.lua +%%DATADIR%%/nselib/afp.lua +%%DATADIR%%/nselib/ajp.lua +%%DATADIR%%/nselib/amqp.lua +%%DATADIR%%/nselib/anyconnect.lua +%%DATADIR%%/nselib/asn1.lua +%%DATADIR%%/nselib/base32.lua +%%DATADIR%%/nselib/base64.lua +%%DATADIR%%/nselib/bin.lua +%%DATADIR%%/nselib/bitcoin.lua +%%DATADIR%%/nselib/bits.lua +%%DATADIR%%/nselib/bittorrent.lua +%%DATADIR%%/nselib/bjnp.lua +%%DATADIR%%/nselib/brute.lua +%%DATADIR%%/nselib/cassandra.lua +%%DATADIR%%/nselib/citrixxml.lua +%%DATADIR%%/nselib/coap.lua +%%DATADIR%%/nselib/comm.lua +%%DATADIR%%/nselib/creds.lua +%%DATADIR%%/nselib/cvs.lua +%%DATADIR%%/nselib/data/dns-srv-names +%%DATADIR%%/nselib/data/drupal-modules.lst +%%DATADIR%%/nselib/data/drupal-themes.lst +%%DATADIR%%/nselib/data/enterprise_numbers.txt +%%DATADIR%%/nselib/data/favicon-db +%%DATADIR%%/nselib/data/http-default-accounts-fingerprints.lua +%%DATADIR%%/nselib/data/http-devframework-fingerprints.lua +%%DATADIR%%/nselib/data/http-fingerprints.lua +%%DATADIR%%/nselib/data/http-folders.txt +%%DATADIR%%/nselib/data/http-sql-errors.lst +%%DATADIR%%/nselib/data/http-web-files-extensions.lst +%%DATADIR%%/nselib/data/idnaMappings.lua +%%DATADIR%%/nselib/data/ike-fingerprints.lua +%%DATADIR%%/nselib/data/jdwp-class/JDWPExecCmd.class +%%DATADIR%%/nselib/data/jdwp-class/JDWPExecCmd.java +%%DATADIR%%/nselib/data/jdwp-class/JDWPSystemInfo.class +%%DATADIR%%/nselib/data/jdwp-class/JDWPSystemInfo.java +%%DATADIR%%/nselib/data/jdwp-class/README.txt +%%DATADIR%%/nselib/data/mgroupnames.db +%%DATADIR%%/nselib/data/mysql-cis.audit +%%DATADIR%%/nselib/data/oracle-default-accounts.lst +%%DATADIR%%/nselib/data/oracle-sids +%%DATADIR%%/nselib/data/packetdecoders.lua +%%DATADIR%%/nselib/data/passwords.lst +%%DATADIR%%/nselib/data/pixel.gif +%%DATADIR%%/nselib/data/psexec/README +%%DATADIR%%/nselib/data/psexec/backdoor.lua +%%DATADIR%%/nselib/data/psexec/default.lua +%%DATADIR%%/nselib/data/psexec/drives.lua +%%DATADIR%%/nselib/data/psexec/examples.lua +%%DATADIR%%/nselib/data/psexec/experimental.lua +%%DATADIR%%/nselib/data/psexec/network.lua +%%DATADIR%%/nselib/data/psexec/nmap_service.c +%%DATADIR%%/nselib/data/psexec/nmap_service.vcproj +%%DATADIR%%/nselib/data/psexec/pwdump.lua +%%DATADIR%%/nselib/data/publickeydb +%%DATADIR%%/nselib/data/rtsp-urls.txt +%%DATADIR%%/nselib/data/snmpcommunities.lst +%%DATADIR%%/nselib/data/ssl-fingerprints +%%DATADIR%%/nselib/data/targets-ipv6-wordlist +%%DATADIR%%/nselib/data/tftp-fingerprints.lua +%%DATADIR%%/nselib/data/tftplist.txt +%%DATADIR%%/nselib/data/usernames.lst +%%DATADIR%%/nselib/data/vhosts-default.lst +%%DATADIR%%/nselib/data/vhosts-full.lst +%%DATADIR%%/nselib/data/wp-plugins.lst +%%DATADIR%%/nselib/data/wp-themes.lst +%%DATADIR%%/nselib/datafiles.lua +%%DATADIR%%/nselib/datetime.lua +%%DATADIR%%/nselib/dhcp.lua +%%DATADIR%%/nselib/dhcp6.lua +%%DATADIR%%/nselib/dicom.lua +%%DATADIR%%/nselib/dns.lua +%%DATADIR%%/nselib/dnsbl.lua +%%DATADIR%%/nselib/dnssd.lua +%%DATADIR%%/nselib/drda.lua +%%DATADIR%%/nselib/eap.lua +%%DATADIR%%/nselib/eigrp.lua +%%DATADIR%%/nselib/formulas.lua +%%DATADIR%%/nselib/ftp.lua +%%DATADIR%%/nselib/geoip.lua +%%DATADIR%%/nselib/giop.lua +%%DATADIR%%/nselib/gps.lua +%%DATADIR%%/nselib/http.lua +%%DATADIR%%/nselib/httpspider.lua +%%DATADIR%%/nselib/iax2.lua +%%DATADIR%%/nselib/idna.lua +%%DATADIR%%/nselib/ike.lua +%%DATADIR%%/nselib/imap.lua +%%DATADIR%%/nselib/informix.lua +%%DATADIR%%/nselib/ipOps.lua +%%DATADIR%%/nselib/ipmi.lua +%%DATADIR%%/nselib/ipp.lua +%%DATADIR%%/nselib/irc.lua +%%DATADIR%%/nselib/iscsi.lua +%%DATADIR%%/nselib/isns.lua +%%DATADIR%%/nselib/jdwp.lua +%%DATADIR%%/nselib/json.lua +%%DATADIR%%/nselib/knx.lua +%%DATADIR%%/nselib/ldap.lua +%%DATADIR%%/nselib/lfs.luadoc +%%DATADIR%%/nselib/libssh2-utility.lua +%%DATADIR%%/nselib/libssh2.luadoc +%%DATADIR%%/nselib/listop.lua +%%DATADIR%%/nselib/lpeg-utility.lua +%%DATADIR%%/nselib/lpeg.luadoc +%%DATADIR%%/nselib/ls.lua +%%DATADIR%%/nselib/match.lua +%%DATADIR%%/nselib/membase.lua +%%DATADIR%%/nselib/mobileme.lua +%%DATADIR%%/nselib/mongodb.lua +%%DATADIR%%/nselib/mqtt.lua +%%DATADIR%%/nselib/msrpc.lua +%%DATADIR%%/nselib/msrpcperformance.lua +%%DATADIR%%/nselib/msrpctypes.lua +%%DATADIR%%/nselib/mssql.lua +%%DATADIR%%/nselib/multicast.lua +%%DATADIR%%/nselib/mysql.lua +%%DATADIR%%/nselib/natpmp.lua +%%DATADIR%%/nselib/nbd.lua +%%DATADIR%%/nselib/ncp.lua +%%DATADIR%%/nselib/ndmp.lua +%%DATADIR%%/nselib/netbios.lua +%%DATADIR%%/nselib/nmap.luadoc +%%DATADIR%%/nselib/nrpc.lua +%%DATADIR%%/nselib/nsedebug.lua +%%DATADIR%%/nselib/omp2.lua +%%DATADIR%%/nselib/oops.lua +%%DATADIR%%/nselib/openssl.luadoc +%%DATADIR%%/nselib/ospf.lua +%%DATADIR%%/nselib/outlib.lua +%%DATADIR%%/nselib/packet.lua +%%DATADIR%%/nselib/pgsql.lua +%%DATADIR%%/nselib/pop3.lua +%%DATADIR%%/nselib/pppoe.lua +%%DATADIR%%/nselib/proxy.lua +%%DATADIR%%/nselib/punycode.lua +%%DATADIR%%/nselib/rand.lua +%%DATADIR%%/nselib/rdp.lua +%%DATADIR%%/nselib/re.lua +%%DATADIR%%/nselib/redis.lua +%%DATADIR%%/nselib/rmi.lua +%%DATADIR%%/nselib/rpc.lua +%%DATADIR%%/nselib/rpcap.lua +%%DATADIR%%/nselib/rsync.lua +%%DATADIR%%/nselib/rtsp.lua +%%DATADIR%%/nselib/sasl.lua +%%DATADIR%%/nselib/shortport.lua +%%DATADIR%%/nselib/sip.lua +%%DATADIR%%/nselib/slaxml.lua +%%DATADIR%%/nselib/smb.lua +%%DATADIR%%/nselib/smb2.lua +%%DATADIR%%/nselib/smbauth.lua +%%DATADIR%%/nselib/smtp.lua +%%DATADIR%%/nselib/snmp.lua +%%DATADIR%%/nselib/socks.lua +%%DATADIR%%/nselib/srvloc.lua +%%DATADIR%%/nselib/ssh1.lua +%%DATADIR%%/nselib/ssh2.lua +%%DATADIR%%/nselib/sslcert.lua +%%DATADIR%%/nselib/sslv2.lua +%%DATADIR%%/nselib/stdnse.lua +%%DATADIR%%/nselib/strbuf.lua +%%DATADIR%%/nselib/strict.lua +%%DATADIR%%/nselib/stringaux.lua +%%DATADIR%%/nselib/stun.lua +%%DATADIR%%/nselib/tab.lua +%%DATADIR%%/nselib/tableaux.lua +%%DATADIR%%/nselib/target.lua +%%DATADIR%%/nselib/tftp.lua +%%DATADIR%%/nselib/tls.lua +%%DATADIR%%/nselib/tn3270.lua +%%DATADIR%%/nselib/tns.lua +%%DATADIR%%/nselib/unicode.lua +%%DATADIR%%/nselib/unittest.lua +%%DATADIR%%/nselib/unpwdb.lua +%%DATADIR%%/nselib/upnp.lua +%%DATADIR%%/nselib/url.lua +%%DATADIR%%/nselib/versant.lua +%%DATADIR%%/nselib/vnc.lua +%%DATADIR%%/nselib/vulns.lua +%%DATADIR%%/nselib/vuzedht.lua +%%DATADIR%%/nselib/wsdd.lua +%%DATADIR%%/nselib/xdmcp.lua +%%DATADIR%%/nselib/xmpp.lua +%%DATADIR%%/nselib/zlib.luadoc +%%DATADIR%%/scripts/acarsd-info.nse +%%DATADIR%%/scripts/address-info.nse +%%DATADIR%%/scripts/afp-brute.nse +%%DATADIR%%/scripts/afp-ls.nse +%%DATADIR%%/scripts/afp-path-vuln.nse +%%DATADIR%%/scripts/afp-serverinfo.nse +%%DATADIR%%/scripts/afp-showmount.nse +%%DATADIR%%/scripts/ajp-auth.nse +%%DATADIR%%/scripts/ajp-brute.nse +%%DATADIR%%/scripts/ajp-headers.nse +%%DATADIR%%/scripts/ajp-methods.nse +%%DATADIR%%/scripts/ajp-request.nse +%%DATADIR%%/scripts/allseeingeye-info.nse +%%DATADIR%%/scripts/amqp-info.nse +%%DATADIR%%/scripts/asn-query.nse +%%DATADIR%%/scripts/auth-owners.nse +%%DATADIR%%/scripts/auth-spoof.nse +%%DATADIR%%/scripts/backorifice-brute.nse +%%DATADIR%%/scripts/backorifice-info.nse +%%DATADIR%%/scripts/bacnet-info.nse +%%DATADIR%%/scripts/banner.nse +%%DATADIR%%/scripts/bitcoin-getaddr.nse +%%DATADIR%%/scripts/bitcoin-info.nse +%%DATADIR%%/scripts/bitcoinrpc-info.nse +%%DATADIR%%/scripts/bittorrent-discovery.nse +%%DATADIR%%/scripts/bjnp-discover.nse +%%DATADIR%%/scripts/broadcast-ataoe-discover.nse +%%DATADIR%%/scripts/broadcast-avahi-dos.nse +%%DATADIR%%/scripts/broadcast-bjnp-discover.nse +%%DATADIR%%/scripts/broadcast-db2-discover.nse +%%DATADIR%%/scripts/broadcast-dhcp-discover.nse +%%DATADIR%%/scripts/broadcast-dhcp6-discover.nse +%%DATADIR%%/scripts/broadcast-dns-service-discovery.nse +%%DATADIR%%/scripts/broadcast-dropbox-listener.nse +%%DATADIR%%/scripts/broadcast-eigrp-discovery.nse +%%DATADIR%%/scripts/broadcast-hid-discoveryd.nse +%%DATADIR%%/scripts/broadcast-igmp-discovery.nse +%%DATADIR%%/scripts/broadcast-jenkins-discover.nse +%%DATADIR%%/scripts/broadcast-listener.nse +%%DATADIR%%/scripts/broadcast-ms-sql-discover.nse +%%DATADIR%%/scripts/broadcast-netbios-master-browser.nse +%%DATADIR%%/scripts/broadcast-networker-discover.nse +%%DATADIR%%/scripts/broadcast-novell-locate.nse +%%DATADIR%%/scripts/broadcast-ospf2-discover.nse +%%DATADIR%%/scripts/broadcast-pc-anywhere.nse +%%DATADIR%%/scripts/broadcast-pc-duo.nse +%%DATADIR%%/scripts/broadcast-pim-discovery.nse +%%DATADIR%%/scripts/broadcast-ping.nse +%%DATADIR%%/scripts/broadcast-pppoe-discover.nse +%%DATADIR%%/scripts/broadcast-rip-discover.nse +%%DATADIR%%/scripts/broadcast-ripng-discover.nse +%%DATADIR%%/scripts/broadcast-sonicwall-discover.nse +%%DATADIR%%/scripts/broadcast-sybase-asa-discover.nse +%%DATADIR%%/scripts/broadcast-tellstick-discover.nse +%%DATADIR%%/scripts/broadcast-upnp-info.nse +%%DATADIR%%/scripts/broadcast-versant-locate.nse +%%DATADIR%%/scripts/broadcast-wake-on-lan.nse +%%DATADIR%%/scripts/broadcast-wpad-discover.nse +%%DATADIR%%/scripts/broadcast-wsdd-discover.nse +%%DATADIR%%/scripts/broadcast-xdmcp-discover.nse +%%DATADIR%%/scripts/cassandra-brute.nse +%%DATADIR%%/scripts/cassandra-info.nse +%%DATADIR%%/scripts/cccam-version.nse +%%DATADIR%%/scripts/cics-enum.nse +%%DATADIR%%/scripts/cics-info.nse +%%DATADIR%%/scripts/cics-user-brute.nse +%%DATADIR%%/scripts/cics-user-enum.nse +%%DATADIR%%/scripts/citrix-brute-xml.nse +%%DATADIR%%/scripts/citrix-enum-apps-xml.nse +%%DATADIR%%/scripts/citrix-enum-apps.nse +%%DATADIR%%/scripts/citrix-enum-servers-xml.nse +%%DATADIR%%/scripts/citrix-enum-servers.nse +%%DATADIR%%/scripts/clamav-exec.nse +%%DATADIR%%/scripts/clock-skew.nse +%%DATADIR%%/scripts/coap-resources.nse +%%DATADIR%%/scripts/couchdb-databases.nse +%%DATADIR%%/scripts/couchdb-stats.nse +%%DATADIR%%/scripts/creds-summary.nse +%%DATADIR%%/scripts/cups-info.nse +%%DATADIR%%/scripts/cups-queue-info.nse +%%DATADIR%%/scripts/cvs-brute-repository.nse +%%DATADIR%%/scripts/cvs-brute.nse +%%DATADIR%%/scripts/daap-get-library.nse +%%DATADIR%%/scripts/daytime.nse +%%DATADIR%%/scripts/db2-das-info.nse +%%DATADIR%%/scripts/deluge-rpc-brute.nse +%%DATADIR%%/scripts/dhcp-discover.nse +%%DATADIR%%/scripts/dicom-brute.nse +%%DATADIR%%/scripts/dicom-ping.nse +%%DATADIR%%/scripts/dict-info.nse +%%DATADIR%%/scripts/distcc-cve2004-2687.nse +%%DATADIR%%/scripts/dns-blacklist.nse +%%DATADIR%%/scripts/dns-brute.nse +%%DATADIR%%/scripts/dns-cache-snoop.nse +%%DATADIR%%/scripts/dns-check-zone.nse +%%DATADIR%%/scripts/dns-client-subnet-scan.nse +%%DATADIR%%/scripts/dns-fuzz.nse +%%DATADIR%%/scripts/dns-ip6-arpa-scan.nse +%%DATADIR%%/scripts/dns-nsec-enum.nse +%%DATADIR%%/scripts/dns-nsec3-enum.nse +%%DATADIR%%/scripts/dns-nsid.nse +%%DATADIR%%/scripts/dns-random-srcport.nse +%%DATADIR%%/scripts/dns-random-txid.nse +%%DATADIR%%/scripts/dns-recursion.nse +%%DATADIR%%/scripts/dns-service-discovery.nse +%%DATADIR%%/scripts/dns-srv-enum.nse +%%DATADIR%%/scripts/dns-update.nse +%%DATADIR%%/scripts/dns-zeustracker.nse +%%DATADIR%%/scripts/dns-zone-transfer.nse +%%DATADIR%%/scripts/docker-version.nse +%%DATADIR%%/scripts/domcon-brute.nse +%%DATADIR%%/scripts/domcon-cmd.nse +%%DATADIR%%/scripts/domino-enum-users.nse +%%DATADIR%%/scripts/dpap-brute.nse +%%DATADIR%%/scripts/drda-brute.nse +%%DATADIR%%/scripts/drda-info.nse +%%DATADIR%%/scripts/duplicates.nse +%%DATADIR%%/scripts/eap-info.nse +%%DATADIR%%/scripts/enip-info.nse +%%DATADIR%%/scripts/epmd-info.nse +%%DATADIR%%/scripts/eppc-enum-processes.nse +%%DATADIR%%/scripts/fcrdns.nse +%%DATADIR%%/scripts/finger.nse +%%DATADIR%%/scripts/fingerprint-strings.nse +%%DATADIR%%/scripts/firewalk.nse +%%DATADIR%%/scripts/firewall-bypass.nse +%%DATADIR%%/scripts/flume-master-info.nse +%%DATADIR%%/scripts/fox-info.nse +%%DATADIR%%/scripts/freelancer-info.nse +%%DATADIR%%/scripts/ftp-anon.nse +%%DATADIR%%/scripts/ftp-bounce.nse +%%DATADIR%%/scripts/ftp-brute.nse +%%DATADIR%%/scripts/ftp-libopie.nse +%%DATADIR%%/scripts/ftp-proftpd-backdoor.nse +%%DATADIR%%/scripts/ftp-syst.nse +%%DATADIR%%/scripts/ftp-vsftpd-backdoor.nse +%%DATADIR%%/scripts/ftp-vuln-cve2010-4221.nse +%%DATADIR%%/scripts/ganglia-info.nse +%%DATADIR%%/scripts/giop-info.nse +%%DATADIR%%/scripts/gkrellm-info.nse +%%DATADIR%%/scripts/gopher-ls.nse +%%DATADIR%%/scripts/gpsd-info.nse +%%DATADIR%%/scripts/hadoop-datanode-info.nse +%%DATADIR%%/scripts/hadoop-jobtracker-info.nse +%%DATADIR%%/scripts/hadoop-namenode-info.nse +%%DATADIR%%/scripts/hadoop-secondary-namenode-info.nse +%%DATADIR%%/scripts/hadoop-tasktracker-info.nse +%%DATADIR%%/scripts/hbase-master-info.nse +%%DATADIR%%/scripts/hbase-region-info.nse +%%DATADIR%%/scripts/hddtemp-info.nse +%%DATADIR%%/scripts/hnap-info.nse +%%DATADIR%%/scripts/hostmap-bfk.nse +%%DATADIR%%/scripts/hostmap-crtsh.nse +%%DATADIR%%/scripts/hostmap-robtex.nse +%%DATADIR%%/scripts/http-adobe-coldfusion-apsa1301.nse +%%DATADIR%%/scripts/http-affiliate-id.nse +%%DATADIR%%/scripts/http-apache-negotiation.nse +%%DATADIR%%/scripts/http-apache-server-status.nse +%%DATADIR%%/scripts/http-aspnet-debug.nse +%%DATADIR%%/scripts/http-auth-finder.nse +%%DATADIR%%/scripts/http-auth.nse +%%DATADIR%%/scripts/http-avaya-ipoffice-users.nse +%%DATADIR%%/scripts/http-awstatstotals-exec.nse +%%DATADIR%%/scripts/http-axis2-dir-traversal.nse +%%DATADIR%%/scripts/http-backup-finder.nse +%%DATADIR%%/scripts/http-barracuda-dir-traversal.nse +%%DATADIR%%/scripts/http-bigip-cookie.nse +%%DATADIR%%/scripts/http-brute.nse +%%DATADIR%%/scripts/http-cakephp-version.nse +%%DATADIR%%/scripts/http-chrono.nse +%%DATADIR%%/scripts/http-cisco-anyconnect.nse +%%DATADIR%%/scripts/http-coldfusion-subzero.nse +%%DATADIR%%/scripts/http-comments-displayer.nse +%%DATADIR%%/scripts/http-config-backup.nse +%%DATADIR%%/scripts/http-cookie-flags.nse +%%DATADIR%%/scripts/http-cors.nse +%%DATADIR%%/scripts/http-cross-domain-policy.nse +%%DATADIR%%/scripts/http-csrf.nse +%%DATADIR%%/scripts/http-date.nse +%%DATADIR%%/scripts/http-default-accounts.nse +%%DATADIR%%/scripts/http-devframework.nse +%%DATADIR%%/scripts/http-dlink-backdoor.nse +%%DATADIR%%/scripts/http-dombased-xss.nse +%%DATADIR%%/scripts/http-domino-enum-passwords.nse +%%DATADIR%%/scripts/http-drupal-enum-users.nse +%%DATADIR%%/scripts/http-drupal-enum.nse +%%DATADIR%%/scripts/http-enum.nse +%%DATADIR%%/scripts/http-errors.nse +%%DATADIR%%/scripts/http-exif-spider.nse +%%DATADIR%%/scripts/http-favicon.nse +%%DATADIR%%/scripts/http-feed.nse +%%DATADIR%%/scripts/http-fetch.nse +%%DATADIR%%/scripts/http-fileupload-exploiter.nse +%%DATADIR%%/scripts/http-form-brute.nse +%%DATADIR%%/scripts/http-form-fuzzer.nse +%%DATADIR%%/scripts/http-frontpage-login.nse +%%DATADIR%%/scripts/http-generator.nse +%%DATADIR%%/scripts/http-git.nse +%%DATADIR%%/scripts/http-gitweb-projects-enum.nse +%%DATADIR%%/scripts/http-google-malware.nse +%%DATADIR%%/scripts/http-grep.nse +%%DATADIR%%/scripts/http-headers.nse +%%DATADIR%%/scripts/http-hp-ilo-info.nse +%%DATADIR%%/scripts/http-huawei-hg5xx-vuln.nse +%%DATADIR%%/scripts/http-icloud-findmyiphone.nse +%%DATADIR%%/scripts/http-icloud-sendmsg.nse +%%DATADIR%%/scripts/http-iis-short-name-brute.nse +%%DATADIR%%/scripts/http-iis-webdav-vuln.nse +%%DATADIR%%/scripts/http-internal-ip-disclosure.nse +%%DATADIR%%/scripts/http-joomla-brute.nse +%%DATADIR%%/scripts/http-jsonp-detection.nse +%%DATADIR%%/scripts/http-litespeed-sourcecode-download.nse +%%DATADIR%%/scripts/http-ls.nse +%%DATADIR%%/scripts/http-majordomo2-dir-traversal.nse +%%DATADIR%%/scripts/http-malware-host.nse +%%DATADIR%%/scripts/http-mcmp.nse +%%DATADIR%%/scripts/http-method-tamper.nse +%%DATADIR%%/scripts/http-methods.nse +%%DATADIR%%/scripts/http-mobileversion-checker.nse +%%DATADIR%%/scripts/http-ntlm-info.nse +%%DATADIR%%/scripts/http-open-proxy.nse +%%DATADIR%%/scripts/http-open-redirect.nse +%%DATADIR%%/scripts/http-passwd.nse +%%DATADIR%%/scripts/http-php-version.nse +%%DATADIR%%/scripts/http-phpmyadmin-dir-traversal.nse +%%DATADIR%%/scripts/http-phpself-xss.nse +%%DATADIR%%/scripts/http-proxy-brute.nse +%%DATADIR%%/scripts/http-put.nse +%%DATADIR%%/scripts/http-qnap-nas-info.nse +%%DATADIR%%/scripts/http-referer-checker.nse +%%DATADIR%%/scripts/http-rfi-spider.nse +%%DATADIR%%/scripts/http-robots.txt.nse +%%DATADIR%%/scripts/http-robtex-reverse-ip.nse +%%DATADIR%%/scripts/http-robtex-shared-ns.nse +%%DATADIR%%/scripts/http-sap-netweaver-leak.nse +%%DATADIR%%/scripts/http-security-headers.nse +%%DATADIR%%/scripts/http-server-header.nse +%%DATADIR%%/scripts/http-shellshock.nse +%%DATADIR%%/scripts/http-sitemap-generator.nse +%%DATADIR%%/scripts/http-slowloris-check.nse +%%DATADIR%%/scripts/http-slowloris.nse +%%DATADIR%%/scripts/http-sql-injection.nse +%%DATADIR%%/scripts/http-stored-xss.nse +%%DATADIR%%/scripts/http-svn-enum.nse +%%DATADIR%%/scripts/http-svn-info.nse +%%DATADIR%%/scripts/http-title.nse +%%DATADIR%%/scripts/http-tplink-dir-traversal.nse +%%DATADIR%%/scripts/http-trace.nse +%%DATADIR%%/scripts/http-traceroute.nse +%%DATADIR%%/scripts/http-trane-info.nse +%%DATADIR%%/scripts/http-unsafe-output-escaping.nse +%%DATADIR%%/scripts/http-useragent-tester.nse +%%DATADIR%%/scripts/http-userdir-enum.nse +%%DATADIR%%/scripts/http-vhosts.nse +%%DATADIR%%/scripts/http-virustotal.nse +%%DATADIR%%/scripts/http-vlcstreamer-ls.nse +%%DATADIR%%/scripts/http-vmware-path-vuln.nse +%%DATADIR%%/scripts/http-vuln-cve2006-3392.nse +%%DATADIR%%/scripts/http-vuln-cve2009-3960.nse +%%DATADIR%%/scripts/http-vuln-cve2010-0738.nse +%%DATADIR%%/scripts/http-vuln-cve2010-2861.nse +%%DATADIR%%/scripts/http-vuln-cve2011-3192.nse +%%DATADIR%%/scripts/http-vuln-cve2011-3368.nse +%%DATADIR%%/scripts/http-vuln-cve2012-1823.nse +%%DATADIR%%/scripts/http-vuln-cve2013-0156.nse +%%DATADIR%%/scripts/http-vuln-cve2013-6786.nse +%%DATADIR%%/scripts/http-vuln-cve2013-7091.nse *** 339 LINES SKIPPED ***