GithubHelp home page GithubHelp logo

evilsocket / dirsearch Goto Github PK

View Code? Open in Web Editor NEW
265.0 9.0 70.0 65 KB

A Go implementation of dirsearch.

License: GNU General Public License v3.0

Go 86.96% Makefile 13.04%
security-tools security-audit dirsearch dirbuster bruteforce wordlist enumeration information-gathering

dirsearch's Introduction

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.

dirsearch's People

Contributors

cedriczirtacic avatar ebraminio avatar evilsocket avatar noituri avatar stefanoj3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dirsearch's Issues

invalid memory address or nil pointer dereference

Hey!

I ran the following command:

$ ./dirsearch -url https://localhost -wordlist /tmp/dotdotpwn.txt

Wordlist available @ https://raw.githubusercontent.com/foospidy/payloads/master/other/traversal/dotdotpwn.txt

Got:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x38 pc=0x1221602]

goroutine 36 [running]:
main.DoRequest(0xc00100a7a0, 0x17, 0x1289001, 0xc001112fc0)
	/Users/Shaked/.go/src/github.com/evilsocket/dirsearch/cmd/dirsearch/main.go:65 +0x242
github.com/evilsocket/dirsearch/vendor/github.com/evilsocket/brutemachine.(*Machine).inputConsumer(0xc00012c000)
	/Users/Shaked/.go/src/github.com/evilsocket/dirsearch/vendor/github.com/evilsocket/brutemachine/machine.go:78 +0xa7
created by github.com/evilsocket/dirsearch/vendor/github.com/evilsocket/brutemachine.(*Machine).Start
	/Users/Shaked/.go/src/github.com/evilsocket/dirsearch/vendor/github.com/evilsocket/brutemachine/machine.go:97 +0x55

Any ideas?

how can i exploit /ivt/ivtservlet.jsp ?

i find a /ivt/ivtservlet.jsp with dirsearch
but i cant google how can i exploit it

by the way.
dirsearch is the beeeeeeest dir scan i have ever use.
why it's only 82 star

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.