| 1 |
DIRB TRICKS |
| 2 |
=========== |
| 3 |
|
| 4 |
|
| 5 |
1) Apache "Options MultiViews" (Common configuration) |
| 6 |
|
| 7 |
-> Sometimes with Apache servers configured with "Options MultiViews" you |
| 8 |
don't need to include the file extension in the search, the system will tell |
| 9 |
you the right name through a "Content-Location" header. |
| 10 |
|
| 11 |
|
| 12 |
2) Using extensions |
| 13 |
|
| 14 |
-> Before starting your scan. Navigate through the target URL and get the |
| 15 |
most used file extensions. Include them in a extensions file (one extension by |
| 16 |
line) and use it in your scan. |
| 17 |
|
| 18 |
Example extensions file: |
| 19 |
|
| 20 |
-------------- |
| 21 |
--> void extension (look for directorios or servlets) |
| 22 |
.asp |
| 23 |
.txt |
| 24 |
.html |
| 25 |
-------------- |
| 26 |
|
| 27 |
-> You can also use the mode -X to input extensiones directly from de command |
| 28 |
line: |
| 29 |
|
| 30 |
-X ,,.asp,.txt,.html |
| 31 |
|
| 32 |
|
| 33 |
3) Selective scanning |
| 34 |
|
| 35 |
-> If you don't want to scan uninteresting directories like /images, /css, /js, |
| 36 |
etc... You can use the mode -R (interactive recursion) and DIRB will ask you |
| 37 |
for which subdirectories you want to scan and for which you don't. |
| 38 |
|
| 39 |
|
| 40 |
4) Scanning IIS webservers |
| 41 |
|
| 42 |
-> IIS webserver URLs are case insensitives, so you can use the mode -i to cut |
| 43 |
down the number of tries. |
| 44 |
|