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

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

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

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

工具目录

分类

查看所有分类
Loading categories
pivotnacci — 一个通过HTTP代理建立SOCKS连接的工具 | Kitploit
工具/GitHubGitHub/blackarrowsec/pivotnacci
横向移动Web安全渗透测试红队
GitHubblackarrowsec/pivotnacci

pivotnacci

一个通过HTTP代理建立SOCKS连接的工具

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

pivotnacci

通过部署HTTP代理进入内部网络。Pivotnacci 允许你创建一个与HTTP agents进行通信的socks服务器。架构如下所示:

该工具受到优秀的 reGeorg 的启发。但它包含一些改进:

  • 支持负载均衡服务器
  • 可自定义轮询间隔,有助于降低检测率
  • 自动丢弃被服务器关闭的连接
  • 模块化且更简洁的代码
  • 通过pip安装
  • 受密码保护的代理

支持的socks协议

  • Socks 4
  • Socks 5
    • No authentication
    • User password
    • GSSAPI

安装

从Python包安装:

root@kitploit:~
pip3 install pivotnacci

从仓库安装:

root@kitploit:~
git clone https://github.com/blackarrowsec/pivotnacci.git
cd pivotnacci/
pip3 install -r requirements.txt # to avoid installing on the OS
python3 setup.py install # to install on the OS

使用说明

  1. 将所需的代理(php、jsp或aspx)上传到web服务器
  2. 代理部署后启动socks服务器
  3. 配置proxychains或任何其他代理客户端(pivotnacci socks服务器的默认监听端口是1080)
root@kitploit:~
$ pivotnacci -h
usage: pivotnacci [-h] [-s addr] [-p port] [--verbose] [--ack-message message]
                  [--password password] [--user-agent user_agent]
                  [--header header] [--proxy [protocol://]host[:port]]
                  [--type type] [--polling-interval milliseconds]
                  [--request-tries number] [--retry-interval milliseconds]
                  url

Socks server for HTTP agents

positional arguments:
  url                   The url of the agent

optional arguments:
  -h, --help            show this help message and exit
  -s addr, --source addr
                        The default listening address (default: 127.0.0.1)
  -p port, --port port  The default listening port (default: 1080)
  --verbose, -v
  --ack-message message, -a message
                        Message returned by the agent web page (default:
                        Server Error 500 (Internal Error))
  --password password   Password to communicate with the agent (default: )
  --user-agent user_agent, -A user_agent
                        The User-Agent header sent to the agent (default:
                        pivotnacci/0.0.1)
  --header header, -H header
                        Send custom header. Specify in the form 'Name: Value'
                        (default: None)
  --proxy [protocol://]host[:port], -x [protocol://]host[:port]
                        Set the HTTP proxy to use.(Environment variables
                        HTTP_PROXY and HTTPS_PROXY are also supported)
                        (default: None)
  --type type, -t type  To specify agent type in case is not automatically
                        detected. Options are ['php', 'jsp', 'aspx'] (default:
                        None)
  --polling-interval milliseconds
                        Interval to poll the agents (for recv operations)
                        (default: 100)
  --request-tries number
                        The number of retries for each request to an agent. To
                        use in case of balanced servers (default: 50)
  --retry-interval milliseconds
                        Interval to retry a failure request (due a balanced
                        server) (default: 100)

示例

使用密码 s3cr3t 的代理(同样需要在代理端修改 AGENT_PASSWORD 变量):

root@kitploit:~
pivotnacci  https://domain.com/agent.php --password "s3cr3t"

使用自定义HTTP Host 头和服务器的 CustomAgent User-Agent:

root@kitploit:~
pivotnacci  https://domain.com/agent.jsp -H 'Host: vhost.domain.com' -A 'CustomAgent'

设置不同的代理消息 418 I'm a teapot(同样需要在代理端修改 ACK_MESSAGE 变量):

root@kitploit:~
pivotnacci https://domain.com/agent.aspx --ack-message "418 I'm a teapot"

通过将轮询间隔设置为 2 秒来降低检测率(例如WAF):

root@kitploit:~
pivotnacci  https://domain.com/agent.php --polling-interval 2000

作者

Eloy Pérez (@Zer1t0) [ www.blackarrow.net - www.tarlogic.com ]

许可证

本项目包含的所有代码均采用GNU AGPLv3许可证条款。

下载工具