dirduster 1.1.0

Fast web directory bruteforce


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Description

DirDuster is a web directory bruteforcing tool similar to DirBuster. It allows you to quickly check for the presence of files or directories in order to detect potential flaws in the way the web server is configured.

Why DirDuster?

The main tool used for this task is DirBuster_ which is written in Java and uses a graphical interface. This makes it hard enough to use for me to prefer writting another tool with a more proper interface.

.. DirBuster: https://www.owasp.org/index.php/Category:OWASPDirBuster_Project

There also exist dirb_ but it doesn't allow the user to specify the number of threads which means a massive slowdown on my machine which wasn't acceptable anymore.

.. _dirb: http://dirb.sourceforge.net/

How can I change the user-agent or use basic authentication?

Setup custom headers using the --header option:

::

dirduster -H "User-Agent=Whatever,Basic=YTphCg==" -f pathlist.txt test.com

For basic authentication you can also use the --auth option.

Documentation

::

Usage: dirduster [options] -f FILE URL...

Arguments:
    URL     Urls to bruteforce

Options:
    -h, --help             Print this help and exit
    -v, --version          Print the version and exit

    -a, --auth CREDS       Basic authentication in the format login:password
    -c, --cookies COOKIES  User-defined cookies in the format a1=v1,a2=v2
    -d, --directories      Identify and search directories
    -f, --file FILE        Entries file
    -H, --headers HEADERS  User-defined headers in the format a1=v1,a2=v2
    -i, --ignore CODES     List of comma separated invalid codes
    -I, --list-ignore      List the default invalid codes
    -p, --proxy PROXY_URL  Proxy url; may contain authentication data
    -s, --singlepass       Disable recursion on findings
    -t, --threads NUM      Number of threads to use, default is 10

TODO

  • Allow using other methods -> unlikely to be soon as dlang-requests doesn't support any besides GET and POST.

Building

Use dub with the safe-prod build that optimizes the code without disabling safety features.

::

dub build -b safe-prod

License

This program is under the GPLv3 License.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Contact

::

Main developper: Cédric Picard
Email:           [email protected]
Authors:
  • Cédric Picard
Dependencies:
requests
Versions:
1.7.1 2023-Oct-23
1.7.0 2022-Mar-31
1.6.1 2021-Jan-15
1.6.0 2019-Aug-21
1.5.0 2019-Jun-12
Show all 7 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 18 downloads total

Score:
0.6
Short URL:
dirduster.dub.pm