Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

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

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

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
interactsh — 一个OOB交互收集服务器及客户端库 | Kitploit
工具/GitHubGitHub/projectdiscovery/interactsh
漏洞分析信息收集Web安全渗透测试DNS 分析
GitHubprojectdiscovery/interactsh

interactsh

一个OOB交互收集服务器及客户端库

查看仓库
4.5k4754519天前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
网站
分享


Interactsh

一个 OOB 交互收集服务器和客户端库

功能特性 • 使用方法 • Interactsh 客户端 • Interactsh 服务器 • Interactsh 集成 • 加入 Discord


Interactsh 是一个用于检测带外交互的开源工具。它旨在检测导致外部交互的漏洞。

功能特性

  • DNS/HTTP(S)/SMTP(S)/LDAP 交互
  • 支持 IPv4 和 IPv6
  • CLI / Web / Burp / ZAP / Docker 客户端
  • AES 加密,零日志记录
  • 基于 ACME 的自动通配符 TLS 证书,支持自动续期
  • 用于云元数据服务的 DNS 条目
  • 动态 HTTP 响应控制
  • 自托管 Interactsh 服务器
  • 多域名支持 (自托管)
  • NTLM/SMB/FTP(S)/RESPONDER 监听器 (自托管)
  • 通配符 / 受保护交互 (自托管)
  • 可自定义索引 / 文件托管 (自托管)
  • 用于第二阶段 OOB 载荷的客户端文件托管 (自托管)
  • 可自定义载荷长度 (自托管)
  • 自定义 SSL 证书 (自托管)

Interactsh 客户端

使用方法```sh

interactsh-client -h

这将显示该工具的帮助信息。以下是它支持的所有开关。```yaml
Usage:
  ./interactsh-client [flags]

Flags:
INPUT:
   -s, -server string   interactsh server(s) to use (default "oast.pro,oast.live,oast.site,oast.online,oast.fun,oast.me")
   -fl, -file string[]  local file(s) to upload and host on the interactsh server

CONFIG:
   -config string                           flag configuration file (default "$HOME/.config/interactsh-client/config.yaml")
   -auth                                    configure projectdiscovery cloud (pdcp) api key (default true)
   -n, -number int                          number of interactsh payload to generate (default 1)
   -t, -token string                        authentication token to connect protected interactsh server
   -pi, -poll-interval int                  poll interval in seconds to pull interaction data (default 5)
   -nf, -no-http-fallback                   disable http fallback registration
   -cidl, -correlation-id-length int        length of the correlation id preamble (min 3, default 20) (default 20)
   -cidn, -correlation-id-nonce-length int  length of the correlation id nonce (min 3, default 13) (default 13)
   -sf, -session-file string                store/read from session file
   -kai, -keep-alive-interval value         keep alive interval (default 1m0s)

FILTER:
   -m, -match string[]   match interaction based on the specified pattern
   -f, -filter string[]  filter interaction based on the specified pattern
   -dns-only             display only dns interaction in CLI output
   -http-only            display only http interaction in CLI output
   -smtp-only            display only smtp interactions in CLI output
   -asn                   include asn information of remote ip in json output

UPDATE:
   -up, -update                 update interactsh-client to latest version
   -duc, -disable-update-check  disable automatic interactsh-client update check

OUTPUT:
   -o string                         output file to write interaction data
   -json                             write output in JSON Lines format
   -ps, -payload-store               write generated interactsh payload to file
   -psf, -payload-store-file string  store generated interactsh payloads to given file (default "interactsh_payload.txt")
   -fsf, -file-store-file string     store hosted file URLs to given file (requires -file)
   -v                                display verbose interaction

DEBUG:
   -version            show version of the project
   -health-check, -hc  run diagnostic check up

Interactsh CLI 客户端

