GithubHelp home page GithubHelp logo

Comments (16)

lz520520 avatar lz520520 commented on June 1, 2024 1

同样的问题,我跟踪了下,我用的phpstudy,connect里有个while循环,是死循环,除非发送disconnect才会跳出,我测试了下nosocket-tunnel,发送CONNECT指令就没回包了,也就是说卡在了while循环,超时后返回当然没有会话,话说php这个while循环可以单独出来运行吗,对比了php和其他脚本,socket套接字使用方法不一样,没搞懂以前为啥行- -

from neo-regeorg.

L-codes avatar L-codes commented on June 1, 2024

感谢问题提交,请问是否存在手工 (-c 或 -H) 指定 Cookie 值?

from neo-regeorg.

P1ay2win avatar P1ay2win commented on June 1, 2024

并没有手动设置Cookie

from neo-regeorg.

L-codes avatar L-codes commented on June 1, 2024

要不试试 https://github.com/blackarrowsec/pivotnacci ?这个是单 session 多 tcp 连接的机制,后续 neo-regeorg 也会更新

from neo-regeorg.

P1ay2win avatar P1ay2win commented on June 1, 2024

好的,谢谢

from neo-regeorg.

L-codes avatar L-codes commented on June 1, 2024

@P1ay2win 其实 pivotnacci 也不一定能用,如果是没有 cookie 返回应该不行的,解决不了的话希望能反馈一下

from neo-regeorg.

P1ay2win avatar P1ay2win commented on June 1, 2024

好的

from neo-regeorg.

xsshim avatar xsshim commented on June 1, 2024

好奇怪,我也是在phpstudy上用php的版本,怎么都用不了,我还以为我操作错误了。。

from neo-regeorg.

L-codes avatar L-codes commented on June 1, 2024

@xsshim 原版的regeorg和 https://github.com/blackarrowsec/pivotnacci 都不行吗?

from neo-regeorg.

xsshim avatar xsshim commented on June 1, 2024

测试了一下pivotnacci ,在页面上显示
php 5.x 显示:
Fatal error: Call to undefined function apache_setenv() in E:\phpstudy_pro\WWW\agent.php on line 5
php 7.x 显示:
Fatal error: Uncaught Error: Call to undefined function apache_setenv() in E:\phpstudy_pro\WWW\agent.php:5 Stack trace: #0 {main} thrown in E:\phpstudy_pro\WWW\agent.php on line 5

原版tunnel显示:
Fatal error: Call to undefined function dl() in E:\phpstudy_pro\WWW\tunnel.php on line 30
or
Fatal error: Uncaught Error: Call to undefined function dl() in E:\phpstudy_pro\WWW\tunnel.php:30 Stack trace: #0 {main} thrown in E:\phpstudy_pro\WWW\tunnel.php on line 30

原版nosocket版本:
显示正常(Georg says, 'All seems fine'),但流量无法转发

from neo-regeorg.

xsshim avatar xsshim commented on June 1, 2024

然而我在其他虚拟机上搭建wampp,使用的是php7.4版本,却是都可以使用的。。

from neo-regeorg.

L-codes avatar L-codes commented on June 1, 2024

@xsshim pivotnacci 不行啊。。。可能跟我想的不一样了,感谢你的测试反馈,后续我安装 phpstudy 调试一下是什么状况

from neo-regeorg.

L-codes avatar L-codes commented on June 1, 2024

@lz520520 感谢你的测试反馈!v2.0版本正在开发测试,架构会大改应该会连同解决该问题的

from neo-regeorg.

L-codes avatar L-codes commented on June 1, 2024

PHP >= 7.1 环境的BUG 已经修复,获取最新的 v1.5.0 版本使用~

from neo-regeorg.

lz520520 avatar lz520520 commented on June 1, 2024

哈哈,看到了,其实这个问题在之前评论后也尝试修复完了,看了你的修改的地方,和我的思路基本一样,除了参数名不一样以外。不知道2.0会有哪些不一样的地方呢。

from neo-regeorg.

L-codes avatar L-codes commented on June 1, 2024

@lz520520 那之前提个PR嘛。v2.0 主要是避免单路径访问频率过高和单session环境还有负载均衡不认session场景

from neo-regeorg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.