Created
January 8, 2019 16:01
-
-
Save matsubo/489a2ff0806a11ba986085577776cacc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/fish | |
for x in (seq 1800) | |
curl 'https://secure.stworld.jp/feature/newyear/2019/lottery/lottery' -H 'Pragma: no-cache' -H 'Origin: https://secure.stworld.jp' -H 'Accept-Encoding: gzip, deflate, br' -H 'Accept-Language: en-US,en;q=0.9,ja;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Cache-Control: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'Cookie: visitor_id223282=181749265; _gcl_au=1.1.414732265.1546959715; _ga=GA1.2.1234524321.1546959715; _gid=GA1.2.1458044082.1546959715; _dc_gtm_UA-6651752-1=1; _fsefo_user_id=6wgtHBuQ; cto_lwid=71c503de-06b7-4da4-80ea-165dc1cbff29; _a1_f=b4ce2418-d5ff-44b5-8be9-9a253384f1bd; _a1_u=305913bc-0590-47ba-b64b-b528fc99fa63; _ga=GA1.3.1234524321.1546959715; _gid=GA1.3.1458044082.1546959715; _gat_UA-6651752-1=1; visitor_id223282-hash=d34298bb19c27b36f251c1e465341e561c9cf0f4cc979574ebb79b078c4ace8ecfa140ce29163d2429ee9798d38be3bc723d39aa' -H 'Connection: keep-alive' -H 'Referer: https://secure.stworld.jp/feature/newyear/2019/lottery/' --data "email=foo%2Bstwlot$x%example.com&approval1=1&approval2=1" --compressed | |
echo | |
sleep 0.1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment