reGeorg 二改 - HTTP代理建立socks隧道

admin 2024年8月5日12:40:08评论11 views字数 1890阅读6分18秒阅读模式

    通过部署HTTP代理转到内部网络、创建一个与HTTP代理通信的socks服务器。

reGeorg 二改 -  HTTP代理建立socks隧道

这个工具来自的reGeorg二改

  1. 支持平衡服务器

  2. 可定制的轮询间隔,有助于降低检测率

  3. 自动断开服务器关闭的连接

  4. 模块化和更简洁的代码

  5. 通过管道安装

  6. 受密码保护的代理

支持协议

  1. Socks 4

  2. Socks 5

安装

git clone https://github.com/blackarrowsec/pivotnacci.gitcd pivotnacci/pip3 install -r requirements.txt # to avoid installing on the OSpython3 setup.py install # to install on the OS
  1. 将所需的代理(php、jsp或aspx)上传到Web服务器

  2. 部署代理后启动socks服务器

  3. 配置代理链或任何其他代理客户端(pivotnaci socks服务器的默认监听端口为1080)

$ pivotnacci -husage: 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]                  urlSocks server for HTTP agentspositional arguments:  url                   The url of the agentoptional 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)

项目地址

https://github.com/blackarrowsec/pivotnacci

原文始发于微信公众号(Khan安全攻防实验室):reGeorg 二改 - HTTP代理建立socks隧道

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年8月5日12:40:08
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   reGeorg 二改 - HTTP代理建立socks隧道https://cn-sec.com/archives/3036832.html
                  免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉.

发表评论

匿名网友 填写信息