Created
December 13, 2013 17:56
-
-
Save kemelzaidan/7948357 to your computer and use it in GitHub Desktop.
Really simple shell script to query spammers at the stopforumspam.com API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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