templates
templates copied to clipboard
恩山无线论坛 评论区
HAR 模板名称
恩山无线论坛
作者信息
github-h
模板备注及说明
cookie
每日登录奖励 若签到不稳定也请自行添加hosts
https://www.right.com.cn/forum/forum.php
HAR 文件名
恩山无线论坛.har
HAR 模板内容
[
{
"comment": "每日登录",
"request": {
"method": "GET",
"url": "https://www.right.com.cn/forum/forum.php",
"headers": [
{
"name": "Host",
"value": "www.right.com.cn"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
},
{
"name": "Accept",
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "Referer",
"value": "https://www.right.com.cn/forum/home.php?mod=spacecp&ac=usergroup"
},
{
"name": "DNT",
"value": "1"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Cookie",
"value": "{{cookie}}"
},
{
"name": "Upgrade-Insecure-Requests",
"value": "1"
},
{
"name": "Cache-Control",
"value": "max-age=0"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": []
}
},
{
"comment": "获取积分",
"request": {
"method": "GET",
"url": "https://www.right.com.cn/forum/home.php?mod=spacecp&ac=credit&showcredit=1&inajax=1",
"headers": [
{
"name": "Host",
"value": "www.right.com.cn"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Accept-Language",
"value": "zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, br"
},
{
"name": "X-Requested-With",
"value": "XMLHttpRequest"
},
{
"name": "DNT",
"value": "1"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Referer",
"value": "https://www.right.com.cn/forum/home.php?mod=spacecp&ac=credit&showcredit=1"
},
{
"name": "Cookie",
"value": "{{cookie}}"
}
],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
}
],
"failed_asserts": [],
"extract_variables": [
{
"re": "<span id=\"hcredit_2\">(.+?)</span>",
"from": "content",
"name": "log_value"
}
]
}
},
{
"comment": "生成日志",
"request": {
"method": "POST",
"url": "api://util/urldecode",
"headers": [],
"cookies": [],
"data": "content=恩山币: {{log_value}}"
},
"rule": {
"success_asserts": [
{
"re": "200",
"from": "status"
},
{
"re": "\"状态\": \"200\"",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "__log__",
"re": "\"转换后\": \"(.*)\"",
"from": "content"
}
]
}
}
]
Failed at 2/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 302: Found, Request URL: https://www.right.com.cn/forum/home.php?mod=spacecp&ac=credit&showcredit=1&inajax=1&ajaxtarget=extcreditmenu_menu
出现错误
可能是cookie失效了,这个没有做cookie失效的相关校验。
---原始邮件--- 发件人: "Zhenyu @.> 发送时间: 2022年5月10日(周二) 凌晨2:28 收件人: @.>; 抄送: @.***>; 主题: Re: [qiandao-today/templates] 恩山无线论坛 评论区 (#58)
Failed at 2/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 302: Found, Request URL: https://www.right.com.cn/forum/home.php?mod=spacecp&ac=credit&showcredit=1&inajax=1&ajaxtarget=extcreditmenu_menu
出现错误
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Failed at 2/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 302: Found, Request URL: https://www.right.com.cn/forum/home.php?mod=spacecp&ac=credit&showcredit=1&inajax=1&ajaxtarget=extcreditmenu_menu
出现错误
你要不要更新一下cookie试试
更新cookie后成功
问一下,第三条那个生成日志的{{log_value}}从哪里要或者说填什么?
log_value 不需要填,是前几条请求生成的
---原始邮件--- 发件人: @.> 发送时间: 2022年6月19日(周日) 晚上10:07 收件人: @.>; 抄送: @.@.>; 主题: Re: [qiandao-today/templates] 恩山无线论坛 评论区 (#58)
问一下,第三条那个生成日志的{{log_value}}从哪里要或者说填什么?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
请问都需要哪些相关的值?现在right抓出来有一大堆啊
Failed at 1/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Connection timed out after 30002 milliseconds, Request URL: https://www.right.com.cn/forum/forum.php
Failed at 1/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Connection timed out after 30002 milliseconds, Request URL: https://www.right.com.cn/forum/forum.php
先自行测试你的网络跟恩山是不是通的 模板本身是没问题的
Failed at 1/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Connection timed out after 30002 milliseconds, Request URL: https://www.right.com.cn/forum/forum.php
先自行测试你的网络跟恩山是不是通的 模板本身是没问题的
感谢答复。已解决! 原因:在ip未被墙的情况下,国外vps需添加国内dns解析,否则某些国内网站无法访问。 解决方案:修改vps的dns解析,找出ping低的ip加入hosts。
Failed at 1/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Connection timed out after 30002 milliseconds, Request URL: https://www.right.com.cn/forum/forum.php
先自行测试你的网络跟恩山是不是通的 模板本身是没问题的
感谢答复。已解决! 原因:在ip未被墙的情况下,国外vps需添加国内dns解析,否则某些国内网站无法访问。 解决方案:修改vps的dns解析,找出ping低的ip加入hosts。
请问hosts添加什么? vps ping域名后返回的?
Failed at 1/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Connection timed out after 30002 milliseconds, Request URL: https://www.right.com.cn/forum/forum.php
先自行测试你的网络跟恩山是不是通的 模板本身是没问题的
感谢答复。已解决! 原因:在ip未被墙的情况下,国外vps需添加国内dns解析,否则某些国内网站无法访问。 解决方案:修改vps的dns解析,找出ping低的ip加入hosts。
请问hosts添加什么? vps ping域名后返回的?
他的意思应该是你国内本地ping的结果 然后给vps里的hosts添加 不过未来如果要是像吾爱那样上了ACL的话 就还是建议家宽或者国内vps
不能用了,报错 2023-06-27 11:51:35 日志:Failed at 2/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 521: Unknown, Request URL: https://www.right.com.cn/forum/home.php?mod=spacecp&ac=credit&showcredit=1&inajax=1&ajaxtarget=extcreditmenu_menu
不能用了,报错 2023-06-27 11:51:35 日志:Failed at 2/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 521: Unknown, Request URL: https://www.right.com.cn/forum/home.php?mod=spacecp&ac=credit&showcredit=1&inajax=1&ajaxtarget=extcreditmenu_menu
好像需要滑块验证
不能用了,报错 2023-06-27 11:51:35 日志:Failed at 2/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 521: Unknown, Request URL: https://www.right.com.cn/forum/home.php?mod=spacecp&ac=credit&showcredit=1&inajax=1&ajaxtarget=extcreditmenu_menu
~~等更新~~ 已更新
2023-08-04 11:32:28 日志:Failed at 1/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Connection timed out after 30001 milliseconds, Request URL: https://www.right.com.cn/forum/forum.php
2023-08-04 11:32:28 日志:Failed at 1/3 request, Fail assert: {"re": "200", "from": "status"} from success_asserts, Response Error : HTTP 599: Connection timed out after 30001 milliseconds, Request URL: https://www.right.com.cn/forum/forum.php
自己网络的问题自己想办法解决哦
最近几天一直报这个错误,能帮忙看看是啥原因不?在阿里云vps上部署的
`
Failed at 1/3 request,Fail assert: {"re": "200", "from": "status"} from success_asserts,Response Error : HTTP 502: Bad Gateway,Request URL: https://www.right.com.cn/forum/forum.php -- `
最近几天一直报这个错误,能帮忙看看是啥原因不?在阿里云vps上部署的
Failed at 1/3 request,Fail assert: {"re": "200", "from": "status"} from success_asserts,Response Error : HTTP 502: Bad Gateway,Request URL: https://www.right.com.cn/forum/forum.php --
网不稳定 建议家宽