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

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

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

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

工具目录

分类

查看所有分类
Loading categories
arpy — Mac OSX ARP欺骗(MiTM)工具,也可接入Gource | Kitploit
工具/GitHubGitHub/ivanvza/arpy
数据包嗅探与分析侦察信息收集网络安全红队DNS 分析Archived
GitHubivanvza/arpy

arpy

Mac OSX ARP欺骗(MiTM)工具,也可接入Gource

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

标志

Arpy

Arpy 是一款易于使用的 macOS ARP 欺骗中间人攻击(MiTM)工具。 它提供 3 个特定功能:

  • 数据包嗅探
  • 访问过的域名
  • 通过 Gource 查看访问过的域名
每个功能将在下文详细说明。

已测试的操作系统(截至当前)

  • Darwin 14.3.0 Darwin Kernel Version 14.3.0(Mac OS X)

依赖

  • Python 2.7
  • Gource
  • Scapy
  • libdnet

安装

Gource

root@kitploit:~
brew install gource

Scapy

root@kitploit:~
pip install scapy

libdnet

root@kitploit:~

$ git clone https://github.com/dugsong/libdnet.git
$ cd libdnet
$ ./configure && make && make install
cd python
python setup.py install

示例命令

root@kitploit:~
ivanvza:~/ > sudo arpy
     _____
    |  _  |___ ___ _ _
    |     |  _| . | | |
    |__|__|_| |  _|_  |
    MiTM Tool |_| |___|
    v3.15 -@viljoenivan

用法: arpy -t <目标IP> -g <网关IP> -i <接口>

ARP 中间人攻击(MiTM)工具

选项:
  -h, --help            显示此帮助信息并退出
  -t 目标, --target=目标
                        目标IP
  -g 网关, --gateway=网关
                        网关
  -i 接口, --interface=接口
                        使用的接口
  --tcp                 仅过滤TCP流量
  --udp                 仅过滤UDP流量
  -d 目的端口, --destination_port=目的端口
                        按目的端口过滤
  -s 源端口, --source_port=源端口
                        按源端口过滤
  --sniff               嗅探所有通过的数据
  --sniff-dns           仅嗅探搜索过的域名
  --sniff-dns-gource    以 Gource 格式输出目标的 DNS 查询
  -v                    详细输出 Scapy 数据包信息

数据包嗅探

此为数据包嗅探器,允许您查看目标的流量。

root@kitploit:~
ivanvza:~/ > sudo arpy -t 192.168.1.3 -g 192.161.1.1 -i en0 --sniff
     _____
    |  _  |___ ___ _ _
    |     |  _| . | | |
    |__|__|_| |  _|_  |
    MiTM Tool |_| |___|
    v3.15 -@viljoenivan


  [信息] 正在启动嗅探器...

[信息] 启用 IP 转发...
[信息] 过滤器:((源主机 192.168.1.3 或 目的主机 192.168.1.3))

[信息] 发现以下内容(IP 层):192.168.1.3 -> 46.101.34.90
GET / HTTP/1.1
User-Agent: curl/7.37.1
Host: ivanvza.ninja
Accept: */*



[信息] 发现以下内容(IP 层):46.101.34.90 -> 192.168.1.3
HTTP/1.1 200 OK
Vary: Accept-Encoding
Content-Type: text/html
Accept-Ranges: bytes
ETag: "2719538271"
Last-Modified: Thu, 30 Apr 2015 08:25:15 GMT
Content-Length: 3213
Date: Fri, 29 May 2015 20:15:06 GMT
Server: Microsoft IIS

<html>
     <title>><></title>
    <body>
        <pre style="line-height: 1.25; white-space: pre;">
        \          SORRY            /
         \                         /
          \    This page does     /
           ]   not exist yet.    [    ,'|
           ]                     [   /  |
           ]___               ___[ ,'   |
           ]  ]\             /[  [ |:   |
           ]  ] \           / [  [ |:   |
           ]  ]  ]         [  [  [ |:   |
           ]  ]  ]__     __[  [  [ |:   |
           ]  ]  ] ]\ _ /[ [  [  [ |:   |
           ]  ]  ] ] (#) [ [  [  [ :===='
           ]  ]  ]_].nHn.[_[  [  [
           ]  ]  ]  HHHHH. [  [  [
           ]  ] /   `HH("N  \ [  [
           ]__]/     HHH  "  \[__[
           ]         NNN         [
           ]         N/"         [
           ]         N H         [
          /          N            \
         /           q,            \
        /                           \
        </pre>
        <h3 id="list"><h3>
    </body>
<script>

// NOTE: window.RTCPeerConnection is "not a constructor" in FF22/23
var RTCPeerConnection = /*window.RTCPeerConnection ||

DNS 嗅探

此功能允许您查看目标正在请求的域名。

root@kitploit:~
ivanvza:~/ > sudo arpy -t 192.168.1.4 -g 192.168.1.1 -i en0 --sniff-dns
     _____
    |  _  |___ ___ _ _
    |     |  _| . | | |
    |__|__|_| |  _|_  |
    MiTM Tool |_| |___|
         - @viljoenivan


  [信息] 正在启动 DNS 嗅探器...

[信息] 启用 IP 转发...
[信息] 完成...
目标: 192.168.1.4 -> (192.168.1.1/DNS 服务器) 搜索了: www.youtube.com.
目标: 192.168.1.4 -> (192.168.1.1/DNS 服务器) 搜索了: s2.googleusercontent.com.
目标: 192.168.1.4 -> (192.168.1.1/DNS 服务器) 搜索了: google.com.
目标: 192.168.1.4 -> (192.168.1.1/DNS 服务器) 搜索了: s.ytimg.com.
目标: 192.168.1.4 -> (192.168.1.1/DNS 服务器) 搜索了: fonts.gstatic.com.
目标: 192.168.1.4 -> (192.168.1.1/DNS 服务器) 搜索了: yt3.ggpht.com.
目标: 192.168.1.4 -> (192.168.1.1/DNS 服务器) 搜索了: i.ytimg.com.
目标: 192.168.1.4 -> (192.168.1.1/DNS 服务器) 搜索了: safebrowsing.google.com.
目标: 192.168.1.4 -> (192.168.1.1/DNS 服务器) 搜索了: safebrowsing-cache.google.com.
目标: 192.168.1.4 -> (192.168.1.1/DNS 服务器) 搜索了: safebrowsing-cache.google.com.

结合 Gource 的 DNS 嗅探

此功能与上述大致相同,但提供了将数据传递给 Gource 的能力,从而实时查看目标正在浏览的内容。

root@kitploit:~
ivanvza:~/ > sudo arpy -t 192.168.1.3 -g 192.161.1.1 -i en0 --sniff-dns-gource
[信息] 如需实时 Gource 输出,请将此命令与以下命令并行运行:

tail -f /tmp/36847parsed_nmap | tee /dev/stderr | gource -log-format custom -a 1 --file-idle-time 0 -

[信息] 过滤器:((源主机 192.168.1.3 或 目的主机 192.168.1.3) 且 目的端口 53)

示例 Gource 录像

即时的 Gource 画面

联系方式

@viljoenivan

待办事项

  • 考虑添加 sslstrip。
  • 移植到 Kali。
下载工具