areyou_antibot.sh 225 B

1234567891011121314
  1. #!/bin/bash
  2. #OUT=`toot followers $1 | grep $2 | awk -F' ' '{print $2}'`
  3. OUT=`toot whois $1 | grep nobot | sed -e "s/ //g"`
  4. echo $OUT
  5. #echo $OUT
  6. #echo $OUT
  7. if [ -z $OUT ]; then
  8. echo "no";
  9. exit 0;
  10. else
  11. echo "yes";
  12. exit 1;
  13. fi