Skip to content

Instantly share code, notes, and snippets.

@kemelzaidan
Created December 13, 2013 17:56
Show Gist options
  • Save kemelzaidan/7948357 to your computer and use it in GitHub Desktop.
Save kemelzaidan/7948357 to your computer and use it in GitHub Desktop.
Really simple shell script to query spammers at the stopforumspam.com API
#!/bin/bash
###############################################################################
#
# script simples que pega os atributos passados como email e consulta na API
# stopforumspam.com se o email enviado é spam ou não
#
# Licença GPL v3
# Autor: Kemel Zaidan
# email: kemelzaidan arroba gmail ponto com
###############################################################################
for i in $@; do
echo ""
RESPOSTA=`lynx -dump http://www.stopforumspam.com/api?email=$i | cut -d' ' -f 6`
echo -e "\t$i ${RESPOSTA}"
echo ""
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment