OJ / gobuster

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

Not able to perform directory enumerations #468

Closed Prajwal-PS7 closed 7 months ago

Prajwal-PS7 commented 7 months ago

getting an error while performing the Fuzzing test for directory

Used command ;

$ gobuster dir --url http://localhost/ -t 100 -w wordlist.txt -o result.txt

Error: the server returns a status code that matches the provided options for non existing urls. http://localhost/2f147774-1c39-4730-ae27-5d5c00b0fcab => 301 (Length: 167). To continue please exclude the status code or the length

Also

$ gobuster fuzz --url http://localhost/FUZZ -t 100 -w wordlist.txt -o result.txt

Error: the server returns a status code that matches the provided options for non existing urls. http://localhost/2f147774-1c39-4730-ae27-5d5c00b0fcab => 301 (Length: 167). To continue please exclude the status code or the length

any solution for this?

firefart commented 7 months ago

the solution is shown in the error message

Prajwal-PS7 commented 7 months ago

i try those also but same error showing!

firefart commented 7 months ago

then you might need to exclude more lengths. There is no way for gobuster to determine a hit if every 404 and 200 respond the same, that's why you need to exclude the length or status code

Prajwal-PS7 commented 7 months ago

i did it by passing -z flag, but no luck!

firefart commented 7 months ago

there is no -z parameter, use —help to show all available options