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

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

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

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

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/rosesecurity/scrappy
侦察密码攻击信息收集渗透测试实用工具与框架
GitHubrosesecurity/scrappy

ScrapPY

Python 实用工具,可从 PDF 中提取内容,生成针对暴力破解、强制浏览和字典攻击的目标词表,支持词频、熵和元数据分析模式。

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
ScrapPY — Python 实用工具,可从 PDF 中提取内容,生成针对暴力破解、强制浏览和字典攻击的目标词表,支持词频、熵和元数据分析模式。 | Kitploit

🐕 ScrapPY: 轻松实现PDF数据提取

ScrapPY 是一款 Python 实用工具,用于提取手册、文档及其他敏感 PDF 中的内容,生成针对性的单词列表,可供进攻性安全工具用于暴力破解、强制浏览和字典攻击。ScrapPY 可执行词频、熵和元数据分析,并支持完整输出模式以定制针对特定攻击的单词列表。该工具深入挖掘可能指向密码或隐藏目录的关键词和短语,输出为 Hydra、Dirb 和 Nmap 等工具可读取的文本文件。借助 ScrapPY,加速初始访问、漏洞发现和横向移动!

Demo:

https://user-images.githubusercontent.com/72598486/201235531-6b037daf-d1f3-4d33-b256-8411e3a0b3da.mov

安装:

下载仓库:

root@kitploit:~
$ mkdir ScrapPY
$ cd ScrapPY/
$ sudo git clone https://github.com/RoseSecurity/ScrapPY.git

安装依赖:

root@kitploit:~
$ python3 -m venv venv
$ source .venv/bin/activate
$ pip3 install -r requirements.txt

ScrapPY 使用方法:

root@kitploit:~
usage: ScrapPY.py [-h] [-f FILE] [-m {word-frequency,full,metadata,entropy}] [-o OUTPUT]

输出文档的元数据:

root@kitploit:~
$ python3 ScrapPY.py -f example.pdf -m metadata

将前100个高频关键词输出到文件 Top_100_Keywords.txt:

root@kitploit:~
$ python3 ScrapPY.py -f example.pdf -m word-frequency -o Top_100_Keywords.txt

将所有关键词输出到默认的 ScrapPY.txt 文件:

root@kitploit:~
$ python3 ScrapPY.py -f example.pdf

输出熵值最高的前100个关键词:

root@kitploit:~
$ python3 ScrapPY.py -f example.pdf -m entropy

ScrapPY 输出:

root@kitploit:~
# ScrapPY 将 ScrapPY.txt 文件或指定名称的文件输出到运行工具的目录中。要查看文件的前五十行,请运行此命令:

$ head -50 ScrapPY.txt

# 要查看生成了多少个单词,请运行此命令:

$ wc -l ScrapPY.txt

与进攻性安全工具的集成:

轻松与 Dirb 等工具集成,以加速发现隐藏子目录的过程:

root@kitploit:~
root@RoseSecurity:~# dirb http://192.168.1.123/ /root/ScrapPY/ScrapPY.txt

-----------------
DIRB v2.21
By The Dark Raver
-----------------

START_TIME: Fri May 16 13:41:45 2014
URL_BASE: http://192.168.1.123/
WORDLIST_FILES: /root/ScrapPY/ScrapPY.txt

-----------------

GENERATED WORDS: 4592

---- Scanning URL: http://192.168.1.123/ ----
==> DIRECTORY: http://192.168.1.123/vi/
+ http://192.168.1.123/programming (CODE:200|SIZE:2726)
+ http://192.168.1.123/s7-logic/ (CODE:403|SIZE:1122)
==> DIRECTORY: http://192.168.1.123/config/
==> DIRECTORY: http://192.168.1.123/docs/
==> DIRECTORY: http://192.168.1.123/external/

配合 Hydra 进行高级暴力破解攻击:

root@kitploit:~
root@RoseSecurity:~# hydra -l root -P /root/ScrapPY/ScrapPY.txt -t 6 ssh://192.168.1.123
Hydra v7.6 (c)2013 by van Hauser/THC & David Maciejak - for legal purposes only

Hydra (http://www.thc.org/thc-hydra) starting at 2014-05-19 07:53:33
[DATA] 6 tasks, 1 server, 1003 login tries (l:1/p:1003), ~167 tries per task
[DATA] attacking service ssh on port 22

使用 ScrapPY 单词列表增强 Nmap 脚本:

root@kitploit:~
nmap -p445 --script smb-brute.nse --script-args userdb=users.txt,passdb=ScrapPY.txt 192.168.1.123

未来开发:

  • 允许自定义输出文件命名和增加详细程度
  • 集成不同操作模式,包括词频分析
  • 支持元数据分析
  • 搜索高熵数据
  • 准备打包用于 homebrew 安装
  • 搜索类似路径的数据
  • 实现图像 OCR,从 PDF 中的图像中枚举数据
  • 允许处理多个 PDF
下载工具