dirsearch

package module
v0.0.0-...-fe7fffa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

README

DirSearch

This software is a Go implementation of the original dirsearch tool written by Mauro Soria. DirSearch is the very first tool I write in Go, mostly to play and experiment with Go's concurrency model, channels, and so forth :)

baby-gopher Go Report Card

Purpose

DirSearch takes an input URL ( -url parameter ) and a wordlist ( -wordlist parameter ), it will then perform concurrent HEAD requests using the lines of the wordlist as paths and files eventually bruteforcing folders and files on a web server.

It supports a custom file extension ( -ext, default to php ) and other optional arguments:

Usage of dirsearch:
  -200only
        If enabled, will only display responses with 200 status code.
  -consumers int
        Number of concurrent consumers. (default 8)
  -ext string
        File extension. (default "php")
  -maxerrors int
        Maximum number of errors to get before killing the program. (default 20)
  -url string
        Base URL to start enumeration from.
  -wordlist string
        Wordlist file to use for enumeration. (default "dict.txt")

Compilation

go get github.com/evilsocket/dirsearch
cd dirsearch
make get_glide
make install_dependencies
make build

License

This project is copyleft of Simone Margaritelli and released under the GPL 3 license.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRandomUserAgent

func GetRandomUserAgent() string

GetRandomUserAgent returns a random User-Agent string.

func NormalizeURL

func NormalizeURL(base *string) (err error)

NormalizeURL takes any domain or URL as input and normalizes it adding (if needed) default schema and path.

Types

This section is empty.

Source Files

  • normalizeurl.go
  • uas.go

Directories

Path Synopsis
cmd
dirsearch command
This software is a Go implementation of dirsearch by Mauro Soria (maurosoria at gmail dot com) written by Simone Margaritelli (evilsocket at gmail dot com).
This software is a Go implementation of dirsearch by Mauro Soria (maurosoria at gmail dot com) written by Simone Margaritelli (evilsocket at gmail dot com).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL