为编程爱好者分享易语言教程源码的资源网
好用的代理IP,游戏必备 ____广告位招租____ 服务器99/年 ____广告位招租____ ____广告位招租____ 挂机,建站服务器
好用的代理IP,游戏必备 ____广告位招租____ 服务器低至38/年 ____广告位招租____ ____广告位招租____ 挂机,建站服务器

网站首页 > 易语言相关 > 网络相关源码 正文

青海大学继续教育学院登录例子源码

三叶资源网 2019-11-14 11:07:25 网络相关源码 2705 ℃ 1 评论
.版本 2
.支持库 spec

.程序集 程序集1
.程序集变量 http, WinHttpW

.子程序 _启动子程序, 整数型, , 本子程序在程序启动后最先执行

V8.InitializeV8 ()
子程序1 ()
V8.UninitializeV8 ()
返回 (0)  ' 可以根据您的需要返回任意数值

.子程序 子程序1
.局部变量 res, 文本型
.局部变量 lt, 文本型
.局部变量 execution, 文本型
.局部变量 publicKey, 文本型
.局部变量 SSO_LT_JSESSIONID, 文本型
.局部变量 url, 文本型
.局部变量 user, 文本型
.局部变量 pwd, 文本型
.局部变量 JS, 类_脚本组件
.局部变量 location, 文本型
.局部变量 cookies, 文本型

http.Auto (真)
http.Open (“get”, “https://hwssov1.59iedu.com/login?TARGET=https://qdjj.59iedu.com/web/sso/auth&js&callback=processLogin&_=1573643822857”)
http.SetUserAgent (“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36”)
http.SetAccept (“*/*”)
http.SetReferer (“https://qdjj.59iedu.com/index”)
http.SetAcceptLanguage (“zh-CN,zh;q=0.9”)
http.Send ()
res = http.GetResponseText ()
lt = 文本_取中间 (res, “lt: ” + #引号, #引号)
execution = 文本_取中间 (res, “execution: ” + #引号, #引号)
publicKey = 文本_取中间 (res, “publicKey: ” + #引号, #引号)
SSO_LT_JSESSIONID = 文本_取中间 (res, “SSO_LT_JSESSIONID=”, “',”)
user = “632221199011100510”
pwd = “mgj5668888”
' JS.执行 (#JS)
' user = JS.计算表达式 (“test('” + user + “','” + publicKey + “')”)
' pwd = JS.计算表达式 (“test('” + pwd + “','” + publicKey + “')”)
' JS.清除 ()
user = V8_test (user, publicKey)
pwd = V8_test (pwd, publicKey)
url = “https://hwssov1.59iedu.com/login;SSO_LT_JSESSIONID=” + SSO_LT_JSESSIONID + “?ssoCb=jQuery111006287296128676239_1573643822858&lt=” + lt + “&execution=” + execution + “&_eventId=submit&accountType=1&account=” + user + “&password=” + pwd + “&credentialEncrypt=true&encryptType=RSA&extAttribute=%7B%27portalType%27%3A%27mall%27%7D&_=1573643822859”
http.Open (“get”, url)
http.Send ()
res = http.GetResponseText ()
cookies = http.GetAllResponseCookies ()
location = 文本_取中间 (res, “location” + #引号 + “:” + #引号, #引号)
http.Open (“get”, location)
http.SetXMLHttpRequest ()
http.Send ()
res = http.GetResponseTextA ()
调试输出 (res, cookies)

.子程序 V8_test, 文本型
.参数 data, 文本型
.参数 pubkey, 文本型
.局部变量 return, 文本型

return = V8.ExecJavaScriptV8 (#JS, “test” + “('” + data + “','” + pubkey + “')”)  ' 请在常量_Js中放入调试成功的JS代码段
返回 (return)

@h643574

文件下载

来源:三叶资源网,欢迎分享,公众号:iisanye,(三叶资源网⑤群:21414575

已有1位网友发表了看法:

  • nodejs

    nodejs  评论于 [2020-08-21 17:40:26]  回复

    https://qdjj.59iedu.com/index

欢迎 发表评论:

百度站内搜索
关注微信公众号
三叶资源网⑤群:三叶资源网⑤群

网站分类
随机tag
花椒直播工具node模块系统核心支持库进程信息枚举图片群发源码进程通讯Excel深度学习CHM帮助文档大数据去重复多线程防崩溃例程腾讯关键词检测dll返回数组社会网络自动打怪快速排序条形码QQ群发插件源码折线图
最新评论