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

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

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

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

工具目录

分类

查看所有分类
Loading categories
Dorkwright — 从 Dork 到下载:使用 Playwright 自动化 Google Dorks | Kitploit
工具/GitHubGitHub/san-tus/dorkwright
OSINT (开源情报)侦察信息收集WAF绕过网络爬虫CAPTCHA 绕过
GitHubsan-tus/dorkwright

Dorkwright

从 Dork 到下载:使用 Playwright 自动化 Google Dorks

查看仓库
48686天前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
网站

Dorkwright - Google Dorking 工具

Dorkwright 是一款基于 Python 的强大 Google dorking 工具,可自动从 Google 搜索结果中提取文件链接,并可选择下载这些文件。它使用 Playwright 进行浏览器自动化,并包含验证码处理、进度指示器和简洁的 CLI 界面。


功能

  • 自动化 Google dorking(搜索结果抓取)
  • 提取文件 URL(PDF、DOC、XLS 等)
  • 可选自动下载文件
  • 验证码感知(等待用户解决)
  • 将结果保存到输出文件
  • 支持批量下载
  • 支持通过代理下载
  • 集成 FlareSolverr,绕过 Cloudflare 保护
  • 快速、由 Playwright 驱动

用法

root@kitploit:~
╔═══════════════════════════════════════════════════════════════════════════════╗
║                          DORKWRIGHT - Google Dorker                           ║
║         Extract file links from Google search results and download them       ║
╚═══════════════════════════════════════════════════════════════════════════════╝

options:
  -h, --help            show this help message and exit
  -q, --query QUERY     Google search query (e.g., "site:example.com filetype:doc")
  -p, --pages N         Maximum number of result pages to scrape (default: 10)
  -d, --delay SECONDS   Delay between page requests to avoid CAPTCHA (default: 3)
  -o, --output FILE     Output file for extracted links (default: file_links.txt)
  --download            Download files after extracting links
  --download-dir DIR    Directory to save downloaded files (default: downloads)
  --input-file FILE     Input file with URLs to download (skip search if provided)
  --proxy URL           Proxy server URL (e.g., http://127.0.0.1:8080)
  --flaresolverr URL    FlareSolverr endpoint for bypassing Cloudflare

示例

搜索并保存链接

root@kitploit:~
dorkwright.py -q "site:example.com filetype:doc OR filetype:docx OR filetype:dot"
dorkwright.py -q "site:example.com filetype:pdf" -p 5 -o results.txt

搜索并立即下载

root@kitploit:~
dorkwright.py -q "site:example.com filetype:doc" --download --download-dir downloads

从现有文件列表下载

root@kitploit:~
dorkwright.py --input-file file_links.txt --download-dir my_files

使用代理下载

root@kitploit:~
# 使用 HTTP 代理
dorkwright.py --input-file file_links.txt --proxy http://127.0.0.1:8080

# 使用 SOCKS5 代理
dorkwright.py --input-file file_links.txt --proxy socks5://127.0.0.1:1080

使用 FlareSolverr 下载(绕过 Cloudflare)

root@kitploit:~
# 使用 FlareSolverr 从现有文件下载
dorkwright.py --input-file file_links.txt --flaresolverr http://localhost:8191

# 使用 FlareSolverr 搜索并下载
dorkwright.py -q "site:example.com filetype:pdf" --download --flaresolverr http://localhost:8191

安装

root@kitploit:~
git clone https://github.com/San-Tus/Dorkwright
cd Dorkwright
python -m venv .venv

激活虚拟环境:

操作系统命令
Windows.venv\Scripts\activate
Linux/macOSsource .venv/bin/activate

安装所需依赖包:

root@kitploit:~
pip install -r requirements.txt
playwright install chromium

FlareSolverr 设置(可选)

FlareSolverr 是一个代理服务器,用于解决 Cloudflare 验证挑战,允许你从受 Cloudflare 保护的网站下载文件。

有关安装和设置说明,请参阅官方文档: https://github.com/FlareSolverr/FlareSolverr


运行脚本

root@kitploit:~
python dorkwright.py -h

真实使用示例:

root@kitploit:~
python dorkwright.py -q "site:gchq.gov.uk filetype:doc OR filetype:docx OR filetype:xls OR filetype:xlsx OR filetype:pdf" -p 10 --download --download-dir GCHQ

示例输出(抓取 + 验证码处理)

root@kitploit:~
Searching Google for: site:gchq.gov.uk filetype:doc OR filetype:docx OR filetype:xls OR filetype:xlsx OR filetype:pdf
Max pages: 10
Delay between pages: 3s

Searching page 1...

============================================================
CAPTCHA DETECTED!
Please solve the CAPTCHA in the browser window.
Press ENTER here when done...
============================================================

找到的链接显示如下:

root@kitploit:~
Found: https://www.gchq.gov.uk/files/CheltScienceFestivalTranscript.pdf
Found: https://www.gchq.gov.uk/files/NLCChallenge1_WT.pdf
...

提取到的 URL 最终列表

root@kitploit:~
============================================================
Found 77 unique file links:
============================================================
https://www.gchq.gov.uk/files/2020%20Christmas%20Card%20Solution.pdf
https://www.gchq.gov.uk/files/2020%20Christmas%20Card.pdf
https://www.gchq.gov.uk/files/2023%20GCHQ%20Christmas%20Challenge.pdf
https://www.gchq.gov.uk/files/2024%20Combined%20Pay%20Gap%20External%20-%20Updated.pdf
https://www.gchq.gov.uk/files/Answers.pdf
...
Saved 77 links to file_links.txt

自动下载输出

启用 --download 时:

root@kitploit:~
Starting downloads...

Found 77 URLs to download
Saving to directory: GCHQ

  ✓  2020 Christmas Card Solution.pdf                       3.30 MB
  ✓  2020 Christmas Card.pdf                                2.45 MB
  ✓  2023 GCHQ Christmas Challenge.pdf                      6.15 MB
  ✓  2024 Combined Pay Gap External - Updated.pdf         489.67 KB
  ✓  Answers.pdf                                         1016.25 KB
...

下载统计示例

root@kitploit:~
================================================================================
                              DOWNLOAD STATISTICS
================================================================================
  Total files processed:     77
  Successfully downloaded:   77
  Failed downloads:          0
  Total size:                261.16 MB
  Time elapsed:              35.15s
  Average speed:             7.43 MB/s

  File types downloaded:
    .pdf       :  77 files
================================================================================
下载工具