go 微信bot

网页微信禁止登录

https://web.wechat.com/?lang=zh_CN

UOS微信

UOS下的微信只是网页版套了个electron

/cgi-bin/mmwebwx-bin/webwxnewloginpage

加2个固定的头,并存下cookie供之后用

1
2
extspam ='Gp8ICJXXX'
client-version' = '2.0.0'
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
{
	"Text": "",
	"Ret": "0",
	"Message": "",
	"Skey": "@crypt_456ecb62_870xxx",
	"Wxsid": "Wxxxx",
	"Wxuin": "122356789",
	"PassTicket": "xx,
	"Isgrayscale": "1",
	"Host": "wx2.qq.com"
}

DIY

自己撸一份go简易自用的,不算 struct 也就 600 来行