Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/stefanoj3/dirstalk
侦察Web漏洞扫描器信息收集Web安全渗透测试
GitHubstefanoj3/dirstalk

dirstalk

dirbuster/dirb 的现代替代品

查看仓库
398514年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Dirstalk

codecov Scrutinizer Code Quality Docker Pulls GitHub

Dirstalk 是一个多线程应用程序,旨在对Web服务器上的路径进行暴力破解。

该工具包含的功能与 dirbuster 和 dirb 所提供的类似。

下面是它的实际使用演示: asciicast

目录

  • 如何使用
    • 扫描
    • 实用资源
    • 字典生成器
  • 下载
  • 开发
  • 许可证

↑ 如何使用

该应用程序自带文档,运行 dirstalk -h 将返回所有可用命令及其简短描述,您可以通过执行 distalk <command> -h 获取每个命令的帮助信息。

例如 dirstalk result.diff -h

扫描

要执行扫描,您至少需要提供一个字典和一个URL:

root@kitploit:~
dirstalk scan http://someaddress.url/ --dictionary mydictionary.txt

如前所述,要查看扫描命令的所有可用标志,只需使用 -h 标志调用该命令:

root@kitploit:~
dirstalk scan -h
自定义扫描的示例:
root@kitploit:~
dirstalk scan http://someaddress.url/ \
--dictionary mydictionary.txt \
--http-methods GET,POST \
--http-timeout 10000 \
--scan-depth 10 \
--threads 10 \
--socks5 127.0.0.1:9150 \
--cookie name=value \
--use-cookie-jar \
--user-agent my_user_agent \
--header "Authorization: Bearer 123"
当前可用的标志:
root@kitploit:~
      --cookie stringArray             cookie to add to each request; eg name=value (can be specified multiple times)
  -d, --dictionary string              dictionary to use for the scan (path to local file or remote url)
      --header stringArray             header to add to each request; eg name=value (can be specified multiple times)
  -h, --help                           help for scan
      --http-cache-requests            cache requests to avoid performing the same request multiple times within the same scan (EG if the server reply with the same redirect location multiple times, dirstalk will follow it only once) (default true)
      --http-methods strings           comma separated list of http methods to use; eg: GET,POST,PUT (default [GET])
      --http-statuses-to-ignore ints   comma separated list of http statuses to ignore when showing and processing results; eg: 404,301 (default [404])
      --http-timeout int               timeout in milliseconds (default 5000)
      --out string                     path where to store result output
      --scan-depth int                 scan depth (default 3)
      --socks5 string                  socks5 host to use
  -t, --threads int                    amount of threads for concurrent requests (default 3)
      --use-cookie-jar                 enables the use of a cookie jar: it will retain any cookie sent from the server and send them for the following requests
      --user-agent string              user agent to use for http requests
实用资源
  • 在此处您可以找到可与dirstalk一起使用的字典
  • tordock 是一个容器化的Tor SOCKS5代理,您可以轻松地与dirstalk一起使用(只需运行 docker run -d -p 127.0.0.1:9150:9150 stefanoj3/tordock:latest,然后在启动扫描时指定以下标志:--socks5 127.0.0.1:9150)

字典生成器

Dirstalk 也可以生成自己的字典,例如当您想检查特定文件集是否存在于某个Web服务器上时非常有用。

示例:
root@kitploit:~
dirstalk dictionary.generate /path/to/local/files --out mydictionary.txt

如果未指定输出标志,结果将打印到标准输出。

↑ 下载

您可以从此处下载发布版本,也可以使用Docker镜像(例如 docker run stefanoj3/dirstalk dirstalk <cmd>)。

如果您使用的是基于Arch的Linux发行版,可以通过AUR获取:https://aur.archlinux.org/packages/dirstalk/

示例:

root@kitploit:~
yay -S aur/dirstalk

↑ 开发

本地开发所需的条件是拥有 make 和 golang,并且正确配置GOPATH。

然后您可以克隆项目,进入文件夹并执行:

root@kitploit:~
make dep                                     # to fetch dependencies
make tests                                   # to run the test suite
make check                                   # to check for any code style issue
make fix                                     # to automatically fix the code style using goimports
make build                                   # to build an executable for your host OS (not tested under windows) 
root@kitploit:~
make help

将打印Makefile中每个可用命令的描述。

想要添加功能?修复错误?请fork并创建PR。

↑ 未来计划

  • 添加对轮换SOCKS5代理的支持
  • 扫描网站页面,查找需要暴力破解的链接
  • 提供一个Web服务器,可用于启动扫描并检查其状态
  • 引入指标,以了解在远程服务器上找到了字典中的多少内容
下载工具