aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Dutra <0xdutra@gmail.com>2021-05-30 21:14:49 +0000
committerGuangyuan Yang <ygy@FreeBSD.org>2021-05-30 21:14:49 +0000
commita98d34a590014e5154a3c44b1e5ddb435b775aad (patch)
tree23d45b564c2e8eb50be7c49de0b773d62626bc9e
parent8bee9d3bead6a4d7e57a8893fd76fb294cd4fa04 (diff)
downloadports-a98d34a590014e5154a3c44b1e5ddb435b775aad.tar.gz
ports-a98d34a590014e5154a3c44b1e5ddb435b775aad.zip
security/crlfuzz: New port: Fast tool to scan CRLF vulnerability
PR: 255888 Submitted by: Gabriel Dutra <0xdutra@gmail.com> Approved by: lwhsu (mentor)
-rw-r--r--security/Makefile1
-rw-r--r--security/crlfuzz/Makefile26
-rw-r--r--security/crlfuzz/distinfo7
-rw-r--r--security/crlfuzz/pkg-descr3
4 files changed, 37 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 3fc813d3e9f6..1cd5718da491 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -101,6 +101,7 @@
SUBDIR += cracklib
SUBDIR += crackpkcs12
SUBDIR += create-cert
+ SUBDIR += crlfuzz
SUBDIR += crowdsec
SUBDIR += crowdsec-firewall-bouncer
SUBDIR += cryptlib
diff --git a/security/crlfuzz/Makefile b/security/crlfuzz/Makefile
new file mode 100644
index 000000000000..6b3f68202451
--- /dev/null
+++ b/security/crlfuzz/Makefile
@@ -0,0 +1,26 @@
+# Created by: Gabriel M. Dutra <0xdutra@gmail.com>
+
+PORTNAME= crlfuzz
+PORTVERSION= 1.4.1
+DISTVERSIONPREFIX= v
+CATEGORIES= security
+
+MAINTAINER= 0xdutra@gmail.com
+COMMENT= Fast tool to scan CRLF vulnerability written in Go
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+
+USE_GITHUB= yes
+GH_ACCOUNT= dwisiswant0
+
+GO_TARGET= ./cmd/crlfuzz
+
+GH_TUPLE= logrusorgru:aurora:e9ef32dff381:logrusorgru_aurora/vendor/github.com/logrusorgru/aurora \
+ projectdiscovery:gologger:v1.0.1:projectdiscovery_gologger/vendor/github.com/projectdiscovery/gologger
+
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/security/crlfuzz/distinfo b/security/crlfuzz/distinfo
new file mode 100644
index 000000000000..fa9389e12c3d
--- /dev/null
+++ b/security/crlfuzz/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1621033411
+SHA256 (dwisiswant0-crlfuzz-v1.4.1_GH0.tar.gz) = 7ef3ea3890b501aab1507e2fd53cc6390cebafc6dbce5efca1faf03b967db8a3
+SIZE (dwisiswant0-crlfuzz-v1.4.1_GH0.tar.gz) = 13644
+SHA256 (logrusorgru-aurora-e9ef32dff381_GH0.tar.gz) = d44d7e14a643fa4711658a520c6946ae33761e3c580f9d3c842b0b487d0472a6
+SIZE (logrusorgru-aurora-e9ef32dff381_GH0.tar.gz) = 133625
+SHA256 (projectdiscovery-gologger-v1.0.1_GH0.tar.gz) = 4a5b2cf9df762cf652325c7f7c48b27a7515581bd3d65bf8b8664a00f482a7d4
+SIZE (projectdiscovery-gologger-v1.0.1_GH0.tar.gz) = 3546
diff --git a/security/crlfuzz/pkg-descr b/security/crlfuzz/pkg-descr
new file mode 100644
index 000000000000..d4d7a5456193
--- /dev/null
+++ b/security/crlfuzz/pkg-descr
@@ -0,0 +1,3 @@
+Fast tool to scan CRLF vulnerability written in Go.
+
+WWW: https://github.com/dwisiswant0/crlfuzz