Coder Social home page Coder Social logo

dirscaner's Introduction

Dirscaner

  • Dirscaner is a tools to brute-force web directories.

Features

-h, --help                        show this help message and exit
-u url, --url url                 Target url [required]
-d location                       Wordlist Path
-o OUTPUT, --output OUTPUT        Location and name of output file
-b code [code ...]                Baned response code [Default:Null e.g:404 302]
-e ext [ext ...]                  File extension
-t THREAD                         Number of thread [Default: 4]
-s size [size ...]                Size filter,will skip pages with these/this size
--time-out TIMEOUT                HTTP Timeout [Default 10]
--time-retry times                The number of retry attempts when the request fails [Default 6]
--user-agent UA                   Request's user agnet [Default Random]
--no-color                        Turn off color outputs
--cookie COOKIES                  Your cookies to use in requests [e.g:key1:value1,key2=value2...]
--proxy Proxy                     Use proxy to requests 	[e.g:http(s)://user:pass@IP:PORT,proxy2...]
--add-slash                       Add '/' after each request
--ssl-check                       Enable SSL certificate verification
--allow-re                        Follow redirects
--scraper                         Scraper Mod. Scraper all url in <a href>

Usage

  • git clone https://github.com/SneakyTurt1e/Dirscaner.git
    
  • pip install requirements.txt
    
  • python dirscaner.py -h or python3 dirscaner.py -h
    

Example

python dirscaner.py -u http://www.mysite.com -d dir.txt
______  _       _____
|  _  \(_)     /  ___|
| | | | _  _ __\ `--.   ___  __ _  _ __    ___  _ __
| | | || || '__|`--. \ / __|/ _` || '_ \  / _ \| '__|
| |/ / | || |  /\__/ /| (__| (_| || | | ||  __/| |
|___/  |_||_|  \____/  \___|\__,_||_| |_| \___||_|

+------------------------------------------------------------------------------------
| DirScaner
| By SneakyTurt1e https://github.com/SneakyTurt1e/
+------------------------------------------------------------------------------------
| Wordlist Path: C:\Users\User\Desktop\new\dirscaner\dir.txt
| Target Url:  http://www.mysite.com
| Threads:  4
| Timeout: 10s
| User Agent: Random
| Baned Code:
| Total requests:  4
| Start Time: 2019-11-20 10:54:15
+-----------------------------------------------------------------------------------+
| PAGE |                                             | SIZE |                | CODE |
+-----------------------------------------------------------------------------------+
[-] http://www.mysite.com/abc                         581                      404
[-] http://www.mysite.com/123                         581                      404
[-] http://www.mysite.com/def                         581                      404
[-] http://www.mysite.com/456                         581                      404
+------------------------------------------------------------------------------------
[+] Scan Finish
[+] Time used: 0s
[+] Finish Time: 2019-11-20 10:54:15

The result of the scan should be similar to this: s

You can manually turn off the color optput with --no-color

Scraper Mod

The result should be similar to this:

Bug or Issue

Let me know if there is a bug or issue

License

See LICENSE

dirscaner's People

Contributors

sneakyturt1e avatar

Watchers

James Cloos avatar

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.