Giter Site home page Giter Site logo

esc-z's Introduction

Hi there!✨

  • 🚀 Daily: Python Git Shell VS Code
  • 💻 Work: GitHub

esc-z's People

Contributors

z446c avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

esc-z's Issues

存在兼容性问题

1,脚本开头应该是bash而非sh,否则语法不对还需要指定用bash执行
2,在虚拟机和实机Linux测试后发现,nasip变量会出现/r控制符,并随数据发送,导致获取验证码失败{"rescode":"-1","resinfo":"Unterminated string at character 90 of {省略}"} (验证码获取失败,请检查账号密码),以及登录失败{"rescode":"-1","resinfo":"challenge is null"},但是在Windows下使用git bash可正常登录。

测试环境:Kali官方VMware虚拟机环境(网络桥接),AArch64 Debian Bullseye(Wi-Fi)

已知解决方案是在要用到nasip的地方直接重新赋值,在getVerifyCode()和loginTask()的buffer前拆入一句nasip="119.146.175.80"治标,关于如何治本,我暂时没有头绪。

openwrt 报错 Runtime error

Runtime error
Unhandled exception during request dispatching
/usr/lib/lua/luci/ucodebridge.lua:23: ...r/lib/lua/luci/model/cbi/esurfing-client/setting.lua:2: attempt to call method 'get_wandev' (a nil value)

In error(), file [C]
called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:23)
called from function ((tail call))
In anonymous function, file /usr/share/ucode/luci/runtime.uc, line 148, byte 45:
called from function [arrow function] (/usr/share/ucode/luci/dispatcher.uc:794:4)
called from function render ([C])
called from function render_action (/usr/share/ucode/luci/dispatcher.uc:768:24)
called from function run_action (/usr/share/ucode/luci/dispatcher.uc:795:4)
called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:1008:48)
called from function run_action (/usr/share/ucode/luci/dispatcher.uc:831:78)
called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:1008:48)
called from anonymous function (/www/cgi-bin/luci:39:13)

return lcall.call(modname, method, ...args);
Near here ----------------------------------------^
屏幕截图 2023-11-30 184149

获取验证码获取失败,貌似是参数传递错误?

emmm不知道咋说
验证码获取失败,getVerifyCode里的data再到getJson获取的值是对的,但是一被当做赋值,花括号就不见了。

大概就是
正确传递的应该是{"version":"214","username":"114514","clientip":"xx.xx.xx.xx","nasip":"xx.xx.xx.xx","mac":"xxxxxx","timestamp":"123456","authenticator":"456789"}

但是从脚本传递出来的却是
"version":"214","username":"114514","clientip":"xx.xx.xx.xx","nasip":"xx.xx.xx.xx","mac":"xxxxxx","timestamp":"123456","authenticator":"456789"

花括号不见了,然后直接就返回验证码错误了
Screenshot_20231025_105832_HttpCanary

如果看不懂,就看一下抓包图片吧QAQ

按照这样的话,脚本内的schoolid可能也会获取错误。虽然我已经指定好了_(´ཀ`」 ∠)__

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.