Skip to content

Instantly share code, notes, and snippets.

@creativepsyco
Created October 28, 2014 05:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creativepsyco/73bfd0fe0229b8271e83 to your computer and use it in GitHub Desktop.
Save creativepsyco/73bfd0fe0229b8271e83 to your computer and use it in GitHub Desktop.
Bash file stupid
#!/bin/bash
# Run this in the terminal and keep waiting for the response.
for i in `seq 1 1000000`;
do
echo $i
curl 'http://giphy.com/ajax/contest/vote' -H 'Cookie: __qca=P0-1475105941-1414474206710; _cb_ls=1; __asc=949617dd149553b8dfc7f2b22f2; __auc=949617dd149553b8dfc7f2b22f2; __utma=157163181.13407325.1414474207.1414474207.1414474207.1; __utmb=157163181.2.10.1414474207; __utmc=157163181; __utmz=157163181.1414474207.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _chartbeat2=851IKu1DUaBZ3vbj.1414474208673.1414474469947.1' -H 'X-NewRelic-ID: VwQBUlZWGwEAVlJSAwI=' -H 'Origin: http://giphy.com' -H 'Accept-Encoding: gzip,deflate' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.104 Safari/537.36' -H 'Content-Type: application/x-www-form-urlencoded; charset=UTF-8' -H 'Accept: */*' -H 'Referer: http://giphy.com/stickershop/sticker/a2FpeWVlLnRheUBnbWFpbC5jb20' -H 'X-CSRFToken: undefined' -H 'X-Requested-With: XMLHttpRequest' -H 'Connection: keep-alive' --data 'sticker_id=MDcyNWMxMDIt' --compressed
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment