Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.