• We just launched and are currently in beta. Join us as we build and grow the community.

DirDar – Bypass 403 Forbidden Directories

LiveCam

Skit Specialist
L Rep
0
0
0
Rep
0
L Vouches
0
0
0
Vouches
0
Posts
98
Likes
29
Bits
2 MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1 300 XP
Blue-Professional-Gradients-Investment-Bank-Finance-LinkedIn-Single-Image-Ad.png


Hey Folks, this article may be more helpful for bug bounty hunters who usually hunt for bugs in different web applications. In this tutorial we will tell you a tool that will help you bypass the forbidden directories called “DirDar“. You can read below what you can do with the help of the tool.

Let’s take a look 😛 !!

Golang Installation

This tool is compatible with all kind of operating systems but you should have GO compiler installed.

apt install golang -y1apt install golang-y

1.png


Once the Go compiler is installed and configured, execute the following commands.

go get -u github.com/m4dm0e/dirdar1go get-ugithub.com/m4dm0e/dirdar

2.png


Done 😛 !! Now you can use the following command to boot this tool.

dirdar -h1dirdar-h

3.png

Bypassing Forbidden Directories

Bypassing 403 Forbidden Errors indicates that the client was able to communicate with the server, but the server won’t let the client access what was requested. Although the tool uses several combinations to resolve this error. Let us give you an example. As you can see we have found a location that the client is unable to access.

dirdar -single https://secnhack.in -wl word.txt1dirdar-single https://secnhack.in -wl word.txt

4.png


Even you can see that once we open the location, we get a 403 error which shows that the server does not want to give access.

5.png


Wait 😛 !! Once the 403 error code is found at any location by this tool, it will try to circumvent it by adding several payloads.

6.png


Good 😛 !! Once sidelined you will be able to access it.

7.png


Similarly, you can check the listed directory using the below command.

dirdar -single http://testphp.vulnweb.com1dirdar-single http://testphp.vulnweb.com

8.png


Likewise, you can use all the features of this tool one by one and take your bug hunting art to the moon : P !!

9.png
About the AuthorShubham Goyal Certified Ethical Hacker, information security analyst, penetration tester and researcher. Can be Contact on Linkedin.
 

418,124

310,195

310,204

Top