Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

登录失败 no_session_found,reopen the browser and try again(code=0x01) #1

Open
yinghope opened this issue Mar 8, 2021 · 4 comments

Comments

@yinghope
Copy link

yinghope commented Mar 8, 2021

你好,感谢编写的脚本,请问现在还能正常使用吗?

运行环境为win10下的部署的wsl:Ubuntu-18.04LTS
win10安装软件:Git for Windows

使用命令bash drcom_wire_new.sh运行,运行结果如下:

logging in...
no_session_found,reopen the browser and try again(code=0x01)success

我在两种环境下分别单独执行curl 172.16.200.13 --silent | sed -n "s/.*'\(.*\)'.*/\1/p"命令时结果如下,均为出现描述中的链接http://210.45.240.245/post.phphttp://210.45.240.245/switch.php?×××××
Ubuntu-18.04 LTS执行结果:

a01.jpg
=
myusername
pwd

                <input type=button value="ע http://users.hfut.edu.cn/nav_preRegisterLog
                <input type=button value="Էhttp://210.45.240.252:80/Self
                <font color="#000000">ͻnone</span> |

Git for Windows执行结果:

a01.jpg
=
myusername
pwd

http://users.hfut.edu.cn/nav_preRegisterLog
http://210.45.240.252:80/Self
▒▒▒▒▒▒▒뽫▒▒▒▒ʹ▒▒▒▒▒▒▒ݲ▒▒▒ȫ▒▒▒▒▒Ƿ�▒뱣▒▒▒▒▒룿
none

另外,在没有登录账号,只连接网线的情况下仍然获取到了success消息,校园网不登陆情况下依然能够访问IPv6网址,可能原因是验证连接成功网址解析为IPv6地址。

不知道是不是我自己执行环境的原因导致无法正常使用。

@yinghope
Copy link
Author

yinghope commented Mar 8, 2021

另外附上cookie内容:
210.45.240.245 FALSE / FALSE 0 PHPSESSID 50pbrrv4f47hgjbm9q2k3ghbu1

@HowardZorn
Copy link
Owner

请问现在还能正常使用吗?

目前因为我没有续购校园网所以无法判断中途出现的一些问题,等我过段时间吧。

@yinghope
Copy link
Author

好的,麻烦了

@HowardZorn
Copy link
Owner

HowardZorn commented Mar 28, 2021

你好,感谢编写的脚本,请问现在还能正常使用吗?

经测试可以

no_session_found,reopen the browser and try again(code=0x01)

这并非是我的脚本有问题。看上去是学校服务器的问题,因为据一些同学反应利用浏览器登录也会出现这种情况

另外,在没有登录账号,只连接网线的情况下仍然获取到了success消息,校园网不登陆情况下依然能够访问ipv6网址,可能原因是验证连接成功网址解析为ipv6地址。

这是一个很好的提醒。我已经修正了脚本的错误,通过curl--ipv4选项

感谢关注我的项目

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants