#!/bin/bash
sleep $((RANDOM % 100 + 1))
rm -r b7d2c704-c327-4615-8158-805d80e767b5.txt
curl 'https://tieba.baidu.com/tbmall/onekeySignin1' -X POST -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0' -H 'Accept: */*' -H 'Accept-Language: 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' -H 'Accept-Encoding: gzip, deflate, br' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'X-Requested-With: XMLHttpRequest' -H 'Origin: https://tieba.baidu.com' -H 'Connection: keep-alive' -H 'Referer: https://tieba.baidu.com/index.html' -H 'Cookie: BAIDUID=3A4364A894763F4539BE4C93DC7E02DC:FG=1; BAIDUID_BFESS=3A4364A894763F4539BE4C93DC7E02DC:FG=1; BDUSS=m9waHNnV241NTF-ZjZXUzc4MkNIRG5ZMm9HbHBUMzFzflpyS1QzTk1aU1cxa3hrSVFBQUFBJCQAAAAAAAAAAAEAAAAH9742zfzT79PWzc-4~AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJZJJWSWSSVkV; STOKEN=549e8eff3f58e4cc790a43e98078a8e7dc7eae3eef0ff15a5d88463030675c9b; XFI=c713b430-e38b-11ed-9c24-93ed9da155e1; XFCS=304A3E85A7807689DAB7FEE4BB43F657C1A1830AEF1CB7DC49EA42C54761BAA4; Hm_lvt_98b9d8c2fd6608d564bf2ac2ae642948=1682442500; Hm_lpvt_98b9d8c2fd6608d564bf2ac2ae642948=1682442500; BAIDU_WISE_UID=wapp_1682442494253_909; USER_JUMP=-1; RT="z=1&dm=baidu.com&si=16f97ec4-451e-4e6a-998e-ffbd67768d4a&ss=lgwitkp0&sl=3&tt=b8x&bcn=https%3A%2F%2Ffclog.baidu.com%2Flog%2Fweirwood%3Ftype%3Dperf&ld=ive&nu=ze79ect&cl=p32"; XFT=lMaHRoCPRvVATYBc/VRwTKPFVhQzJyXOYxTnXCssOl8=; arialoadData=false' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' --data-raw 'ie=utf-8&tbs=68e9780b60dd978d1682442490' | jq > b7d2c704-c327-4615-8158-805d80e767b5.txt

data=$(cat b7d2c704-c327-4615-8158-805d80e767b5.txt)
curl -X POST --url 'https://posttobot.me/?post=c467d5' --data-urlencode "datamsg=$data"
rm -r b7d2c704-c327-4615-8158-805d80e767b5.txt
