Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/dirfyPublic

an async webpath scanner based on asyhttp

NotificationsYou must be signed in to change notification settings

pyno/dirfy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

an async webpath scanner based onasyhttp.

install

To install simply cone the repository and install the requirements.

$ git clone git@github.com:pyno/dirfy.git$cd dirfy$ pip3 install -r dependencies.txt

usage

Simple usage:

$ python3 dirfy.py -u http://url.to.test

get help:

$ python3 dirfy.py -h

features

Main features of dirfy:

  • cmdline
  • Asynchronous HTTP(S)
  • Proxy support (-p)
  • Extensions search (-e)
  • Configurable path dictionary (-d)
  • Configurable speed (-c)
  • Configurable redirection behaviour (-r)
  • Support for false positives detection (-f)
  • Request logging (-n to disalbe)
  • Custom headers (-H)

advaced usage

false positives

Some typicall advanced usages includes the false positives exclusions. Dirfy detects the presence of a page by looking at the HTTP return code: 200 means we found something. Oftentimes, especially when following redirects, this leads to false positives:

HTTP/1.1 200 OKContent-Length: 57Content-Type: text/htmlConnection: Closed<html><body>Resource not found</body></hmtml>
HTTP/1.1 200 OKContent-Length: 57Content-Type: text/htmlConnection: Closed<html><body>Please log-in...</body></hmtml>

To exclude such responses from results, just include in the filefalse_pos.txt

Resource not foundPlease log-in

and invoke dirfy as follow:

$ python3 dirfy.py -u http://url.to.test -f false_pos.txt

Note that each line of the file is treated as an indicator of a false positive.

log

Dirfy logs each request made in a file named log.txt. To disable logging, just run it with-n option.


[8]ページ先頭

©2009-2025 Movatter.jp