非凡国际

模板中心 | 模板技术中心 | 技术中心 | 无阻碍阅读| 长者副手| 售前:4008-300-618
目录
目录X
联系信息 首页 /正文内容

Katana + Nuclei 批量检测拔除分享插件操作文档

AI提要(BLUF)
1. 合用场景自动爬取指标站点深层链接(如文章页、二级栏目) ,,,,, ,批量检测页面中是否残留已停服并存在劫持风险的 JiaThis 与 bShare 分享插件。。。。。。。2. 部署 YAML 扫描模板在当前工作目录下新建 check-bad-plugins.yaml ,,,,, ,写入以下规定:YAMLid:detect-deprecated-share-pluginsinfo:name:DetectJiaThisandbSharePluginsauthor:securityseverity:highdescription:DetectsleftoverreferencestodeprecatedJiaThisandbSha……

1. 合用场景


自动爬取指标站点深层链接(如文章页、二级栏目) ,,,,, ,批量检测页面中是否残留已停服并存在劫持风险的 JiaThisbShare 分享插件。。。。。。。


2. 部署 YAML 扫描模板


在当前工作目录下新建 check-bad-plugins.yaml ,,,,, ,写入以下规定:


YAML


id: detect-deprecated-share-plugins
info:
  name: Detect JiaThis and bShare Plugins
  author: security
  severity: high
  description: Detects leftover references to deprecated JiaThis and bShare social sharing widgets.
  tags: supply-chain,plugins,jiathis,bshare
http:
  - method: GET
    path:
      - "{{BaseURL}}"
    redirects: true
    max-redirects: 2
    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200
      - type: word
        condition: or
        words:
          - "jiathis.com"
          - "bshare.cn"
          - "static.bshare.cn"
          - "jiathis_config"
          - "bshare"
        case-insensitive: true
    extractors:
      - type: regex
        name: matched-plugin
        regex:
          - "(?i)(jiathis\.com|bshare\.cn|jiathis_config|bshare)"


3. 执行自动化流水线扫描


方式一:管路一键联扫(推荐 ,,,,, ,全自动)


使用 Katana 自动抓取指标全站 URL 并实时通过管路传给 Nuclei 扫描:


PowerShell


.\katana.exe -u http://www.xxxx.com.cn | .\nuclei.exe -t .\check-bad-plugins.yaml -disable-update-templates


方式二:资产落地后再扫描(适合大型站点)


先保留爬取了局 ,,,,, ,再进行高并发检测: PowerShell


# 1. 深刻 3 层爬取全站 URL 并保留
.\katana.exe -u http://www.xxxx.com.cn -d 3 -o urls.txt
# 2. 读取批量 URL 文件并发扫描
.\nuclei.exe -l urls.txt -t .\check-bad-plugins.yaml -c 50 -disable-update-templates


【打印正文】 颁布功夫:2026-08-10 13:59:33 浏览次数: 作者: 起源:本站原创
【网站地图】【sitemap】