L-codes / Neo-reGeorg

Neo-reGeorg is a project that seeks to aggressively refactor reGeorg
GNU General Public License v3.0
2.84k stars 439 forks source link

报错 Georg is not ready, please check URL. #65

Closed Weltolk closed 2 years ago

Weltolk commented 2 years ago

Neo-reGeorg的客户端环境: os and os version: Windows 10

Edition Windows 10 Pro
Version 21H2
Installed on    ‎2022.‎04.‎10
OS build    19044.1645
Experience  Windows Feature Experience Pack 120.2212.4170.0

python version: Python 3.10.4

Neo-reGeorg version: version 3.8.0

没有启动其他的代理软件,1080端口没有被占用

Neo-reGeorg的服务端环境: 尝试了两个服务器,一个是php环境,一个是jsp环境,都报这个错误

1.php环境的服务器: Debian + nginx + php os and os version: Debian 10

root@debian:~# cat /proc/version 
Linux version 4.19.0-11-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.146-1 (2020-09-17)

nginx version: nginx version: nginx/1.21.6

php version:

PHP 8.0.8 (cli) (built: Jul  6 2021 01:46:24) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.8, Copyright (c) Zend Technologies

上传的tunnel.php是Neo-reGeorg version 3.8.0生成的,确定在nginx的网站目录存在,通过浏览器可以访问,直接访问返回内容为空

2.jsp环境的服务器: CentOS + tomcat os and os version: CentOS 7

[root@CentOS]# cat /proc/version 
Linux version 3.10.0-862.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC) ) #1 SMP Fri Apr 20 16:44:24 UTC 2018

tomcat version:

[root@CentOS]# ./version.sh 
Using CATALINA_BASE:   /xxx/tomcat/apache-tomcat-7.0.34
Using CATALINA_HOME:   /xxx/tomcat/apache-tomcat-7.0.34
Using CATALINA_TMPDIR: /xxx/tomcat/apache-tomcat-7.0.34/temp
Using JRE_HOME:        /usr/java/jdk1.7.0_79
Using CLASSPATH:       /xxx/tomcat/apache-tomcat-7.0.34/bin/bootstrap.jar:/xxx/tomcat/apache-tomcat-7.0.34/bin/tomcat-juli.jar
Server version: Apache Tomcat/7.0.34
Server built:   Dec 4 2012 08:52:41
Server number:  7.0.34.0
OS Name:        Linux
OS Version:     3.10.0-862.el7.x86_64
Architecture:   amd64
JVM Version:    1.7.0_79-b15
JVM Vendor:     Oracle Corporation

上传的tunnel.jsp是Neo-reGeorg version 3.8.0生成的,确定在tomcat的网站目录存在,通过浏览器可以访问,直接访问返回内容为空

客户端启动Neo-reGeorg的报错信息:

PS D:\Neo-reGeorg> python .\neoreg.py -k xxxx -u https://x.x.x.x/tunnel.php -vvvvvv

          "$$$$$$''  'M$  '$$$@m
        :$$$$$$$$$$$$$$''$$$$'
       '$'    'JZI'$$&  $$$$'
                 '$$$  '$$$$
                 $$$$  J$$$$'
                m$$$$  $$$$,
                $$$$@  '$$$$_          Neo-reGeorg
             '1t$$$$' '$$$$<
          '$$$$$$$$$$'  $$$$          version 3.8.0
               '@$$$$'  $$$$'
                '$$$$  '$$$@
             'z$$$$$$  @$$$
                r$$$   $$|
                '$$v c$$
               '$$v $$v$$$$$$$$$#
               $$x$$$$$$$$$twelve$$$@$'
             @$$$@L '    '<@$$$$$$$$`
           $$                 '$$$

    [ Github ] https://github.com/L-codes/Neo-reGeorg

+------------------------------------------------------------------------+
  Log Level set to [DEBUG]
  Starting SOCKS5 server [127.0.0.1:1080]
  Tunnel at:
    https://x.x.x.x/tunnel.php
+------------------------------------------------------------------------+
[INFO               ]  Checking if Georg is ready
[DEBUG              ]  [HTTP] Ask Georg Request
[ERROR              ]  Georg is not ready, please check URL.
PS D:\Neo-reGeorg> python .\neoreg.py -k xxxx -u http://x.x.x.x:9999/xxxx/tunnel.jsp -vvvvvvvv

          "$$$$$$''  'M$  '$$$@m
        :$$$$$$$$$$$$$$''$$$$'
       '$'    'JZI'$$&  $$$$'
                 '$$$  '$$$$
                 $$$$  J$$$$'
                m$$$$  $$$$,
                $$$$@  '$$$$_          Neo-reGeorg
             '1t$$$$' '$$$$<
          '$$$$$$$$$$'  $$$$          version 3.8.0
               '@$$$$'  $$$$'
                '$$$$  '$$$@
             'z$$$$$$  @$$$
                r$$$   $$|
                '$$v c$$
               '$$v $$v$$$$$$$$$#
               $$x$$$$$$$$$twelve$$$@$'
             @$$$@L '    '<@$$$$$$$$`
           $$                 '$$$

    [ Github ] https://github.com/L-codes/Neo-reGeorg

+------------------------------------------------------------------------+
  Log Level set to [DEBUG]
  Starting SOCKS5 server [127.0.0.1:1080]
  Tunnel at:
    http://x.x.x.x:9999/xxxx/tunnel.jsp
+------------------------------------------------------------------------+
[INFO               ]  Checking if Georg is ready
[DEBUG              ]  [HTTP] Ask Georg Request
[ERROR              ]  Georg is not ready, please check URL.

尝试了使用ip + http,ip + https,域名 + http,域名 + https,都报这个错误

L-codes commented 2 years ago

问题反馈详细!你这个有[HTTP] Ask Georg Request 返回,并没有[HTTP] Ask Georg Response => Code: XXX 返回,明显是网络连接问题。 浏览器访问是空白,建议查看源码 默认生成是有 <--! xxxx --> 内容的,也可以直接 curl http://x.x.x.x:9999/xxxx/tunnel.jsp 查看

L-codes commented 2 years ago

我刚也为此提交了一个新的修改,也可以通过 git clone https://github.com/L-codes/Neo-reGeorg 获取最新代码进行测试,可以查看到详细的连接错误信息

Weltolk commented 2 years ago

问题反馈详细!你这个有[HTTP] Ask Georg Request 返回,并没有[HTTP] Ask Georg Response => Code: XXX 返回,明显是网络连接问题。 浏览器访问是空白,建议查看源码 默认生成是有 <--! xxxx --> 内容的,也可以直接 curl http://x.x.x.x:9999/xxxx/tunnel.jsp 查看

万分抱歉,我知道是什么原因了,我客户端(Windows 10)Proxifier没关,且代理了Python,Proxifier关了之后就能正常的启动Neo-reGeorg了,curl可以返回注释内容:

root@debian:~# curl http://x.x.x.x:9999/xxxx/tunnel.jsp
<!-- FM3Q5EiuBRcxK1joiKcF_Gl -->
Weltolk commented 2 years ago

我刚也为此提交了一个新的修改,也可以通过 git clone https://github.com/L-codes/Neo-reGeorg 获取最新代码进行测试,可以查看到详细的连接错误信息

实在抱歉= =已经可以正常用了,本项目实属内网渗透,杀人越货必备之良药0.0