1
0
Fork 0
fedora-cybersec/dirb/SOURCES/update-default-wordlist-path.patch

11 lines
472 B
Diff

--- 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);