Skip to content

Instantly share code, notes, and snippets.

@mayeaux
Forked from r4hul-in/index.sh
Created October 5, 2017 19:13
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 mayeaux/34b4d32b9185e8e6b0fbdff221c1fe31 to your computer and use it in GitHub Desktop.
Save mayeaux/34b4d32b9185e8e6b0fbdff221c1fe31 to your computer and use it in GitHub Desktop.
follow everyone on gab
#!/bin/bash
# follow everyone on gab.ai easily
# this may or may not break at any time, as this api is unofficial/undocumented/whatever you want to call it.
# insert your cookies into /tmp/cookies
# you can extract them using EditThisCookie, in the Netscape HTTP cokie format.
# limited to first 10000 users on gab, change the number in $(seq if there are more users in the future
# of course, 200 = success, anything else = failure
for i in $(seq 10000)
do
curl -o /dev/null --silent --head --write-out '%{http_code} -' -X POST --cookie /tmp/cookie https://gab.ai/users/$i/follow
printf " $i\n"
sleep 1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment