dirb: Update to 2.20 [hubertf 2023-08-29] Upstream Changes: 2.2.0 (23/04/2013) ----- - FEATURE: added function compare_str() that returns the position of the first different character. - BUG: fixed the use of finetunning for pages of type 30x in launch_attack() - FEATURE: improved location_clean() function - FEATURE: added wordlist hpsmh (hp system management homepage) - BUG: fixed incorrect use of url_base in launch_attack() - FEATURE: now in case of fixable error it goes to next directory instead of exiting - BUG: corrected erroneous use of get_necs() in resume.c - FEATURE: added wordlist axis and ror (ruby on rails), extended oas and tomcat 2.1.0 (25/05/2011) ----- - FEATURE: tested URLs information adjusted to terminal width - BUG: changed printf() that displayed and cleared URL in launch_attack() to avoid undue line breaks - FEATURE: changed output format (all in 1 line) - FEATURE: added wordlists: wps (websphere portal server), sap (sap j2ee), domino (update) 2.0.4 (06/04/2009) ----- - BUG: -R option fails, fix by Hubert Seiwert - FEATURE: don't force the / final if there are parameters in the url - BUG: detection of recurring 401, 403 and 500 codes failed 2.0.3 (27/01/2009) ----- - BUG: 301/302 detection with -f failed sometimes with recursion. - FEATURE: the -N option now instead of setting the NEC, makes us ignore responses with that code. 2.0.2 (21/10/2008) ----- - BUG: dump() function could be invoked before all the variables to be saved were defined. 2.0.1 (30/08/2007) ----- - FEAUTRE: updated wordlist cgis.txt - BUG: CURLOPT_MUTE option removed after deprecated in libcurl - FEATURE: wordlist common.txt extended 2.0.0 (11/04/2007) ----- - FEATURE: location_cmp() checks that what is passed to it is a valid url. - BUG: fixed a bug that led to detect some 302 messages as directories. 1.99.0 (05/07/2006) ------ - FEATURE: directory listing detection in tomcat - BUG: fixed off-by-one in uri_decode() - FEATURE: Added Sharepoint wordlist - BUG: Fixed a lot of bugs produced by the changes. - FEATURE: NEC by directory. - FEATURE: NEC by extension. 1.10.0 (25/04/2006) ------ - FEATURE: Added speedcontrol patch (option -z) of Sha0. Package Changes: - Install wordlists to make dirb even more useful.diff -r1.40 -r1.41 pkgsrc/security/dirb/Makefile
(hubertf)
@@ -1,22 +1,32 @@ | @@ -1,22 +1,32 @@ | |||
1 | # $NetBSD: Makefile,v 1.40 2023/04/19 08:11:21 adam Exp $ | 1 | # $NetBSD: Makefile,v 1.41 2023/08/30 18:21:56 hubertf Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | PKGNAME= dirb-1.9 | 4 | DISTNAME= dirb220 | |
5 | DISTNAME= dirb19 | 5 | PKGNAME= dirb-2.20 | |
6 | PKGREVISION= 30 | |||
7 | CATEGORIES= security | 6 | CATEGORIES= security | |
8 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dirb/} | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=dirb/} | |
9 | 8 | |||
10 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
11 | HOMEPAGE= http://dirb.sourceforge.net/ | 10 | HOMEPAGE= http://dirb.sourceforge.net/ | |
12 | COMMENT= Web Content Scanner | 11 | COMMENT= Web Content Scanner | |
12 | LICENSE= gnu-gpl-v2 | |||
13 | 13 | |||
14 | WRKSRC= ${WRKDIR}/dirb | 14 | WRKSRC= ${WRKDIR}/dirb | |
15 | USE_TOOLS+= pax chmod | |||
15 | 16 | |||
16 | USE_PKGLOCALEDIR= yes | 17 | USE_PKGLOCALEDIR= yes | |
17 | GNU_CONFIGURE= yes | 18 | GNU_CONFIGURE= yes | |
19 | INSTALLATION_DIRS+= share/wordlists/dirb | |||
18 | 20 | |||
19 | BUILDLINK_API_DEPENDS.curl+= curl>=7.15.0nb1 | 21 | BUILDLINK_API_DEPENDS.curl+= curl>=7.15.0nb1 | |
20 | 22 | |||
23 | post-extract: | |||
24 | # Work around broken permissions in archive file, all mode 000 | |||
25 | ${CHMOD} -R 755 ${WRKSRC} | |||
26 | ${FIND} ${WRKSRC}/wordlists -type f -print | ${XARGS} ${CHMOD} 644 | |||
27 | ||||
28 | post-install: | |||
29 | cd ${WRKSRC}/wordlists && ${PAX} -rw * ${DESTDIR}${PREFIX}/share/wordlists/dirb | |||
30 | ||||
21 | .include "../../www/curl/buildlink3.mk" | 31 | .include "../../www/curl/buildlink3.mk" | |
22 | .include "../../mk/bsd.pkg.mk" | 32 | .include "../../mk/bsd.pkg.mk" |
@@ -1,5 +1,50 @@ | @@ -1,5 +1,50 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.1.1.1 2005/10/14 00:44:03 minskim Exp $ | 1 | @comment $NetBSD: PLIST,v 1.2 2023/08/30 18:21:56 hubertf Exp $ | |
2 | bin/dirb | 2 | bin/dirb | |
3 | bin/gendict | 3 | bin/gendict | |
4 | bin/html2dic | 4 | bin/html2dic | |
5 | man/man1/dirb.1 | 5 | man/man1/dirb.1 | |
6 | share/wordlists/dirb/big.txt | |||
7 | share/wordlists/dirb/catala.txt | |||
8 | share/wordlists/dirb/common.txt | |||
9 | share/wordlists/dirb/euskera.txt | |||
10 | share/wordlists/dirb/extensions_common.txt | |||
11 | share/wordlists/dirb/indexes.txt | |||
12 | share/wordlists/dirb/mutations_common.txt | |||
13 | share/wordlists/dirb/others/best1050.txt | |||
14 | share/wordlists/dirb/others/best110.txt | |||
15 | share/wordlists/dirb/others/best15.txt | |||
16 | share/wordlists/dirb/others/names.txt | |||
17 | share/wordlists/dirb/small.txt | |||
18 | share/wordlists/dirb/spanish.txt | |||
19 | share/wordlists/dirb/stress/alphanum_case.txt | |||
20 | share/wordlists/dirb/stress/alphanum_case_extra.txt | |||
21 | share/wordlists/dirb/stress/char.txt | |||
22 | share/wordlists/dirb/stress/doble_uri_hex.txt | |||
23 | share/wordlists/dirb/stress/test_ext.txt | |||
24 | share/wordlists/dirb/stress/unicode.txt | |||
25 | share/wordlists/dirb/stress/uri_hex.txt | |||
26 | share/wordlists/dirb/vulns/apache.txt | |||
27 | share/wordlists/dirb/vulns/axis.txt | |||
28 | share/wordlists/dirb/vulns/cgis.txt | |||
29 | share/wordlists/dirb/vulns/coldfusion.txt | |||
30 | share/wordlists/dirb/vulns/domino.txt | |||
31 | share/wordlists/dirb/vulns/fatwire.txt | |||
32 | share/wordlists/dirb/vulns/fatwire_pagenames.txt | |||
33 | share/wordlists/dirb/vulns/frontpage.txt | |||
34 | share/wordlists/dirb/vulns/hpsmh.txt | |||
35 | share/wordlists/dirb/vulns/hyperion.txt | |||
36 | share/wordlists/dirb/vulns/iis.txt | |||
37 | share/wordlists/dirb/vulns/iplanet.txt | |||
38 | share/wordlists/dirb/vulns/jboss.txt | |||
39 | share/wordlists/dirb/vulns/jrun.txt | |||
40 | share/wordlists/dirb/vulns/netware.txt | |||
41 | share/wordlists/dirb/vulns/oracle.txt | |||
42 | share/wordlists/dirb/vulns/ror.txt | |||
43 | share/wordlists/dirb/vulns/sap.txt | |||
44 | share/wordlists/dirb/vulns/sharepoint.txt | |||
45 | share/wordlists/dirb/vulns/sunas.txt | |||
46 | share/wordlists/dirb/vulns/tests.txt | |||
47 | share/wordlists/dirb/vulns/tomcat.txt | |||
48 | share/wordlists/dirb/vulns/vignette.txt | |||
49 | share/wordlists/dirb/vulns/weblogic.txt | |||
50 | share/wordlists/dirb/vulns/websphere.txt |
@@ -1,6 +1,5 @@ | @@ -1,6 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.6 2021/10/26 11:17:03 nia Exp $ | 1 | $NetBSD: distinfo,v 1.7 2023/08/30 18:21:56 hubertf Exp $ | |
2 | 2 | |||
3 | BLAKE2s (dirb19.tar.gz) = d8dc55c9e32336e324b0c4218ef97703f67b8ed2019dcdbdfbe86112a0bba63b | 3 | BLAKE2s (dirb220.tar.gz) = 1dcea7efadb7ee9f48b8f05bbdb5b5a81581a5adaae66632c26dab31b71555bc | |
4 | SHA512 (dirb19.tar.gz) = 99016684d5f0043e9e85025933f3773de4c367d2ce1ebaa83705c08d220303f94a7ca764c90bbd38aba82b30fcc44b5efd56773e9790504a27a007185b9db41a | 4 | SHA512 (dirb220.tar.gz) = 7d3f46521ccdc4513fc729fcfd0c702eca8f7bed1815919f85005108be6aee63ed19f5ef48426b0af911bd2a3842f8e69fb34e81948ee92db8d68e29d5e892f8 | |
5 | Size (dirb19.tar.gz) = 223149 bytes | 5 | Size (dirb220.tar.gz) = 2036456 bytes | |
6 | SHA1 (patch-aa) = 90a54b6c81278e58220616759a05504f33e3af5b |