Skip to content

Instantly share code, notes, and snippets.

@r4hul-in
Created November 20, 2016 11:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save r4hul-in/58fe973e031a6803cfcfeb7c2c1d7709 to your computer and use it in GitHub Desktop.
Save r4hul-in/58fe973e031a6803cfcfeb7c2c1d7709 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