OJ / gobuster

Directory/File, DNS and VHost busting tool written in Go
Apache License 2.0
9.28k stars 1.16k forks source link

Add `--exclude-dir` on dir mode #476

Closed KeepWannabe closed 6 months ago

KeepWannabe commented 6 months ago

I think this feature would be great,

because when i try to bruteforce the directory with logged-in conditions, it will logged-out if i hit the /login route. so for avoid this kind of problem, adding the --exclude-dir/path is awesome.

firefart commented 6 months ago

you can modify the wordlist to exclude the words. Just do a grep -v and pipe it as stdin to gobuster and use -w -