RedTeaming RedTeaming
首页
🤡Blog
🍓Marshal
  • 分类
  • 标签
  • 归档
GitHub

Wing

Less talk,More work!
首页
🤡Blog
🍓Marshal
  • 分类
  • 标签
  • 归档
GitHub
  • 安全开发

  • 渗透测试

    • ASP|ASPX

    • Tools

      • 搭建Interactsh DNSLog服务
        • 前言
        • 效果
        • 搭建步骤
        • 辅助脚本
      • Web敏感信息识别工具
      • Github项目集成qodana进行静态代码扫描
    • JAVA安全

    • Tricks

  • 二进制安全

  • BypassAV

  • 漏洞利用

  • 内网渗透

  • Blog
  • 渗透测试
  • Tools
Wing
2021-12-06

搭建Interactsh DNSLog服务

# 前言

因为觉得interactsh好用,而且开源,所以就自己搭建了一波。

interactsh 是为nuclei打造的dnslog服务。

官方Web地址https://app.interactsh.com/

其实最好用的是这个https://github.com/Buzz2d0/Hyuga

对比interactsh支持DNS重绑定。

# 效果

image-20211206204813931

# 搭建步骤

准备两个域名A和B,一台ECS,官方是一个,但是改dns服务器容易出问题,直接解析不到。

A的设置:

B的设置

image-20211206201936067

A域名就是用来做dnslog的域名。

在VPS上执行:

docker run --net=host projectdiscovery/interactsh-server:latest -domain A -ip vpsip -origin-url	https://web访问的域名
1

origin-url这个参数是给前端验证用的,同源策略,建议设置成*,这样的话本地也能用。

image-20211206202354343

会自动帮你申请https证书,但是需要注意,每天只能三次,超过就只能http。

记得停掉这个服务

systemctl stop systemd-resolved
1

image-20211206204233096

这样就说明搭建成功了。

接下来是前端的搭建。

https://github.com/projectdiscovery/interactsh-web

将interactsh.com改为自己的域名就行。https要不要换成http取决于自己的服务是否配成功了https。

yarn
yarn build
1
2

将静态文件传到github,这里推荐用github page作为Web服务,非常方便。

比如https://redtools.redteaming.net/

image-20211206205512303

# 辅助脚本

最后再分享下我的Dnslog验证脚本

image-20211206204929274

https://github.com/XTeam-Wing/Py-Interactsh

image-20211206205340011

Edit this page
Exchange
Web敏感信息识别工具

← Exchange Web敏感信息识别工具→

最近更新
01
Yakit实战:快速挖掘前后端分离网站的API接口漏洞
07-28
02
调用阿里云OpenAPI创建抢占式实例
06-29
03
Github项目集成qodana进行静态代码扫描
06-26
更多文章>

Wing已运营本站:

本站总访问量 次 | 本站访客数 人
RedTeaming | Copyright © 2020-2024 Wing | MIT License
  • 跟随系统
  • 浅色模式
  • 深色模式
  • 阅读模式
×