Interactsh CLI 客户端需要 go1.20+ 才能成功安装。运行以下命令以获取仓库 -```sh go install -v github.com/projectdiscovery/interactsh/cmd/interactsh-client@latest

### 使用 Interactsh CLI 客户端配置 PDCP_API_KEY
> 在 https://cloud.projectdiscovery.io 注册即可获取免费 API 密钥

你可以通过两种方式配置 PDCP_API_KEY:
1. 要交互式配置 API 密钥,请运行以下命令:   ```sh
   ./interactsh-client -auth
  1. 如果您希望直接传递 API 密钥,请使用 -auth 选项,后跟您的 API 密钥: ```sh ./interactsh-client -auth=

默认运行

这将生成一个唯一的 payload,可用于 OOB 测试,输出中的交互信息最少。```console $ interactsh-client

_       __                       __       __  

()__ / /____ _________ / // /_ / / __ / / _ / / __ '/ / __/ __/ __
/ / / / / /
/ __/ / / /
/ / /
/ /
(
) / / / /// //_/_
// _,/___/_/__// // v0.0.5

    projectdiscovery.io

[INF] Listing 1 payload for OOB Testing [INF] c23b2la0kl1krjcrdj10cndmnioyyyyyn.oast.pro

[c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received DNS interaction (A) from 172.253.226.100 at 2021-26-26 12:26 [c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received DNS interaction (AAAA) from 32.3.34.129 at 2021-26-26 12:26 [c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received HTTP interaction from 43.22.22.50 at 2021-26-26 12:26 [c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received HTTPS interaction from 43.22.22.50 at 2021-26-26 12:26 [c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received DNS interaction (MX) from 43.3.192.3 at 2021-26-26 12:26 [c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received DNS interaction (TXT) from 74.32.183.135 at 2021-26-26 12:26 [c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received SMTP interaction from 32.85.166.50 at 2021-26-26 12:26

### 会话文件

`interactsh-client` 配合 `-sf, -session-file` 标志可用于将当前会话信息存储到用户指定的文件或从中读取,这对于在客户端停止或关闭后恢复同一会话以轮询交互非常有用。```console
$ interactsh-client -sf interact.session

    _       __                       __       __  
   (_)___  / /____  _________ ______/ /______/ /_ 
  / / __ \/ __/ _ \/ ___/ __ '/ ___/ __/ ___/ __ \
 / / / / / /_/  __/ /  / /_/ / /__/ /_(__  ) / / /
/_/_/ /_/\__/\___/_/   \__,_/\___/\__/____/_/ /_/ 1.0.3

        projectdiscovery.io

[INF] Listing 1 payload for OOB Testing
[INF] c23b2la0kl1krjcrdj10cndmnioyyyyyn.oast.pro

[c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received DNS interaction (A) from 172.253.226.100 at 2021-26-26 12:26
[c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received DNS interaction (AAAA) from 32.3.34.129 at 2021-26-26 12:26
[c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received HTTP interaction from 43.22.22.50 at 2021-26-26 12:26
[c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received HTTPS interaction from 43.22.22.50 at 2021-26-26 12:26
[c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received DNS interaction (MX) from 43.3.192.3 at 2021-26-26 12:26
[c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received DNS interaction (TXT) from 74.32.183.135 at 2021-26-26 12:26
[c23b2la0kl1krjcrdj10cndmnioyyyyyn] Received SMTP interaction from 32.85.166.50 at 2021-26-26 12:26

详细模式

以详细模式(v)运行 interactsh-client,以查看完整的请求和响应,同时将输出保存到文件以便后续分析。```console $ interactsh-client -v -o interactsh-logs.txt

_       __                       __       __  

()__ / /____ _________ / // /_ / / __ / / _ / / __ '/ / __/ __/ __
/ / / / / /
/ __/ / / /
/ / /
/ /
(
) / / / /// //_/_
// _,/___/_/__// // 1.0.3

projectdiscovery.io

[INF] Listing 1 payload for OOB Testing [INF] c58bduhe008dovpvhvugcfemp9yyyyyyn.oast.pro

[c58bduhe008dovpvhvugcfemp9yyyyyyn] Received HTTPS interaction from 103.22.142.211 at 2021-09-26 18:08:07

HTTP Request

下载工具