dirb: fix default wordlist path
This commit is contained in:
parent
8954d420cc
commit
06d33fb3d0
3 changed files with 16 additions and 1 deletions
11
dirb/SOURCES/update-default-wordlist-path.patch
Normal file
11
dirb/SOURCES/update-default-wordlist-path.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/src/dirb.c 2014-04-05 15:13:49.000000000 +0100
|
||||
+++ b/src/dirb.c 2021-05-23 21:25:59.634104225 +0100
|
||||
@@ -59,7 +59,7 @@
|
||||
strncpy(options.url_inicial, argv[1], STRING_SIZE-1);
|
||||
|
||||
if(argc==2 || strncmp(argv[2], "-", 1)==0) {
|
||||
- strncpy(options.mfile, "/usr/share/dirb/wordlists/common.txt", STRING_SIZE-1);
|
||||
+ strncpy(options.mfile, "/usr/share/dirb/common.txt", STRING_SIZE-1);
|
||||
optind+=1;
|
||||
} else {
|
||||
strncpy(options.mfile, argv[2], STRING_SIZE-1);
|
Loading…
Add table
Add a link
Reference in a new issue