diff --git a/security/Makefile b/security/Makefile --- a/security/Makefile +++ b/security/Makefile @@ -1153,6 +1153,7 @@ SUBDIR += seahorse SUBDIR += seal SUBDIR += seccure + SUBDIR += seclists SUBDIR += secpanel SUBDIR += sectok SUBDIR += secure_delete diff --git a/security/seclists/Makefile b/security/seclists/Makefile new file mode 100644 --- /dev/null +++ b/security/seclists/Makefile @@ -0,0 +1,44 @@ +PORTNAME= seclists +DISTVERSION= 2022.1 +CATEGORIES= security www + +MAINTAINER= salvadore@FreeBSD.org +COMMENT= Collection of multiple types of lists used during security assessments + +LICENSE= GPLv2+ MIT +LICENSE_COMB= multi +LICENSE_FILE_GPLv2+ = ${WRKSRC}/Web-Shells/laudanum-0.8/GPL +LICENSE_FILE_MIT= ${WRKSRC}/LICENSE + +USE_GITHUB= yes +GH_ACCOUNT= danielmiessler +GH_PROJECT= SecLists + +NO_ARCH= yes +NO_BUILD= yes + +FILES_TO_BE_REMOVED= .bin/generate-contributors .gitattributes .gitignore \ + CONTRIBUTING.md CONTRIBUTORS.md LICENSE README.md \ + Web-Shells/laudanum-0.8/GPL + +DIRS_TO_BE_REMOVED= .bin + +do-install: + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} + cd ${STAGEDIR}${DATADIR} && ${RM} ${FILES_TO_BE_REMOVED} && ${RMDIR} ${DIRS_TO_BE_REMOVED} +# +# The following is necessary because of a too long filename for pkg to work properly. +# The error reported is: +# +# pkg-static: Fail to create temporary file: /usr/local/share/seclists/Payloads/File-Names/max-length/.pkgtemp.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.php.gif.E8InfduP3cVP:File name too long +# +# The following commit should fix the issue with pkg: +# +# https://github.com/freebsd/pkg/commit/ce75303c613f2f5d04fdd7c9edd6f4cd40eb9dac +# +# The workaround should be removed once pkg has been updated to a version +# including this commit (remember to also remove pkg-message). +# + cd ${STAGEDIR}${DATADIR} && ${MV} Payloads/File-Names/max-length/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.php.gif Payloads/File-Names/max-length/232A.php.gif + +.include diff --git a/security/seclists/distinfo b/security/seclists/distinfo new file mode 100644 --- /dev/null +++ b/security/seclists/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1650548830 +SHA256 (danielmiessler-SecLists-2022.1_GH0.tar.gz) = 8a2d6d0023289aad5cc121bfd4d685f291522217eb7c99d36bdbff144fbf5d0b +SIZE (danielmiessler-SecLists-2022.1_GH0.tar.gz) = 504607949 diff --git a/security/seclists/pkg-descr b/security/seclists/pkg-descr new file mode 100644 --- /dev/null +++ b/security/seclists/pkg-descr @@ -0,0 +1,10 @@ +SecLists is the security tester's companion. It is a collection of multiple types +of lists used during security assessments, collected in one place. List types +include usernames, passwords, URLs, sensitive data patterns, fuzzing payloads, +web shells, and many more. The goal is to enable a security tester to pull this +repository onto a new testing box and have access to every type of list that may +be needed. + +This project is maintained by Daniel Miessler, Jason Haddix, and g0tmi1k. + +WWW: https://github.com/danielmiessler/SecLists diff --git a/security/seclists/pkg-message b/security/seclists/pkg-message new file mode 100644 --- /dev/null +++ b/security/seclists/pkg-message @@ -0,0 +1,15 @@ +[ + { + type: install + message: <