95 Star 186 Fork 67

kongkong / monitor-http-server

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
send.sh 1.93 KB
Copy Edit Web IDE Raw Blame History
2011-181 authored 2015-03-27 16:14 . first commit
#!/bin/bash
content=$1
echo "content="$content
if [ $# != 1 ]; then
echo "content cannot be null!"
exit;
fi
curl 'https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxsendmsg?sid=N2xXpiFdBcLa4xEu&skey=%40crypt_3fff6256_a589d7d18e8fbfe2aa3aba7fb3e6ab45&r=1427423055290&skey=%40crypt_3fff6256_a589d7d18e8fbfe2aa3aba7fb3e6ab45&pass_ticket=hsPdq2imG1%2F%2FhWxKG6pVy7EVnQ3TjI2j40AqKItD0AsegzedMz75t4M4g8vM9C3N' -H 'Cookie: webwxuvid=ee9cc96732ddb97a427d81236c5759f0633292ab2f2f4e9017394be29d20bbe0b0c977c703daa51e9b8f9cf196223f75; ptui_loginuin=996712342; o_cookie=996712342; pt2gguin=o0996712342; uin=o0996712342; skey=@0jfL6beaj; ptisp=cnc; RK=pL1uqkdMWP; ptcz=a74655fcba43078f4971adc16c8709de06bfe89b73e0eeabf6d66386a1016fe3; FTN5K=6d0e2e52; pgv_info=ssid=s6066484172; pgv_pvid=2594152118; verifysession=h011febe5a9b6476927b897e1604a86c6a19f69e3c5c42614d5e4e7111fd6ece1823852adb4b4781b08; pgv_pvi=3434429440; pgv_si=s463625216; mm_lang=zh_CN; wxstaytime=1427422713; wxloadtime=1427422713_expired; wxpluginkey=1427417199; wxuin=1109394060; wxsid=N2xXpiFdBcLa4xEu; webwx_data_ticket=AQaJZC9QXLfrxc1sWMzPNAIB' -H 'Origin: https://wx.qq.com' -H 'Accept-Encoding: gzip, deflate' -H 'Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,zh-TW;q=0.4' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.104 Safari/537.36' -H 'Content-Type: application/json; charset=UTF-8' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Referer: https://wx.qq.com/?&lang=zh_CN' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' --data-binary '{"BaseRequest":{"Uin":1109394060,"Sid":"N2xXpiFdBcLa4xEu","Skey":"@crypt_3fff6256_a589d7d18e8fbfe2aa3aba7fb3e6ab45","DeviceID":"e830592705059319"},"Msg":{"FromUserName":"@432d2bf1122226eec97c1703a9d5930d","ToUserName":"@@af688dc98d19732f64f695a7ff9cb13ca8c83ec8664c09d871ad35135223a660","Type":1,"Content":"1234","ClientMsgId":1427423055289,"LocalID":1427423055289}}' --compressed

Comment ( 0 )

Sign in for post a comment

Java
1
https://gitee.com/yeetrack/monitor-http-server.git
git@gitee.com:yeetrack/monitor-http-server.git
yeetrack
monitor-http-server
monitor-http-server
master

Search