Merge pull request #580 from qd-today/process-har-512

Update HAR: 搜书吧
This commit is contained in:
zhuYe 2024-03-03 08:56:43 +00:00 committed by GitHub
commit 102d1f4f41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 24 additions and 16 deletions

View File

@ -9,14 +9,18 @@
"rule": {
"success_asserts": [
{
"re": "url=",
"re": "403",
"from": "status"
},
{
"re": "200",
"from": "content"
}
],
"failed_asserts": [],
"extract_variables": [
{
"name": "newurl",
"name": "Domain",
"re": "url=(.+)\"",
"from": "content"
},
@ -36,7 +40,7 @@
{
"request": {
"method": "GET",
"url": "{{newurl}}",
"url": "{{ Domain }}",
"headers": [],
"cookies": []
},
@ -50,7 +54,7 @@
"failed_asserts": [],
"extract_variables": [
{
"name": "newurl",
"name": "Domain",
"re": "url=(.+)\"",
"from": "content"
}
@ -60,14 +64,18 @@
{
"request": {
"method": "GET",
"url": "{{newurl}}",
"url": "{{ Domain }}",
"headers": [],
"cookies": []
},
"rule": {
"success_asserts": [
{
"re": "class=\"link\"",
"re": "404",
"from": "status"
},
{
"re": "200",
"from": "content"
}
],
@ -84,7 +92,7 @@
{
"request": {
"method": "POST",
"url": "{{newurl}}/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1",
"url": "{{ Domain }}/member.php?mod=logging&action=login&loginsubmit=yes&infloat=yes&lssubmit=yes&inajax=1",
"headers": [],
"cookies": [],
"data": "username={{username}}&password={{password}}"
@ -108,7 +116,7 @@
{
"request": {
"method": "GET",
"url": "{{newurl}}",
"url": "{{ Domain }}",
"headers": [],
"cookies": [],
"data": ""
@ -159,7 +167,7 @@
"comment": "循环发表记录",
"request": {
"method": "POST",
"url": "{{newurl}}/home.php?mod=spacecp&ac=doing&view=me",
"url": "{{ Domain }}/home.php?mod=spacecp&ac=doing&view=me",
"headers": [],
"cookies": [],
"data": "message={{date_time(1,1,0)}}&add=&addsubmit=true&formhash={{formhash}}"
@ -254,7 +262,7 @@
"comment": "",
"request": {
"method": "GET",
"url": "{{newurl}}/home.php?mod=space&do=doing&view=me&from=space",
"url": "{{ Domain }}/home.php?mod=space&do=doing&view=me&from=space",
"headers": [],
"cookies": [],
"data": ""
@ -295,7 +303,7 @@
"comment": "循环删除记录",
"request": {
"method": "POST",
"url": "{{newurl}}/home.php?mod=spacecp&ac=doing&op=delete&doid={{doid|urlencode}}",
"url": "{{ Domain }}/home.php?mod=spacecp&ac=doing&op=delete&doid={{doid|urlencode}}",
"headers": [],
"cookies": [],
"data": "handlekey=register&formhash={{formhash}}&deletesubmit=true"
@ -357,7 +365,7 @@
{
"request": {
"method": "POST",
"url": "{{newurl}}/forum.php?mod=post&action=reply&fid=40&tid={{tid|urlencode}}&extra=&replysubmit=yes&infloat=yes&handlekey=fastpost&inajax=1",
"url": "{{ Domain }}/forum.php?mod=post&action=reply&fid=40&tid={{tid|urlencode}}&extra=&replysubmit=yes&infloat=yes&handlekey=fastpost&inajax=1",
"headers": [],
"cookies": [],
"data": "message=%D0%BB%D0%BB%C2%A5%D6%F7%B7%D6%CF%ED%A3%AC%D7%A3%CB%D1%CA%E9%B0%C9%D4%BD%B0%EC%D4%BD%BA%C3%A3%A1&formhash={{formhash}}"
@ -468,7 +476,7 @@
{
"request": {
"method": "GET",
"url": "{{newurl}}home.php?mod=spacecp&ac=credit&showcredit=1",
"url": "{{ Domain }}home.php?mod=spacecp&ac=credit&showcredit=1",
"headers": [],
"cookies": []
},

File diff suppressed because one or more lines are too long