Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
Powerful webserver security scanner.
The following features are supported:
- Operating System Detect(used by NetCraft)
- webserver type scan
- CVE compatible(only NT, some Unix)
- flexible scan rule databases
- multiple hosts scan and multiple hosts webserver type scan.
- http port
- wide network(ip range) scan
- wide network webserver type scan
- patch information.(completed patch info-NT)
- http request injection.
- virtual host scan
- fast scan(used a Processes)
- recv flags
+22
View File
@@ -0,0 +1,22 @@
# $NetBSD: Makefile,v 1.16 2012/10/23 18:16:21 asau Exp $
#
DISTNAME= arirang-1.6
PKGREVISION= 1
CATEGORIES= security www
MASTER_SITES= http://monkey.org/~pilot/arirang/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://monkey.org/~pilot/arirang/
COMMENT= Powerful webserver security scanner
INSTALLATION_DIRS= sbin share/arirang
LIBS.SunOS+= -lsocket -lnsl
MAKE_ENV+= LIBS=${LIBS:Q}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arirang ${DESTDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/scanrule/*.uxe ${DESTDIR}${PREFIX}/share/arirang
.include "../../mk/bsd.pkg.mk"
+25
View File
@@ -0,0 +1,25 @@
@comment $NetBSD: PLIST,v 1.3 2009/06/14 18:13:26 joerg Exp $
sbin/arirang
share/arirang/against-snort.uxe
share/arirang/all.uxe
share/arirang/apache.uxe
share/arirang/bof_dos.uxe
share/arirang/cfusion.uxe
share/arirang/codered.uxe
share/arirang/frontpage2k.uxe
share/arirang/idstest.uxe
share/arirang/iis.uxe
share/arirang/iiscgi.uxe
share/arirang/inject.uxe
share/arirang/ncbook.uxe
share/arirang/nes.uxe
share/arirang/network.uxe
share/arirang/nimda.uxe
share/arirang/nt.uxe
share/arirang/nt_head.uxe
share/arirang/rule.uxe
share/arirang/server.uxe
share/arirang/unix.uxe
share/arirang/unix_bin.uxe
share/arirang/unix_cgi.uxe
share/arirang/unix_head.uxe
+7
View File
@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.5 2012/06/23 23:07:20 dholland Exp $
SHA1 (arirang-1.6.tar.gz) = 8f2a658d387830f25106dc21f05a5f54ae4b9964
RMD160 (arirang-1.6.tar.gz) = 4c3f8262d4592a8bb9b4b9693336c1c078fd3b83
Size (arirang-1.6.tar.gz) = 54170 bytes
SHA1 (patch-Makefile) = 28c47ff5a915e2abb1e99d027e0af6938fe0bc75
SHA1 (patch-aa) = 2205992fdb39583e2dca69aeaa59d149b973cc62
+13
View File
@@ -0,0 +1,13 @@
$NetBSD: patch-Makefile,v 1.1 2012/06/23 23:07:20 dholland Exp $
--- Makefile~ 2002-07-21 06:53:48.000000000 +0000
+++ Makefile
@@ -9,7 +9,7 @@ OBJS= $(SRCS:.c=.o)
$(CC) $(CFLAGS) -c $<
$(TARGET) : $(OBJS)
- $(CC) $(CFLAGS) -o $(TARGET) $(OBJS)
+ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
clean:
+28
View File
@@ -0,0 +1,28 @@
$NetBSD: patch-aa,v 1.3 2005/11/03 16:45:13 tv Exp $
--- osfinger.c.orig 2002-07-21 02:49:32.000000000 -0400
+++ osfinger.c
@@ -33,6 +33,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
+#include <arpa/inet.h>
#include <signal.h>
#include "arirang.h"
@@ -71,7 +72,14 @@ osdetect(char *scanhost)
}
snprintf(osfinger, sizeof(osfinger), "GET %s%s HTTP/1.0\n\n", NETCRAFT_FINGER, scanhost);
send(sock, osfinger, strlen(osfinger), 0);
- recv(sock, headBuff, sizeof(headBuff), MSG_WAITALL);
+
+ {
+ int toRead = sizeof(headBuff);
+ int wasRead;
+
+ while ((wasRead = recv(sock, headBuff, toRead, 0)) > 0)
+ toRead -= wasRead;
+ }
ptr = strstr(headBuff, "running <b>");