From 97d5aa46b07938cd09d7ca6bc506348543fb24bf Mon Sep 17 00:00:00 2001 From: Tony Date: Thu, 15 Aug 2024 09:22:11 +0800 Subject: [PATCH] Bruno Script Import to Bruno test post function --- Wechat Hook 395.json | 1035 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1035 insertions(+) create mode 100644 Wechat Hook 395.json diff --git a/Wechat Hook 395.json b/Wechat Hook 395.json new file mode 100644 index 0000000..8085e18 --- /dev/null +++ b/Wechat Hook 395.json @@ -0,0 +1,1035 @@ +{ + "name": "Wechat Hook 395", + "version": "1", + "items": [ + { + "type": "http", + "name": "addFavFromImage", + "seq": 27, + "request": { + "url": "http://127.0.0.1:19088/api/addFavFromImage", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"wxid\": \"\",\"imagePath\": \"\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "addFavFromMsg", + "seq": 26, + "request": { + "url": "http://127.0.0.1:19088/api/addFavFromMsg", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"msgId\": \"1222222\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "addMemberToChatRoom", + "seq": 12, + "request": { + "url": "http://127.0.0.1:19088/api/addMemberToChatRoom", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"chatRoomId\": \"12345678@chatroom\",\"memberIds\": \"wxid_12345678\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "checkLogin", + "seq": 1, + "request": { + "url": "http://127.0.0.1:19088/api/checkLogin", + "method": "POST", + "headers": [], + "params": [], + "body": { + "mode": "json", + "json": "{}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "createChatRoom", + "seq": 21, + "request": { + "url": "http://127.0.0.1:19088/api/createChatRoom", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"memberIds\": \"wxid_8yn4k908tdqp22,wxid_oyb662qhop4422\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "decodeImage", + "seq": 33, + "request": { + "url": "http://127.0.0.1:19088/api/decodeImage", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"filePath\": \"C:\\\\Users\\\\PC_User\\\\Documents\\\\WeChat Files\\\\wxid_123456\\\\FileStorage\\\\MsgAttach\\\\02b8ef0b3d43746a241dbee50198c4aa\\\\Image\\\\2024-08\\\\043a413621d81eb896b01b2ee85aced3.dat\",\"storeDir\": \"D:\\\\picDir\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "delMemberFromChatRoom", + "seq": 13, + "request": { + "url": "http://127.0.0.1:19088/api/delMemberFromChatRoom", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"chatRoomId\": \"21363231004@chatroom\",\"memberIds\": \"wxid_123\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "downloadAttach", + "seq": 32, + "request": { + "url": "http://127.0.0.1:19088/api/downloadAttach", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"msgId\": 123}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "execSql", + "seq": 10, + "request": { + "url": "http://127.0.0.1:19088/api/execSql", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"dbHandle\": 1713425147584,\"sql\": \"select * from MSG where localId =100;\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "forwardMsg", + "seq": 23, + "request": { + "url": "http://127.0.0.1:19088/api/forwardMsg", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"wxid\": \"filehelper\",\"msgId\": \"12331\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "forwardPublicMsg", + "seq": 30, + "request": { + "url": "http://127.0.0.1:19088/api/forwardPublicMsg", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"appName\": \"\",\"userName\": \"\",\"title\": \"\",\"url\": \"\",\"thumbUrl\": \"\",\"digest\": \"\",\"wxid\": \"filehelper\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "forwardPublicMsgByMsgId", + "seq": 31, + "request": { + "url": "http://127.0.0.1:19088/api/forwardPublicMsgByMsgId", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"msgId\": 123,\"wxid\": \"filehelper\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "getChatRoomDetailInfo", + "seq": 11, + "request": { + "url": "http://127.0.0.1:19088/api/getChatRoomDetailInfo", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"chatRoomId\": \"123333@chatroom\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "getContactList", + "seq": 8, + "request": { + "url": "http://127.0.0.1:19088/api/getContactList", + "method": "POST", + "headers": [], + "params": [], + "body": { + "mode": "text", + "text": "{}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "getContactProfile", + "seq": 28, + "request": { + "url": "http://127.0.0.1:19088/api/getContactProfile", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"wxid\": \"wxid_123\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "getDBInfo", + "seq": 9, + "request": { + "url": "http://127.0.0.1:19088/api/getDBInfo", + "method": "POST", + "headers": [], + "params": [], + "body": { + "mode": "text", + "text": "{}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "getMemberFromChatRoom", + "seq": 18, + "request": { + "url": "http://127.0.0.1:19088/api/getMemberFromChatRoom", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"chatRoomId\": \"123@chatroom\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "getSNSFirstPage", + "seq": 24, + "request": { + "url": "http://127.0.0.1:19088/api/getSNSFirstPage", + "method": "POST", + "headers": [], + "params": [], + "body": { + "mode": "text", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "getSNSNextPage", + "seq": 25, + "request": { + "url": "http://127.0.0.1:19088/api/getSNSNextPage", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"snsId\": \"\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "getVoiceByMsgId", + "seq": 34, + "request": { + "url": "http://127.0.0.1:19088/api/getVoiceByMsgId", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"msgId\": 7880439644200,\"storeDir\": \"c:\\test\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "hookLog", + "seq": 19, + "request": { + "url": "http://127.0.0.1:19088/api/hookLog", + "method": "POST", + "headers": [], + "params": [], + "body": { + "mode": "text", + "text": "{}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "hookSyncMsg", + "seq": 6, + "request": { + "url": "http://127.0.0.1:19088/api/hookSyncMsg", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"port\": \"19099\",\"ip\": \"127.0.0.1\",\"url\": \"http://localhost:8080\",\"timeout\": \"3000\",\"enableHttp\": \"0\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "InviteMemberToChatRoom", + "seq": 17, + "request": { + "url": "http://127.0.0.1:19088/api/InviteMemberToChatRoom", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"chatRoomId\": \"123@chatroom\",\"memberIds\": \"wxid_123\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "modifyNickname", + "seq": 14, + "request": { + "url": "http://127.0.0.1:19088/api/modifyNickname", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"chatRoomId\": \"123@chatroom\",\"wxid\": \"wxid_123\",\"nickName\": \"test\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "quitChatRoom", + "seq": 22, + "request": { + "url": "http://127.0.0.1:19088/api/quitChatRoom", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"chatRoomId\": \"123@chatroom\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "removeTopMsg", + "seq": 16, + "request": { + "url": "http://127.0.0.1:19088/api/removeTopMsg", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"chatRoomId\": \"123@chatroom\",\"msgId\": 123}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "sendAtText", + "seq": 29, + "request": { + "url": "http://127.0.0.1:19088/api/sendAtText", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"wxids\": \"notify@all\",\"chatRoomId\": \"123@chatroom\",\"msg\": \"你好啊\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "sendFileMsg", + "seq": 5, + "request": { + "url": "http://127.0.0.1:19088/api/sendFileMsg", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"wxid\": \"filehelper\",\"filePath\": \"C:\\\\test.zip\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "sendImagesMsg", + "seq": 4, + "request": { + "url": "http://127.0.0.1:19088/api/sendImagesMsg", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"wxid\": \"filehelper\",\"imagePath\": \"C:\\pic.png\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "sendTextMsg", + "seq": 3, + "request": { + "url": "http://127.0.0.1:19088/api/sendTextMsg", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"wxid\": \"filehelper\",\"msg\": \"test\"}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "topMsg", + "seq": 15, + "request": { + "url": "http://127.0.0.1:19088/api/topMsg", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\"msgId\": 1222222}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "unhookLog", + "seq": 20, + "request": { + "url": "http://127.0.0.1:19088/api/unhookLog", + "method": "POST", + "headers": [], + "params": [], + "body": { + "mode": "text", + "text": "{}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "unhookSyncMsg", + "seq": 7, + "request": { + "url": "http://127.0.0.1:19088/api/unhookSyncMsg", + "method": "POST", + "headers": [], + "params": [], + "body": { + "mode": "text", + "text": "{}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "userInfo", + "seq": 2, + "request": { + "url": "http://127.0.0.1:19088/api/userInfo", + "method": "POST", + "headers": [], + "params": [], + "body": { + "mode": "json", + "json": "{}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "verifyApply", + "seq": 36, + "request": { + "url": "http://127.0.0.1:19088/api/verifyApply", + "method": "POST", + "headers": [], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"v3\": \"encryptUsernameValue\",\n \"v4\": \"ticketc\",\n \"permission\": true\n}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + }, + { + "type": "http", + "name": "confirmReceipt", + "seq": 37, + "request": { + "url": "http://127.0.0.1:19088/api/confirmReceipt", + "method": "POST", + "headers": [], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"wxid\": \"wxid_123456\",\n \"transcationId\": \"ticketc\",\n \"transferId\": true\n}", + "formUrlEncoded": [], + "multipartForm": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "auth": { + "mode": "none" + } + } + } + ], + "environments": [], + "brunoConfig": { + "version": "1", + "name": "Wechat Hook 395", + "type": "collection", + "ignore": [ + "node_modules", + ".git" + ] + } +} \ No newline at end of file