RE: Skryptec's Instagram Username Checker - CHECK IF IT IS AVAILABLE! 11-19-2016, 10:47 PM
#18
(11-19-2016, 10:16 PM)lux Wrote: Since I'm gay I remade your c# program in a bash script.
Code:if [[ $(curl -sS 'https://www.instagram.com/accounts/web_create_ajax/attempt/' \  -H 'origin: https://www.instagram.com' \  -H 'accept-encoding: gzip, deflate, br' \  -H 'x-requested-with: XMLHttpRequest' \  -H 'x-csrftoken: 111' \  -H 'cookie:mid=111; ig_pr=2; ig_vw=632; csrftoken=111' \  -H 'x-instagram-ajax: 1' \  -H 'content-type: application/x-www-form-urlencoded' \  -H 'accept: */*' \  -H 'referer: https://www.instagram.com/' \  -H 'authority: www.instagram.com'\  -H 'dnt: 1' \  --data 'email=&password=&username='$1'&first_name=' \  --compressed | json_pp | grep username) = *"taken"* ]]; then  echo "Username is taken yo" else  echo "It's your lucky day dawg, that username is free" fi
Put this in a file, chmod it, and run via ./script.sh someusername
Wow, why do you bash my stuff?








![[Image: oAqtc2l.png]](https://i.imgur.com/oAqtc2l.png)
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)