From owner-svn-ports-all@freebsd.org Tue Mar 7 12:56:37 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDA16D00158; Tue, 7 Mar 2017 12:56:37 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B843D112A; Tue, 7 Mar 2017 12:56:37 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v27CuavS053603; Tue, 7 Mar 2017 12:56:36 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v27CuaxS053597; Tue, 7 Mar 2017 12:56:36 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201703071256.v27CuaxS053597@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Tue, 7 Mar 2017 12:56:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435600 - in head/security: . 0d1n 0d1n/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2017 12:56:38 -0000 Author: danfe Date: Tue Mar 7 12:56:36 2017 New Revision: 435600 URL: https://svnweb.freebsd.org/changeset/ports/435600 Log: Add a port of `security/0d1n', web HTTP fuzzing tool and bruteforcer. Because GitHub releases (tarballs) are not fetched with correct modification time, set TIMESTAMP to 1484434410 which corresponds to commit 5e4e0ee tagged as this release. PR: 214503 (modified) Submitted by: Rihaz Jerrin Added: head/security/0d1n/ head/security/0d1n/Makefile (contents, props changed) head/security/0d1n/distinfo (contents, props changed) head/security/0d1n/files/ head/security/0d1n/files/patch-Makefile (contents, props changed) head/security/0d1n/pkg-descr (contents, props changed) Modified: head/security/Makefile Added: head/security/0d1n/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/0d1n/Makefile Tue Mar 7 12:56:36 2017 (r435600) @@ -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 /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 Added: head/security/0d1n/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/0d1n/distinfo Tue Mar 7 12:56:36 2017 (r435600) @@ -0,0 +1,3 @@ +TIMESTAMP = 1488890485 +SHA256 (CoolerVoid-0d1n-2.3_GH0.tar.gz) = 7fe26f0268fe63ec0352502ae590a7a5e258248f253649661dc782ca7edd52ae +SIZE (CoolerVoid-0d1n-2.3_GH0.tar.gz) = 3866302 Added: head/security/0d1n/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/0d1n/files/patch-Makefile Tue Mar 7 12:56:36 2017 (r435600) @@ -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) + Added: head/security/0d1n/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/0d1n/pkg-descr Tue Mar 7 12:56:36 2017 (r435600) @@ -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 Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Tue Mar 7 12:44:41 2017 (r435599) +++ head/security/Makefile Tue Mar 7 12:56:36 2017 (r435600) @@ -3,6 +3,7 @@ COMMENT = Security tools + SUBDIR += 0d1n SUBDIR += ADMsmb SUBDIR += ADMsnmp SUBDIR += R-cran-ROAuth