Skip to content

PHP 5.6连接报错 #113

@bobpop11

Description

@bobpop11

错误详细描述

在PHP 5.6 的环境下 ,转发流量时,会自动触发$HTTP_RAW_POST_DATA弃用警告

运行环境

客户端:

  • 系统: kail
  • python版本: 3.7.1

服务端:

  • 系统: windows server 2012
  • web端文件: php
  • web中间件: apache
  • 语言平台版本:php 5.6

neoreg.py 的运行输出(请带上 -vvv 参数,输出详细信息提高修复效率)

粘贴文本或图片,url等敏感信息可删除(文本可用***代替)或打码处理

Exception in thread Thread-188 (reader):
Traceback (most recent call last):
  File "/usr/lib/python3.13/threading.py", line 1044, in _bootstrap_inner
    self.run()
    ~~~~~~~~^^
  File "/usr/lib/python3.13/threading.py", line 995, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/root/tools/Neo-reGeorg/neoreg.py", line 535, in reader
    self.closeRemoteSession()
    ~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/root/tools/Neo-reGeorg/neoreg.py", line 495, in closeRemoteSession
    rinfo = self.neoreg_request(info)
  File "/root/tools/Neo-reGeorg/neoreg.py", line 456, in neoreg_request
    raise e
  File "/root/tools/Neo-reGeorg/neoreg.py", line 440, in neoreg_request
    raise NeoregReponseFormatError("[HTTP] Response Format Error: {}".format(response.content))
NeoregReponseFormatError: [HTTP] Response Format Error: b"<br />\n<b>Deprecated</b>:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in <b>Unknown</b> on line <b>0</b><br />\n<br />\n<b>Warning</b>:  Cannot modify header information - headers already sent in <b>Unknown</b> on line <b>0</b><br />\nGG2foaE/uQSnZzAbD6JGYJDR/lDSEDI4WbsXv3=="       

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions