Nekmo / dirhunt

Find web directories without bruteforce
MIT License
1.77k stars 255 forks source link

Dirhunt takes a URL but proceeds to scan its host #86

Closed Vbbab closed 3 years ago

Vbbab commented 4 years ago

Not sure if this is intended behavior, but according to DirHunt's help, it takes a list of URLs and dirhunts below that URL (?)

However, right now in v0.6.0 DirHunt takes a URL and proceeds to scan the host of the URL (i.e., takes https://www.google.com/tools and proceeds to dirhunt https://www.google.com.

Screenshot: image

Is this intended behavior? If not, what could be causing this bug?

Nekmo commented 3 years ago

It is the intended behavior, Dirhunt tries to find all possible urls on the website. You can put one or more complete urls to help Dirhunt with the analysis.

For example for the url https://website.com/admin/site/ it will find in the following paths:

Vbbab commented 3 years ago

OK thanks for the info! Closing this as it is no longer an issue.

Nekmo commented 3 years ago

You are welcome!

its0x08 commented 3 years ago

Hello, To me this is still an issue!! I need to scan only a /subdir/ of the host and it starts from / In / there is nothing in my case, and in /upload/ a ton of subdirs with huge depth that I dont want to inspect one by one or using wget . Can you add a flag --base-dir or something so we can specify a base other than / !!!! Thank you!