diff options
-rw-r--r-- | security/0d1n/Makefile | 33 | ||||
-rw-r--r-- | security/0d1n/distinfo | 3 | ||||
-rw-r--r-- | security/0d1n/files/patch-Makefile | 25 | ||||
-rw-r--r-- | security/0d1n/pkg-descr | 10 | ||||
-rw-r--r-- | security/Makefile | 1 |
5 files changed, 72 insertions, 0 deletions
diff --git a/security/0d1n/Makefile b/security/0d1n/Makefile new file mode 100644 index 000000000000..2b349413aa31 --- /dev/null +++ b/security/0d1n/Makefile @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= 0d1n +PORTVERSION= 2.3 +CATEGORIES= security + +MAINTAINER= zackj901@yandex.com +COMMENT= Open source web HTTP fuzzing tool and bruteforcer + +LICENSE= GPLv3 + +LIB_DEPENDS= libcurl.so:ftp/curl + +USE_GITHUB= yes +GH_ACCOUNT= CoolerVoid + +PLIST_FILES= bin/0d1n +PORTDOCS= README.txt + +OPTIONS_DEFINE= DOCS + +post-patch: + @${REINPLACE_CMD} -e '/^#include <alloca\.h>/d' \ + ${WRKSRC}/get_csrf_token.h ${WRKSRC}/spider.h + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> diff --git a/security/0d1n/distinfo b/security/0d1n/distinfo new file mode 100644 index 000000000000..48fa71e7735e --- /dev/null +++ b/security/0d1n/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1488890485 +SHA256 (CoolerVoid-0d1n-2.3_GH0.tar.gz) = 7fe26f0268fe63ec0352502ae590a7a5e258248f253649661dc782ca7edd52ae +SIZE (CoolerVoid-0d1n-2.3_GH0.tar.gz) = 3866302 diff --git a/security/0d1n/files/patch-Makefile b/security/0d1n/files/patch-Makefile new file mode 100644 index 000000000000..60a82fbd4ce7 --- /dev/null +++ b/security/0d1n/files/patch-Makefile @@ -0,0 +1,25 @@ +--- Makefile.orig 2017-01-14 22:53:30 UTC ++++ Makefile +@@ -1,17 +1,9 @@ +-CC=gcc +-CFLAGS=-W -Wall -Wextra -O2 -fstack-protector-all +-DFLAGS=-D_FORTIFY_SOURCE=2 +-UNAME_S := $(shell uname -s) +-ifeq ($(UNAME_S),Darwin) +- LDFLAGS=-Wl,-lcurl +-else +- LDFLAGS=-Wl,-z,relro,-z,now -lcurl +-endif +- +-#LDFLAGS=-lcurl +- ++CC?=cc ++CFLAGS+=-W -Wall -Wextra -fstack-protector-all ++DFLAGS=-D_FORTIFY_SOURCE=2 -I /usr/local/include ++LDFLAGS=-Wl,-z,relro,-z,now,-L,/usr/local/lib,-lcurl + +-0d1n: 0d1n.c ++all: 0d1n.c + $(CC) $(CFLAGS) $(DFLAGS) -c *.c + $(CC) -o 0d1n *.o $(LDFLAGS) + diff --git a/security/0d1n/pkg-descr b/security/0d1n/pkg-descr new file mode 100644 index 000000000000..85057c4ac8aa --- /dev/null +++ b/security/0d1n/pkg-descr @@ -0,0 +1,10 @@ +0d1n is a tool for automating customized attacks against web applications. +Some of its features: + + - Brute force login and passwords in authentication forms + - Directory disclosure (use PATH list to brute and find HTTP status code) + - Test to find SQL injection and XSS vulnerabilities + - Options to load ANTI-CSRF token for each request + - Options to use random proxy per request + +WWW: https://github.com/CoolerVoid/0d1n diff --git a/security/Makefile b/security/Makefile index 04b2167306fa..8ae7984a105b 100644 --- a/security/Makefile +++ b/security/Makefile @@ -3,6 +3,7 @@ COMMENT = Security tools + SUBDIR += 0d1n SUBDIR += ADMsmb SUBDIR += ADMsnmp SUBDIR += R-cran-ROAuth |